TcxTreeListNode.StateIndex Property
Specifies the state image for the node.
Declaration
property StateIndex: TcxImageIndex index 2 read; write;
Property Value
Type |
---|
TcxImageIndex |
Remarks
State images are used to specify the application-specific states of the node.
These images are stored in the StateImages collections.
For different tree list controls, images are specified in the following ways:
The TcxVirtualTreeList control – handle the tree list’s OnGetNodeImageIndex event to apply node images.
The TcxDBTreeList control – images can be specified using either the tree list’s DataController.StateIndexField property or the OnGetNodeImageIndex event.
The TcxTreeList control – images can be specified directly via the StateIndex property or using the tree list’s OnGetNodeImageIndex event.
See Also