CustomDrawNodeIndicatorEventArgs.ImageIndex Property
Gets or sets the index of an image to be painted in the indicator cell.
Namespace: DevExpress.XtraTreeList
Assembly: DevExpress.XtraTreeList.v26.1.dll
NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.TreeList
Declaration
Property Value
| Type | Description |
|---|---|
| Int32 | The index of an image to be painted in the indicator cell. -1 if no image is displayed. |
Remarks
An indicator cell can display one of three predefined images according to a node’s edit state. These images are accessible from the TreeListPainter.IndicatorImages collection. The ImageIndex property specifies the displayed image by its index. Supported image indexes are shown in the table below.
| Image Index | Node Edit State |
|---|---|
| -1 | Not focused. |
| TreeListPainter.EditorIsInactiveIndicatorImageIndex constant | A node is not being edited. |
| TreeListPainter.EditorIsActiveIndicatorImageIndex constant | The focused cell’s editor is active, but the editor’s value has not been changed yet. |
| TreeListPainter.EditorIsModifiedIndicatorImageIndex constant | The editor’s value has been changed, but the editor hasn’t been closed. |
See Also