InvokeCommandAction.Command Property

Gets or sets the command this action should invoke. This is a dependency property.

Namespace: System.Windows.Interactivity
Assembly: System.Windows.Interactivity (in


Public Property Command As ICommand
Dim instance As InvokeCommandAction
Dim value As ICommand

value = instance.Command

instance.Command = value
public ICommand Command { get; set; }
property ICommand^ Command {
    ICommand^ get ();
    void set (ICommand^ value);
/** @property */
public ICommand get_Command ()

/** @property */
public void set_Command (ICommand value)
public function get Command () : ICommand

public function set Command (value : ICommand)


This property will take precedence over the CommandName property if both are set.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also


InvokeCommandAction Class
InvokeCommandAction Members
System.Windows.Interactivity Namespace