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)

abstract CommandParameter : Object with 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
Available since 3.0
Return to top
© 2016 Microsoft