แก้ไข

แชร์ผ่าน


IInputElement.IsEnabled Property

Definition

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

public:
 property bool IsEnabled { bool get(); };
public bool IsEnabled { get; }
member this.IsEnabled : bool
Public ReadOnly Property IsEnabled As Boolean

Property Value

true if the element is enabled; otherwise, false.

Remarks

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.

Applies to

See also