Bar

BarCheckItem.ButtonStyle Property

Get or sets the bar item’s style.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v21.2.dll

Declaration

[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
public override BarButtonStyle ButtonStyle { get; set; }

Property Value

Type Description
BarButtonStyle

A BarButtonStyle enumeration value specifying the bar item’s style.

Available values:

Name Description
Default

Applies the Default style to the BarButtonItem component. The default style means that the link represents a regular push button.

DropDown

Applies the DropDown style to the BarButtonItem component.

Check

Applies the Check style to the BarButtonItem component.

CheckDropDown

Combines Check and DropDown styles. The target bar button item supports checked/unchecked states and has an assigned drop-down control.

Remarks

This property overrides the BarButtonItem.ButtonStyle property to prevent it from being used and to return the BarButtonStyle.Check value.

See Also