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

AlertButtonClickEventArgs.Button Property

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

Namespace: DevExpress.XtraBars.Alerter

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public AlertButton Button { get; }

#Property Value

Type Description
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