Skip to main content

IsEffectivelyEnabled Property

Gets a value indicating whether this control and all its parents are enabled.

Definition​

Namespace: Avalonia.Input
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public bool IsEffectivelyEnabled { get; }

Property Value​

Boolean

Implements​

IInputElement.IsEffectivelyEnabled

Remarks​

The IsEnabled property is used to toggle the enabled state for individual controls. The IsEffectivelyEnabled property takes into account the IsEnabled value of this control and its parent controls.

See Also​

Reference​

InputElement Class
Avalonia.Input Namespace