InputElement.

IsEnabledCore Property

Summary

Allows a derived class to override the enabled state of the control.
Namespace
Avalonia.Input
Containing Type
InputElement

Syntax

protected virtual bool IsEnabledCore { get; }

Remarks

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().

Value

Type Description
bool