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
graphicsGraphicsA Graphics used to draw node.
nodeBoundsRectangleA Rectangle that represents the bounds of the node to draw.
isSelectedboolNode in the selected state.
isExpandedboolNode in the expanded state.
isEditingboolNode in the editing state.
componentIComponentIComponent which this node is related to.
textstringThe text displayed in the label of the node.
imageImageThe image displayed in the node.
nestingLevelintThe zero-based depth of the node in the outline control.
hasChildrenboolNode has children nodes.