Skip to main content
A newer version of this page is available. .

IButtonProperties.Checked Property

Gets or sets if the current IButton is checked.

Namespace: DevExpress.XtraEditors.ButtonPanel

Assembly: DevExpress.Utils.v19.1.dll

Declaration

[DXCategory("Behavior")]
bool Checked { get; set; }

Property Value

Type Description
Boolean

A Boolean value specifying whether the current IButton is checked.

Remarks

If a Custom Header Button is of the check or group radio button type, it has checked/unchecked states. An end-user can click on a custom header button at runtime to change its state. To do it via code, use the Checked property. Note that regular (push) custom header buttons cannot be checked.

To get if a custom button is currently checked, use the IButton.IsChecked property. See the Header Buttons and WindowsUI Custom Buttons topics to learn more.

See Also