Compartilhar via


InvokeCommandAction.CommandParameter Property

Gets or sets the parameter that is passed to Execute. If this is not set, the parameter from the Execute method will be used. This is an optional dependency property.

Namespace:  Microsoft.Xaml.Interactions.Core
Assembly:  Microsoft.Xaml.Interactions (in Microsoft.Xaml.Interactions.dll)

Syntax

'Declaration
Public Property CommandParameter As Object
public Object CommandParameter { get; set; }
public:
property Object^ CommandParameter {
    Object^ get ();
    void set (Object^ value);
}
member CommandParameter : Object with get, set
function get CommandParameter () : Object 
function set CommandParameter (value : Object)

Property Value

Type: System.Object
The parameter that is passed to Execute.

.NET Framework Security

See Also

Reference

InvokeCommandAction Class

Microsoft.Xaml.Interactions.Core Namespace

Execute