次の方法で共有


IXRControl::GetIsEnabled (Compact 2013)

3/28/2014

This method retrieves a value that indicates whether this control is enabled in the UI.

Syntax

virtual HRESULT STDMETHODCALLTYPE GetIsEnabled(
    bool *pIsEnabled
) = 0;

Parameters

  • pIsEnabled
    [out] Boolean that indicates whether the control is enabled. This value is true if the control is enabled; otherwise, it is false.

Return Value

Returns an HRESULT that indicates success or failure.

.NET Framework Equivalent

System.Windows.Controls.ContentControl.IsEnabled

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRControl
IXRControl::SetIsEnabled