windowsforms-devexpress-dot-xtrabars-dot-barlistitem-8d895fec.md
Determines whether the selected string in a BarListItem is checked.
Namespace : DevExpress.XtraBars
Assembly : DevExpress.XtraBars.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
public virtual bool ShowChecks { get; set; }
Public Overridable Property ShowChecks As Boolean
| Type | Description |
|---|---|
| Boolean |
true if the check mark is displayed for the selected string in a BarListItem; otherwise, false.
|
If this property value is true , then the selected string in a BarListItem is checked. The following image demonstrates a BarListItem with the checked string within:
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ShowChecks property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
barItem.ImageOptions.SvgImage = global::MultiPaneExtension.Properties.Resources.LayoutModeButton;
barItem.ShowChecks = true;
barItem.Strings.Add("Grid");
barItem.ImageOptions.SvgImage = My.Resources.LayoutModeButton
barItem.ShowChecks = True
barItem.Strings.Add("Grid")
See Also