Share via


IXRToggleButton::GetIsThreeState (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

virtual HRESULT STDMETHODCALLTYPE GetIsThreeState(
    bool *pValue
) = 0;

Parameters

  • pValue
    [out] Pointer to a Boolean 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 success or failure.

Remarks

If pValue 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
Windows Embedded CE Windows Embedded CE 6.0 R3

See Also

Reference

IXRToggleButton
IXRToggleButton::SetIsThreeState