Example #1
0
 public ResizeColumnState(TreeViewAdv tree, TreeColumn column, Point p)
     : base(tree)
 {
     _column = column;
     _initLocation = p;
     _initWidth = column.Width;
 }
Example #2
0
 internal TreeNodeAdv(TreeViewAdv tree, object tag)
 {
     _row = -1;
     _tree = tree;
     _nodes = new Collection<TreeNodeAdv>();
     _children = new ReadOnlyCollection<TreeNodeAdv>(_nodes);
     _tag = tag;
 }
Example #3
0
 public AutoRowHeightLayout(TreeViewAdv treeView, int rowHeight)
 {
     _rowCache = new List<Rectangle>();
     _treeView = treeView;
     PreferredRowHeight = rowHeight;
     _measureContext = new DrawContext();
     _measureContext.Graphics = Graphics.FromImage(new Bitmap(1, 1));
 }
Example #4
0
 public NormalInputState(TreeViewAdv tree)
     : base(tree)
 {
 }
Example #5
0
 public FixedRowHeightLayout(TreeViewAdv treeView, int rowHeight)
 {
     _treeView = treeView;
     PreferredRowHeight = rowHeight;
 }
Example #6
0
 public InputWithShift(TreeViewAdv tree)
     : base(tree)
 {
 }