Added the source code of Aga.Controls (TreeViewAdv for .Net) version 1.7.0.0.
2 using System.Collections.Generic;
5 using Aga.Controls.Tree.NodeControls;
7 namespace Aga.Controls.Tree
9 public struct DrawContext
11 private Graphics _graphics;
12 public Graphics Graphics
14 get { return _graphics; }
15 set { _graphics = value; }
18 private Rectangle _bounds;
19 public Rectangle Bounds
21 get { return _bounds; }
22 set { _bounds = value; }
29 set { _font = value; }
32 private DrawSelectionMode _drawSelection;
33 public DrawSelectionMode DrawSelection
35 get { return _drawSelection; }
36 set { _drawSelection = value; }
39 private bool _drawFocus;
42 get { return _drawFocus; }
43 set { _drawFocus = value; }
46 private NodeControl _currentEditorOwner;
47 public NodeControl CurrentEditorOwner
49 get { return _currentEditorOwner; }
50 set { _currentEditorOwner = value; }
53 private bool _enabled;
56 get { return _enabled; }
57 set { _enabled = value; }