Back to Devexpress

AlertButton.Style Property

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

latest1.9 KB
Original Source

AlertButton.Style Property

Gets or sets the button’s style.

Namespace : DevExpress.XtraBars.Alerter

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DXCategory("Behavior")]
public AlertButtonStyle Style { get; set; }
vb
<DXCategory("Behavior")>
Public Property Style As AlertButtonStyle

Property Value

TypeDescription
AlertButtonStyle

An AlertButtonStyle value that specifies the button’s style.

|

Available values:

NameDescription
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

Down

AlertButton Class

AlertButton Members

DevExpress.XtraBars.Alerter Namespace