Table of Contents

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 Graphics

A Graphics used to draw node.

nodeBounds Rectangle

A Rectangle that represents the bounds of the node to draw.

isSelected bool

Node in the selected state.

isExpanded bool

Node in the expanded state.

isEditing bool

Node in the editing state.

component IComponent

IComponent which this node is related to.

text string

The text displayed in the label of the node.

image Image

The image displayed in the node.

nestingLevel int

The zero-based depth of the node in the outline control.

hasChildren bool

Node has children nodes.