Partager via


IXRToggleButton::GetIsThreeState (Compact 2013)

3/28/2014

This method retrieves a value that indicates whether this toggle button supports two or three states.

Syntax

virtual HRESULT STDMETHODCALLTYPE GetIsThreeState(
    __out bool* pIsThreeState
) = 0;

Parameters

  • pIsThreeState
    [out] Pointer to a Boolean value that indicates whether this toggle button supports two or three states. This value is true if the toggle button supports three states; otherwise, it is false.

Return Value

Returns an HRESULT that indicates whether or not the method succeeded.

Remarks

If pIsThreeState is 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

See Also

Reference

IXRToggleButton
IXRToggleButton::SetIsThreeState