Skip to main content

TcxSchedulerNavigatorButton.ImageIndex Property

Specifies an index of the bitmap used to draw the current resource navigation button.

Declaration

property ImageIndex: Integer read; write; default -1;

Property Value

Type
Integer

Remarks

Use this property to specify the index of the image used to draw the current resource navigation button’s glyph. If the ImageIndex property is set to -1 and the current button is the built-in button, then the built-in (internal) image is used to draw the button. The built-in button is drawn as a blank button if the value of the ImageIndex property is set to 0 or greater and a user-defined image collection was not specified (see the TcxSchedulerResourceNavigator.ButtonImages property). The custom button is drawn as a blank button if the ImageIndex property is set to -1 or the ImageIndex property is set to 0 or greater and a user-defined image collection was not specified.

The default value of the ImageIndex property is -1.

See Also