Esempio n. 1
0
        void Init(UIElement source)
        {
            GridColumnHeader = ((GridColumnHeader)source);
            ISupportDragDrop iSupportDragDrop = GridColumnHeader;

            SourceElement        = iSupportDragDrop.SourceElement;
            Column               = (GridColumn)GridColumnHeader.GetGridColumn(GridColumnHeader);
            ColumnsLayoutControl = BandedViewBehavior.GetColumnsLayoutControl(Column);
            View = (TableView)Column.View;
        }
        public override void ApplyResize(ColumnBase resizeColumn, double newWidth, double maxWidth, double indentWidth, bool correctWidths)
        {
            ColumnsLayoutControl c = BandedViewBehavior.GetColumnsLayoutControl(resizeColumn);

            c.Resize(resizeColumn, newWidth);
        }
Esempio n. 3
0
 public void Initialize(ColumnsLayoutControl owner)
 {
     Owner        = owner;
     BandBehavior = Owner.BandBehavior;
     View         = (TableView)Owner.View;
 }
Esempio n. 4
0
 internal static void SetColumnsLayoutControl(ColumnBase obj, ColumnsLayoutControl value)
 {
     obj.SetValue(ColumnsLayoutControlProperty, value);
 }