Skip to main content

SimpleButton.ImageList Property

Gets or sets the source of images to be displayed within the button.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[Browsable(false)]
[DefaultValue(null)]
[DXCategory("Appearance")]
[EditorBrowsable(EditorBrowsableState.Never)]
public virtual object ImageList { get; set; }

Property Value

Type Default Description
Object null

An object that is the source of images to be displayed within the button.

Remarks

After you assign an image source to the ImageList property, use the SimpleButton.ImageIndex property to specify the image to be displayed within the button.

The ImageList property accepts the following image collections:

The image’s horizontal alignment is specified by the SimpleButton.ImageLocation property.

The button’s image can also be specified via the SimpleButton.Image property.

The ImageList property is equivalent to the ImageOptions.ImageList property (see SimpleButton.ImageOptions).

See Also