Skip to main content

AlertButton.Image Property

Gets or sets an image displayed within the button

Namespace: DevExpress.XtraBars.Alerter

Assembly: DevExpress.XtraEditors.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

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

Property Value

Type Default Description
Image null

A Image object that specifies the button’s image.

Remarks

Use the Image or AlertButton.ImageIndex property to assign an image to the button. If both the properties have been specified, the AlertButton.Image property is in effect, and the AlertButton.ImageIndex property is ignored.

If a button functions as a check button, the image specified by the Image or AlertButton.ImageIndex property is also in effect when the button is in the pressed state. To display a different image in the pressed state, use the AlertButton.ImageDown or AlertButton.ImageDownIndex property.

See Also