Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CommandParameter Property
Collapse the table of content
Expand the table of content

ICommandSource.CommandParameter Property

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

Namespace:  System.Windows.Input
Assembly:  PresentationCore (in PresentationCore.dll)

Object CommandParameter { get; }

Property Value

Type: System.Object
The command specific data.

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.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft