Skip to main content
Bar

BarBaseButtonItem.ButtonStyle Property

Gets or sets the button item’s style which determines how it functions.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[Browsable(false)]
public virtual BarButtonStyle ButtonStyle { get; set; }

Property Value

Type Description
BarButtonStyle

A BarButtonStyle value that determines how this item functions.

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 does not implement any specific functionality in the BarBaseButtonItem class. It is overridden by the descendant classes.

For BarCheckItem objects this property always returns BarButtonStyle.Check and it cannot be changed.

For BarButtonItem objects and their descendants the BarButtonItem.ButtonStyle property can be set to any BarButtonStyle value. See this member’s description for more information.

See Also