External/Aga.Controls/Tree/NodeControlInfo.cs
author moel.mich
Sun, 27 May 2012 15:16:19 +0000
changeset 345 0c551e8818e0
permissions -rw-r--r--
Added the source code of Aga.Controls (TreeViewAdv for .Net) version 1.7.0.0.
     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 }