Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

IButtonProperties.Checked Property

Gets or sets if the current IButton is checked.

Namespace: DevExpress.XtraEditors.ButtonPanel

Assembly: DevExpress.Utils.v24.2.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