BarCheckItem.CheckBoxVisibility Property

Gets or sets the visibility of the item's check box.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v20.1.dll


public virtual CheckBoxVisibility CheckBoxVisibility { get; set; }
Public Overridable Property CheckBoxVisibility As CheckBoxVisibility

Property Value

Type Default Description


A CheckBoxVisibility enumerator value that specifies the visibility of the current BarCheckItem's check box.


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).

XtraBars - CheckBoxVisibility

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.

See Also