Source/AdvTree/Display/NodeRendererEventArgs.cs
(完整代码) 1KBusing System;
using System.Drawing;
using DevComponents.DotNetBar;
namespace DevComponents.AdvTree.Display
{
/// <summary>
/// Summary description for NodeRendererEventArgs.
/// </summary>
public class NodeRendererEventArgs:EventArgs
{
/// <summary>
/// Gets or sets reference to Graphics object, canvas node is rendered on.
/// </summary>
public System.Drawing.Graphics Graphics=null;
/// <summary>
/// Gets or sets the reference to Node object being rendered.
/// </summary>
public DevComponents.AdvTree.Node Node=null;
/// <summary>
/// Gets or sets the absolute node bounds.
/// </summary>
public Rectangle NodeBounds=Rectangle.Empty;
/// <summary>
/// Gets or sets the reference to element style for rendered node or cell. Style provided here is the style
/// for current node or cell state.
/// </summary>
public ElementStyle Style=null;
/// <summary>
/// Creates new instance of the class.
/// </summary>
public NodeRendererEventArgs()
{
}
public NodeRendererEventArgs(Graphics g, Node node, Rectangle bounds, ElementStyle style)
{
this.Graphics = g;
this.Node = node;
this.NodeBounds = bounds;
this.Style = style;
}
}
}
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。