Skip to main content

CustomDrawNodeIndicatorEventArgs.IsNodeIndicator Property

Gets a value indicating whether the painted indicator cell corresponds to a node or to a row footer.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v23.2.dll

NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.TreeList

Declaration

public bool IsNodeIndicator { get; }

Property Value

Type Description
Boolean

true if the painted cell corresponds to a node; otherwise false.

Remarks

Use the IsNodeIndicator property to distinguish between indicator cells corresponding to nodes and row footers. This can be used to perform different painting for these kinds of indicator cells. Another way to use this property is to perform custom painting of indicator cells corresponding to nodes or to row footers only. Modify the CustomDrawEventArgs.Handled property with respect to the IsNodeIndicator property value to perform this.

If an indicator cell corresponds to a row footer, its associated node is the parent for nodes whose row footer is displayed. Use the Node property to access an indicator cells associated node.

See Also