Skip to main content

ICommandSource Properties

Properties

CommandThe command that will be executed when the class is "invoked." Classes that implement this interface should enable or disable based on the command's CanExecute return value. The property may be implemented as read-write if desired.
CommandParameterThe parameter that will be passed to the command when executing the command. The property may be implemented as read-write if desired.
IsEffectivelyEnabledGets a value indicating whether this control and all its parents are enabled.

See Also

Reference

ICommandSource Interface
Avalonia.Input Namespace