BarCheckItem.CheckBoxVisibility Property
Gets or sets the visibility of the item’s check box.
Namespace: DevExpress.XtraBars
Assembly: DevExpress.XtraBars.v21.2.dll
NuGet Packages: DevExpress.Win.Design, DevExpress.Win.Navigation
Declaration
[DefaultValue(CheckBoxVisibility.None)]
public virtual CheckBoxVisibility CheckBoxVisibility { get; set; }
Property Value
Type | Default | Description |
---|---|---|
DevExpress.XtraBars.CheckBoxVisibility | None | A CheckBoxVisibility enumerator value that specifies the visibility of the current BarCheckItem‘s check box. |
Remarks
Depending on the CheckBoxVisibility property value, a BarCheckItem can display its check box before or after the caption (BarItem.Caption), or not display it at all. In the latter case, the BarCheckItem itself serves as a check box - an end-user can click its caption to check or uncheck the item (see the figure below).
The CheckBoxVisibility property is not in effect for a BarCheckItem embedded in a sub-menu. For this item, the check box is always displayed before the item’s caption.