AlertControl.Images Property
In This Article
Gets or sets the source of images for buttons that can be displayed in alert windows.
Namespace: DevExpress.XtraBars.Alerter
Assembly: DevExpress.XtraBars.v24.2.dll
NuGet Package: DevExpress.Win.Navigation
#Declaration
[DefaultValue(null)]
[DXCategory("Appearance")]
public virtual object Images { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Object | null | An object that specifies the source of images for buttons in alert windows. |
#Remarks
Alert windows can display custom buttons at their bottom. To add buttons to windows, add them to the AlertControl.Buttons collection. You can provide images for buttons using one of the two methods:
- Assign images to a button using
AlertButton.ImageOptions.Image
andAlertButton.ImageOptions.ImageDown
properties. - Add images to an image collection and assign the image collection to the
Images
property. Assign images by their indexes to buttons usingAlertButton.ImageOptions.ImageIndex
and/orAlertButton.ImageOptions.ImageDownIndex
properties.
The Images property accepts the following image collections:
- ImageCollection - Supports image transparency.
- SharedImageCollection - Supports image transparency. Allows you to share images between controls within multiple forms.
- SvgImageCollection - Stores vector icons that can scale without losing their quality on high resolution devices.
- ImageList.
See Also