Skip to main content
Bar

BarCheckItem.CheckBoxVisibility Property

Gets or sets the visibility and position of the item’s check box.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.2.dll

Declaration

[DefaultValue(CheckBoxVisibility.None)]
public virtual CheckBoxVisibility CheckBoxVisibility { get; set; }

Property Value

Type Default Description
DevExpress.XtraBars.CheckBoxVisibility None

A CheckBoxVisibility enumeration value that specifies the visibility and position of the check box.

Remarks

A BarCheckItem can display the 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).

XtraBars - CheckBoxVisibility

The CheckBoxVisibility property is not in effect for a BarCheckItem displayed in a sub-menu. Use the CheckBoxVisibilityInMenu property to specify the visibility and position of a check mark (🗸).

See Also