BarBaseButtonItem.ButtonStyle Property
Gets or sets the button item’s style which determines how it functions.
Namespace: DevExpress.XtraBars
Assembly: DevExpress.XtraBars.v24.2.dll
NuGet Package: DevExpress.Win.Navigation
#Declaration
[Browsable(false)]
public virtual BarButtonStyle ButtonStyle { get; set; }
#Property Value
Type | Description |
---|---|
Bar |
A Bar |
Available values:
Name | Description |
---|---|
Default | Applies the Default style to the Bar |
Drop |
Applies the Drop |
Check | Applies the Check style to the Bar |
Check |
Combines Check and Drop |
#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.