Skip to main content
Bar

BarCheckItem Class

Represents a check button in bars.

Namespace: DevExpress.Xpf.Bars

Assembly: DevExpress.Xpf.Core.v14.2.dll

#Declaration

public class BarCheckItem :
    BarButtonItem

#Remarks

By default, this button has two states: checked (pressed) and unchecked (not pressed).

BarCheckItem

Clicking a check button automatically toggles its state and fires the BarCheckItem.CheckedChanged event. In code, you can change the button's check state via the BarCheckItem.IsChecked property.

If the BarCheckItem.IsThreeState option is enabled, a check button supports three states. Use the BarCheckItem.IsChecked property to get/set the check state.

Bar check items can be combined into a group via the BarCheckItem.GroupIndex property. Checking one item within a group automatically unchecks the other items.

BarCheckItem objects are displayed on-screen using corresponding bar item links - BarCheckItemLink objects. See Items and Links to learn more.

See Also