Back to Devexpress

BarCheckItem.IsThreeState Property

wpf-devexpress-dot-xpf-dot-bars-dot-barcheckitem-ed753ae2.md

latest2.3 KB
Original Source

BarCheckItem.IsThreeState Property

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

Declaration

csharp
public bool IsThreeState { get; set; }
vb
Public Property IsThreeState As Boolean

Property Value

TypeDescription
Boolean

true if the bar check item supports three states rather than two; otherwise, false.

|

Remarks

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.

wpf-dock-layout-manager-define-prism-regions-for-dock-layout-manager-elements/CS/PrismOnDXDocking/Shell.xaml#L26

xml
<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

IsChecked

BarCheckItem Class

BarCheckItem Members

DevExpress.Xpf.Bars Namespace