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

48 lines
861 B
C#

using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
using System.Drawing;
using Aga.Controls.Tree.NodeControls;
namespace Aga.Controls.Tree
{
public struct EditorContext
{
private TreeNodeAdv _currentNode;
public TreeNodeAdv CurrentNode
{
get { return _currentNode; }
set { _currentNode = value; }
}
private Control _editor;
public Control Editor
{
get { return _editor; }
set { _editor = value; }
}
private NodeControl _owner;
public NodeControl Owner
{
get { return _owner; }
set { _owner = value; }
}
private Rectangle _bounds;
public Rectangle Bounds
{
get { return _bounds; }
set { _bounds = value; }
}
private DrawContext _drawContext;
public DrawContext DrawContext
{
get { return _drawContext; }
set { _drawContext = value; }
}
}
}