Compartilhar via


IXRToggleButton::GetIsChecked (Compact 2013)

3/28/2014

This method retrieves a value that indicates whether this toggle button is in a checked state.

Syntax

virtual HRESULT STDMETHODCALLTYPE GetIsChecked(
    __out XRThreeState* pIsChecked
) = 0;

Parameters

  • pIsChecked
    [out] Pointer to an XRThreeState enumerated type that indicates whether this toggle button is in a checked state.

Return Value

Returns an HRESULT that indicates success or failure.

.NET Framework Equivalent

System.Windows.Controls.Primitives.ToggleButton.IsChecked

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRToggleButton
IXRToggleButton::SetIsChecked