Exemple #1
0
        public BandedViewBehavior()
        {
#if !SILVERLIGHT
            TemplatesContainer = new TemplatesContainer();
#endif
            ColumnDefinitions = new ColumnDefinitions();
            RowDefinitions    = new RowDefinitions();
        }
Exemple #2
0
        public Thickness GetColumnHeaderMargin(ColumnBase column)
        {
            Thickness res = new Thickness();

            if (GetIsBottomColumn(column))
            {
                res = TemplatesContainer.GetBottomColumnHeaderIndent();
            }
            else if (GetIsTopColumn(column))
            {
                res = TemplatesContainer.GetTopColumnHeaderIndent();
            }
            else
            {
                res = TemplatesContainer.GetMiddleColumnHeaderIndent();
            }
            return(res);
        }