Struct CommandContext<TBinding>
Provides context for a Command invocation.
public record struct CommandContext<TBinding> : ICommandContext, IEquatable<CommandContext<TBinding>>
Type Parameters
TBinding
- Implements
-
IEquatable<CommandContext<TBinding>>
- Inherited Members
Constructors
- CommandContext(Command, View?, TBinding?)
Initializes a new instance with the specified Command,
Properties
- Source
The View that was the source of the command invocation, if any. (e.g. the view the user clicked on or the view that had focus when a key was pressed).