示例#1
0
 public ResizeColumnState(TreeViewAdv tree, TreeColumn column, Point p)
     : base(tree)
 {
     _column = column;
     _initLocation = p;
     _initWidth = column.Width;
 }
示例#2
0
 public TreeColumnEventArgs(TreeColumn column)
 {
     _column = column;
 }
示例#3
0
 internal void OnColumnWidthChanged(TreeColumn column)
 {
     if (ColumnWidthChanged != null)
         ColumnWidthChanged(this, new TreeColumnEventArgs(column));
 }
示例#4
0
 internal void OnColumnReordered(TreeColumn column)
 {
     if (ColumnReordered != null)
         ColumnReordered(this, new TreeColumnEventArgs(column));
 }
示例#5
0
 internal void ChangeColumnWidth(TreeColumn column)
 {
     if (!(_input is ResizeColumnState))
     {
         FullUpdate();
         OnColumnWidthChanged(column);
     }
 }