External/Aga.Controls/Tree/NodeControlInfo.cs
author sl
Thu, 01 Jan 2015 23:35:49 +0100
changeset 405 5715aefd2bcc
permissions -rw-r--r--
SharpDisplay: Migrating to new robust client scheme.
     1 using System;
     2 using System.Collections.Generic;
     3 using System.Text;
     4 using Aga.Controls.Tree.NodeControls;
     5 using System.Drawing;
     6 
     7 namespace Aga.Controls.Tree
     8 {
     9 	public struct NodeControlInfo
    10 	{
    11 		public static readonly NodeControlInfo Empty = new NodeControlInfo(null, Rectangle.Empty, null);
    12 
    13 		private NodeControl _control;
    14 		public NodeControl Control
    15 		{
    16 			get { return _control; }
    17 		}
    18 
    19 		private Rectangle _bounds;
    20 		public Rectangle Bounds
    21 		{
    22 			get { return _bounds; }
    23 		}
    24 
    25 		private TreeNodeAdv _node;
    26 		public TreeNodeAdv Node
    27 		{
    28 			get { return _node; }
    29 		}
    30 
    31 		public NodeControlInfo(NodeControl control, Rectangle bounds, TreeNodeAdv node)
    32 		{
    33 			_control = control;
    34 			_bounds = bounds;
    35 			_node = node;
    36 		}
    37 	}
    38 }