moel@345: using System; moel@345: using System.Collections.Generic; moel@345: using System.Text; moel@345: using Aga.Controls.Tree.NodeControls; moel@345: using System.Drawing; moel@345: moel@345: namespace Aga.Controls.Tree moel@345: { moel@345: public struct NodeControlInfo moel@345: { moel@345: public static readonly NodeControlInfo Empty = new NodeControlInfo(null, Rectangle.Empty, null); moel@345: moel@345: private NodeControl _control; moel@345: public NodeControl Control moel@345: { moel@345: get { return _control; } moel@345: } moel@345: moel@345: private Rectangle _bounds; moel@345: public Rectangle Bounds moel@345: { moel@345: get { return _bounds; } moel@345: } moel@345: moel@345: private TreeNodeAdv _node; moel@345: public TreeNodeAdv Node moel@345: { moel@345: get { return _node; } moel@345: } moel@345: moel@345: public NodeControlInfo(NodeControl control, Rectangle bounds, TreeNodeAdv node) moel@345: { moel@345: _control = control; moel@345: _bounds = bounds; moel@345: _node = node; moel@345: } moel@345: } moel@345: }