Partager via


IXRControl::SetIsEnabled (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

virtual HRESULT STDMETHODCALLTYPE SetIsEnabled(
    bool IsEnabled
) = 0;

Parameters

  • IsEnabled
    [in] Boolean that indicates whether this control should be enabled in the UI.

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

See Also

Reference

IXRControl
IXRControl::GetIsEnabled