wpf-devexpress-dot-xpf-dot-bars-dot-barcheckitem-ed753ae2.md
Gets or sets whether the bar item supports three states (Checked, Unchecked and Indeterminate). This is a dependency property.
Namespace : DevExpress.Xpf.Bars
Assembly : DevExpress.Xpf.Core.v25.2.dll
NuGet Package : DevExpress.Wpf.Core
public bool IsThreeState { get; set; }
Public Property IsThreeState As Boolean
| Type | Description |
|---|---|
| Boolean |
true if the bar check item supports three states rather than two; otherwise, false.
|
To set a bar item’s state use the BarCheckItem.IsChecked property.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the IsThreeState 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.
<dxb:BarSubItem Name="bsFile" Content="File"/>
<dxb:BarCheckItem Name="bMDIStyle" CategoryName="Window" Content="Use Tabbed MDI" IsThreeState="False" IsChecked="False"
Command="dxdo:MDIControllerCommand.ChangeMDIStyle"
See Also