Interface ICommandSource
- Namespace
- Icy.Input
- Assembly
- IcyUI.dll
Represents an interface for types that can invoke commands.
public interface ICommandSource
- Extension Methods
Properties
Command
Gets the command that will be executed when the class is "invoked".
ICommand? Command { get; }
Property Value
Remarks
If the command can't be executed according to CanExecute(object), controls that implement this interface should be disabled.
CommandParameter
Gets the command parameter that will be passed to the command when executing.
object? CommandParameter { get; }
Property Value
Methods
CanExecuteChanged(object, EventArgs)
Called when CanExecuteChanged is raised.
void CanExecuteChanged(object sender, EventArgs e)