Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

ICommandSource.CommandParameter Property

Definition

Namespace:
System.Windows.Input
Assembly:
PresentationCore.dll

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Represents a user defined data value that can be passed to the command when it is executed.

public:
 property System::Object ^ CommandParameter { System::Object ^ get(); };
public object CommandParameter { get; }
member this.CommandParameter : obj
Public ReadOnly Property CommandParameter As Object

Property Value

The command specific data.

Remarks

Normally, the CommandParameter is used to pass specific information to the command when it is executed. The type of the data is defined by the command.

Applies to

See also


Feedback

Was this page helpful?