IXRToggleButton::SetIsThreeState (Compact 2013)
3/28/2014
This method sets a value that indicates whether this toggle button supports two or three states.
Syntax
virtual HRESULT STDMETHODCALLTYPE SetIsThreeState(
__in bool IsThreeState
) = 0;
Parameters
- IsThreeState
[in] Boolean value 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 whether or not the method succeeded.
Remarks
If you set IsThreeState 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 |