SimpleButton.ImageList Property

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

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

[Browsable(false)]
[DefaultValue(null)]
[DXCategory("Appearance")]
public virtual object ImageList { get; set; }
<Browsable(False)>
<DefaultValue(Nothing)>
<DXCategory("Appearance")>
Public Overridable Property ImageList As Object

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