Partager via


IXRToggleButton::SetIsChecked (Compact 2013)

3/28/2014

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

Syntax

virtual HRESULT STDMETHODCALLTYPE SetIsChecked(
    __in  XRThreeState   IsChecked
) = 0;

Parameters

  • IsChecked
    [in] XRThreeState enumerated type that indicates whether this toggle button is in a checked state.

Return Value

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

.NET Framework Equivalent

System.Windows.Controls.Primitives.ToggleButton.IsChecked

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRToggleButton
IXRToggleButton::GetIsChecked