External/Aga.Controls/Tree/NodeControlInfo.cs
author moel.mich
Mon, 01 Oct 2012 17:10:09 +0000
changeset 381 ed5d5fc482ed
permissions -rw-r--r--
Changed a few types to internal (instead of public) in the Open Hardware Monitor library.
     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 }