Files
CarlMonitor/LibreHardwareMonitor-0.9.4/Aga.Controls/Tree/NodeControlInfo.cs
2025-04-07 07:44:27 -07:00

39 lines
726 B
C#

using System;
using System.Collections.Generic;
using System.Text;
using Aga.Controls.Tree.NodeControls;
using System.Drawing;
namespace Aga.Controls.Tree
{
public struct NodeControlInfo
{
public static readonly NodeControlInfo Empty = new NodeControlInfo(null, Rectangle.Empty, null);
private NodeControl _control;
public NodeControl Control
{
get { return _control; }
}
private Rectangle _bounds;
public Rectangle Bounds
{
get { return _bounds; }
}
private TreeNodeAdv _node;
public TreeNodeAdv Node
{
get { return _node; }
}
public NodeControlInfo(NodeControl control, Rectangle bounds, TreeNodeAdv node)
{
_control = control;
_bounds = bounds;
_node = node;
}
}
}