CommandExecutedEventArgs

Name Value
Assembly Catel.MVVM
Namespace Catel.MVVM
Available on .NET Framework 4.5, .NET Framework 4.6, Xamarin - Android, Xamarin - iOS
public class CommandExecutedEventArgs : EventArgs

Base types EventArgs

implementation for the event when an ICatelCommand has been executed.

Constructors

CommandExecutedEventArgs(ICatelCommand command, object commandParameter, string commandPropertyName)

Initializes a new instance of the CommandExecutedEventArgs class.

Parameters

Name Description
command The command that just has been executed.
commandParameter The command parameter that was used for the execution.
commandPropertyName The property name under which the command is registered.

Exceptions

Name Description
ArgumentNullException The command isnull.

Properties

Command

Gets the command that just has been executed.

CommandParameter

Gets the command parameter used for the execution.

CommandPropertyName

Gets the property name under which the command is registered


Have a question about Catel? Use StackOverflow with the Catel tag!


Discussion