IsThreeState Property
Collapse the table of content
Expand the table of content

ToggleButton.IsThreeState Property


Determines whether the control supports two or three states.

Namespace:   System.Windows.Controls.Primitives
Assembly:  PresentationFramework (in PresentationFramework.dll)

public bool IsThreeState { get; set; }

Property Value

Type: System.Boolean

true if the control supports three states; otherwise, false. The default is false.

The IsChecked property can be set to null as a third state when IsThreeState is true.

Identifier field


Metadata properties set to true


.NET Framework
Available since 3.0
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
© 2016 Microsoft