Back to Devexpress

AlertButtonClickEventArgs.Button Property

windowsforms-devexpress-dot-xtrabars-dot-alerter-dot-alertbuttonclickeventargs.md

latest1.9 KB
Original Source

AlertButtonClickEventArgs.Button Property

Provides access to the settings of the button that has been clicked.

Namespace : DevExpress.XtraBars.Alerter

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public AlertButton Button { get; }
vb
Public ReadOnly Property Button As AlertButton

Property Value

TypeDescription
AlertButton

An AlertButton object containing settings of the button that has been clicked.

|

Remarks

The AlertControl.ButtonClick and AlertControl.ButtonDownChanged events fire when a custom button within an alert window is clicked. While handling these events, do not use the Button property to identify the button clicked. Instead, use the AlertButtonClickEventArgs.ButtonName property.

See Also

ButtonName

AlertButtonClickEventArgs Class

AlertButtonClickEventArgs Members

DevExpress.XtraBars.Alerter Namespace