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

AlertButton.Image Property

Gets or sets an image displayed within the button

Namespace: DevExpress.XtraBars.Alerter

Assembly: DevExpress.XtraEditors.v18.2.dll

Declaration

[Browsable(false)]
[DefaultValue(null)]
[DXCategory("Appearance")]
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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Image 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