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

AlertButton.Style Property

Gets or sets the button’s style.

Namespace: DevExpress.XtraBars.Alerter

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DXCategory("Behavior")]
public AlertButtonStyle Style { get; set; }

#Property Value

Type Description
AlertButtonStyle

An AlertButtonStyle value that specifies the button’s style.

Available values:

Name Description
Button

A button functions as a regular button, producing the AlertControl.ButtonClick event when clicked.

CheckButton

A button functions as a check button, producing the AlertControl.ButtonDownChanged event when its pressed state is changed.

#Remarks

To make the button function as a check button, set the Style property to AlertButtonStyle.CheckButton.

See Also