External/Aga.Controls/Tree/NodeControlInfo.cs
author moel.mich
Sun, 27 May 2012 16:50:01 +0000
changeset 347 d043dac9f34e
permissions -rw-r--r--
Added the source code of the WinRing0 device driver.
     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 }