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.v22.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(-1)]
[DXCategory("Appearance")]
[ImageList("ImageList")]
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 snippet (auto-collected from DevExpress Examples) contains a reference 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