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
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft