Constructor OutlineTreeNodePaintData
- Namespace
- Alternet.FormDesigner.WinForms.Outline
- Assembly
- Alternet.FormDesigner.v10.dll
OutlineTreeNodePaintData(Graphics, Rectangle, bool, bool, bool, IComponent, string, Image, int, bool)
Initializes a new instance of the OutlineTreeNodePaintData
class with specified parameters.
public OutlineTreeNodePaintData(Graphics graphics, Rectangle nodeBounds, bool isSelected, bool isExpanded, bool isEditing, IComponent component, string text, Image image, int nestingLevel, bool hasChildren)
Parameters
graphics
GraphicsA Graphics used to draw node.
nodeBounds
RectangleA Rectangle that represents the bounds of the node to draw.
isSelected
boolNode in the selected state.
isExpanded
boolNode in the expanded state.
isEditing
boolNode in the editing state.
component
IComponentIComponent which this node is related to.
text
stringThe text displayed in the label of the node.
image
ImageThe image displayed in the node.
nestingLevel
intThe zero-based depth of the node in the outline control.
hasChildren
boolNode has children nodes.