Back to Devexpress

IButtonProperties.Style Property

windowsforms-devexpress-dot-xtraeditors-dot-buttonpanel-dot-ibuttonproperties-14a23e24.md

latest2.6 KB
Original Source

IButtonProperties.Style Property

Gets or sets the current IButton object’s type.

Namespace : DevExpress.XtraEditors.ButtonPanel

Assembly : DevExpress.Utils.v25.2.dll

NuGet Packages : DevExpress.Utils, DevExpress.Wpf.Core

Declaration

csharp
[DXCategory("Appearance")]
ButtonStyle Style { get; set; }
vb
<DXCategory("Appearance")>
Property Style As ButtonStyle

Property Value

TypeDescription
ButtonStyle

A ButtonStyle enumerator value that specifies the current IButton object’s type.

|

Available values:

NameDescription
PushButton

Specifies a custom header button is a regular (push) button.

| | CheckButton |

Specifies whether a custom header button is a check or a group radio button.

|

Remarks

Depending on the Style property value, a custom header button can be either a regular (push) or a check button. Due to the IButtonProperties.GroupIndex property, check buttons can also be divided into simple check buttons and group radio buttons. See the Header Buttons and WindowsUI Custom Buttons topics to learn more.

See Also

GroupIndex

Header Buttons

WindowsUI Buttons

IButtonProperties Interface

IButtonProperties Members

DevExpress.XtraEditors.ButtonPanel Namespace