Skip to main content

IButtonProperties.Checked Property

Gets or sets if the current IButton is checked.

Namespace: DevExpress.XtraEditors.ButtonPanel

Assembly: DevExpress.Utils.v24.1.dll

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

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