InvokeCommandAction.CommandParameter Property

Gets or sets the command parameter. This is a dependency property.

Namespace: System.Windows.Interactivity
Assembly: System.Windows.Interactivity (in system.windows.interactivity.dll)

Syntax

'Declaration
Public Property CommandParameter As Object
'Usage
Dim instance As InvokeCommandAction
Dim value As Object

value = instance.CommandParameter

instance.CommandParameter = value
public Object CommandParameter { get; set; }
public:
property Object^ CommandParameter {
    Object^ get ();
    void set (Object^ value);
}
/** @property */
public Object get_CommandParameter ()

/** @property */
public void set_CommandParameter (Object value)
public function get CommandParameter () : Object

public function set CommandParameter (value : Object)

Remarks

This is the value passed to ICommand.CanExecute and ICommand.Execute.

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