IsEnabledCore Property
Allows a derived class to override the enabled state of the control.
Definition
Namespace: Avalonia.Input
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
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
BooleanRemarks
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().