AlertButton.Image Property
Gets or sets an image displayed within the button. This property is obsolete. Use the AlertButton.ImageOptions.Image
property instead.
Namespace: DevExpress.XtraBars.Alerter
Assembly: DevExpress.XtraEditors.v24.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 AlertButton.ImageOptions.Image
or AlertButton.ImageOptions.ImageIndex
property to assign an image to the button. If both the properties have been specified, the AlertButton.ImageOptions.Image
property is in effect, and the AlertButton.ImageOptions.ImageIndex
property is ignored.
If a button functions as a check button, the image specified by the Image or AlertButton.ImageOptions.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.ImageOptions.ImageDown
or AlertButton.ImageOptions.ImageDownIndex
property.