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
- graphicsGraphics
- A Graphics used to draw node. 
- nodeBoundsRectangle
- A Rectangle that represents the bounds of the node to draw. 
- isSelectedbool
- Node in the selected state. 
- isExpandedbool
- Node in the expanded state. 
- isEditingbool
- Node in the editing state. 
- componentIComponent
- IComponent which this node is related to. 
- textstring
- The text displayed in the label of the node. 
- imageImage
- The image displayed in the node. 
- nestingLevelint
- The zero-based depth of the node in the outline control. 
- hasChildrenbool
- Node has children nodes.