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 system.windows.interactivity.dll)

Syntax

'Declaration
Public Property Command As ICommand
'Usage
Dim instance As InvokeCommandAction
Dim value As ICommand

value = instance.Command

instance.Command = value
public ICommand Command { get; set; }
public:
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)

Remarks

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

Reference

InvokeCommandAction Class
InvokeCommandAction Members
System.Windows.Interactivity Namespace