Back to Devexpress

BarListItem.ShowChecks Property

windowsforms-devexpress-dot-xtrabars-dot-barlistitem-8d895fec.md

latest3.0 KB
Original Source

BarListItem.ShowChecks Property

Determines whether the selected string in a BarListItem is checked.

Namespace : DevExpress.XtraBars

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public virtual bool ShowChecks { get; set; }
vb
Public Overridable Property ShowChecks As Boolean

Property Value

TypeDescription
Boolean

true if the check mark is displayed for the selected string in a BarListItem; otherwise, false.

|

Remarks

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.

winforms-dashboard-display-each-series-in-separate-pane-for-chart-items/CS/MultiPaneExtension/MultiPaneModule.cs#L257

csharp
barItem.ImageOptions.SvgImage = global::MultiPaneExtension.Properties.Resources.LayoutModeButton;
barItem.ShowChecks = true;
barItem.Strings.Add("Grid");

winforms-dashboard-display-each-series-in-separate-pane-for-chart-items/VB/MultiPaneExtension/MultiPaneModule.vb#L223

vb
barItem.ImageOptions.SvgImage = My.Resources.LayoutModeButton
barItem.ShowChecks = True
barItem.Strings.Add("Grid")

See Also

BarListItem Class

BarListItem Members

DevExpress.XtraBars Namespace