IXRToggleButton::SetIsThreeState (Windows Embedded CE 6.0)
1/6/2010
This method sets a value that indicates whether this toggle button supports two or three states.
Syntax
virtual HRESULT STDMETHODCALLTYPE SetIsThreeState(
= bool Value
) = 0;
Parameters
- Value
[in] Boolean that indicates whether this toggle button supports two or three states. Set this value to true if the toggle button supports three states; otherwise, set it to false.
Return Value
Returns an HRESULT that indicates success or failure.
Remarks
If you set Value to true, the IsChecked property can also be set to a null reference as a third state for this toggle button. You can access and modify this property by using IXRToggleButton::GetIsChecked and IXRToggleButton::SetIsChecked.
.NET Framework Equivalent
System.Windows.Controls.Primitives.ToggleButton.IsThreeState
Requirements
Header | XamlRuntime.h |
sysgen | SYSGEN_XAML_RUNTIME |
Windows Embedded CE | Windows Embedded CE 6.0 R3 |