Skip to main content
A newer version of this page is available. .

NavigatorButtonBase.ImageIndex Property

Gets or sets the index of the image to display within the button.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v19.2.dll

Declaration

[DefaultValue(-1)]
[ImageList("ImageList")]
[DXCategory("Appearance")]
public int ImageIndex { get; set; }

Property Value

Type Default Description
Int32 -1

An integer value which specifies the zero-based index of the image within the source collection.

Remarks

The source of images is specified by the NavigatorButtonsBase.ImageList property.

The following code snippets (auto-collected from DevExpress Examples) contain references to the ImageIndex property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also