Files
mirror-processhacker/trunk/TreeViewAdv/Tree/EditorContext.cs
T
wj32 3a5a6818ee add TreeViewAdv code
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@339 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2008-12-19 23:19:42 +00:00

48 lines
908 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; }
}
}
}