예제 #1
0
 public ReorderColumnState(TreeViewAdv tree, TreeColumn column, Point initialMouseLocation)
     : base(tree, column)
 {
     _location = new Point(initialMouseLocation.X + Tree.OffsetX, 0);
     _dragOffset = tree.GetColumnX(column) - initialMouseLocation.X;
     _ghostImage = column.CreateGhostImage(new Rectangle(0, 0, column.Width, tree.ColumnHeaderHeight), tree.Font);
 }
예제 #2
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));
 }
예제 #3
0
파일: InputState.cs 프로젝트: Tokter/TokED
 public InputState(TreeViewAdv tree)
 {
     _tree = tree;
 }
예제 #4
0
 public ResizeColumnState(TreeViewAdv tree, TreeColumn column, Point p)
     : base(tree, column)
 {
     _initLocation = p;
     _initWidth = column.Width;
 }
예제 #5
0
 public InputWithShift(TreeViewAdv tree)
     : base(tree)
 {
 }
예제 #6
0
 public IncrementalSearch(TreeViewAdv tree)
 {
     _tree = tree;
 }
예제 #7
0
 public NormalInputState(TreeViewAdv tree)
     : base(tree)
 {
 }
예제 #8
0
 public InputWithControl(TreeViewAdv tree)
     : base(tree)
 {
 }
예제 #9
0
 public FixedRowHeightLayout(TreeViewAdv treeView, int rowHeight)
 {
     _treeView = treeView;
     PreferredRowHeight = rowHeight;
 }
예제 #10
0
파일: ColumnState.cs 프로젝트: Tokter/TokED
 public ColumnState(TreeViewAdv tree, TreeColumn column)
     : base(tree)
 {
     _column = column;
 }
예제 #11
0
 public ClickColumnState(TreeViewAdv tree, TreeColumn column, Point location)
     : base(tree, column)
 {
     _location = location;
 }