Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

AlertControl.Images Property

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 and AlertButton.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 using AlertButton.ImageOptions.ImageIndex and/or AlertButton.ImageOptions.ImageDownIndex properties.

The Images property accepts the following image collections:

See Also