Skip to main content

Command Property

The 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.

Definition

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

ICommand? Command { get; }
View Source

Property Value

ICommand

See Also

Reference

ICommandSource Interface
Avalonia.Input Namespace