External/Aga.Controls/Tree/NodeControlInfo.cs
author StephaneLenclud
Tue, 03 Feb 2015 10:14:18 +0100
branchMiniDisplay
changeset 450 f2d8620e2434
permissions -rw-r--r--
Rebracer update.
     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 }