1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/External/Aga.Controls/Tree/NodeControlInfo.cs Sun May 27 15:16:19 2012 +0000
1.3 @@ -0,0 +1,38 @@
1.4 +using System;
1.5 +using System.Collections.Generic;
1.6 +using System.Text;
1.7 +using Aga.Controls.Tree.NodeControls;
1.8 +using System.Drawing;
1.9 +
1.10 +namespace Aga.Controls.Tree
1.11 +{
1.12 + public struct NodeControlInfo
1.13 + {
1.14 + public static readonly NodeControlInfo Empty = new NodeControlInfo(null, Rectangle.Empty, null);
1.15 +
1.16 + private NodeControl _control;
1.17 + public NodeControl Control
1.18 + {
1.19 + get { return _control; }
1.20 + }
1.21 +
1.22 + private Rectangle _bounds;
1.23 + public Rectangle Bounds
1.24 + {
1.25 + get { return _bounds; }
1.26 + }
1.27 +
1.28 + private TreeNodeAdv _node;
1.29 + public TreeNodeAdv Node
1.30 + {
1.31 + get { return _node; }
1.32 + }
1.33 +
1.34 + public NodeControlInfo(NodeControl control, Rectangle bounds, TreeNodeAdv node)
1.35 + {
1.36 + _control = control;
1.37 + _bounds = bounds;
1.38 + _node = node;
1.39 + }
1.40 + }
1.41 +}