Share via


IXRControl::SetIsEnabled (Compact 2013)

3/28/2014

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

See Also

Reference

IXRControl
IXRControl::GetIsEnabled