Back to Devexpress

AlertControl.Images Property

windowsforms-devexpress-dot-xtrabars-dot-alerter-dot-alertcontrol-ee9be543.md

latest2.5 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(null)]
[DXCategory("Appearance")]
public virtual object Images { get; set; }
vb
<DXCategory("Appearance")>
<DefaultValue(Nothing)>
Public Overridable Property Images As Object

Property Value

TypeDefaultDescription
Objectnull

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

AlertControl Class

AlertControl Members

DevExpress.XtraBars.Alerter Namespace