Пример #1
0
 public ResizeColumnState(TreeViewAdv tree, TreeColumn column, Point p)
     : base(tree)
 {
     _column = column;
     _initLocation = p;
     _initWidth = column.Width;
 }
Пример #2
0
 internal TreeNodeAdv(TreeViewAdv tree, object tag)
 {
     _row = -1;
     _tree = tree;
     _nodes = new Collection<TreeNodeAdv>();
     _children = new ReadOnlyCollection<TreeNodeAdv>(_nodes);
     _tag = tag;
 }
Пример #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));
 }
Пример #4
0
 public NormalInputState(TreeViewAdv tree)
     : base(tree)
 {
 }
Пример #5
0
 public FixedRowHeightLayout(TreeViewAdv treeView, int rowHeight)
 {
     _treeView = treeView;
     PreferredRowHeight = rowHeight;
 }
Пример #6
0
 public InputWithShift(TreeViewAdv tree)
     : base(tree)
 {
 }