InputElementIsEnabledCore Property
Allows a derived class to override the enabled state of the control.
Namespace: Avalonia.InputAssembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
protected virtual bool IsEnabledCore { get; }
Protected Overridable ReadOnly Property IsEnabledCore As Boolean
Get
abstract IsEnabledCore : bool with get
override IsEnabledCore : bool with get
Property Value
Boolean
Derived controls may wish to disable the enabled state of the control without overwriting the
user-supplied
IsEnabled setting. This can be done by overriding this property
to return the overridden enabled state. If the value returned from
IsEnabledCore
should change, then the derived control should call
UpdateIsEffectivelyEnabled.