IsEnabled Property

IInputElement.IsEnabled Property

 

Gets a value that indicates whether this element is enabled in the user interface (UI).

Namespace:   System.Windows
Assembly:  PresentationCore (in PresentationCore.dll)

bool IsEnabled { get; }

Property Value

Type: System.Boolean

true if the element is enabled; otherwise, false.

This interface is not intended for public implementation. For more information, see remarks for the IInputElement interface.

Existing implementations in the Windows Presentation Foundation (WPF) core (see ContentElement.IsEnabled and UIElement.IsEnabled) make this property read/write and establish this property as a dependency property.

.NET Framework
Available since 3.0
Return to top
Show:
© 2016 Microsoft