CommandParameter Property
Collapse the table of content
Expand the table of content

Hyperlink.CommandParameter Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets or sets command parameters associated with the command specified by the Command property.

Namespace:  System.Windows.Documents
Assembly:  System.Windows (in System.Windows.dll)
XMLNS for XAML: Not mapped to an xmlns.

public Object CommandParameter { get; set; }
<Hyperlink>
  <Hyperlink.CommandParameter>
    object
  </Hyperlink.CommandParameter>
</Hyperlink>
<Hyperlink CommandParameter="objectAsString"/>

Property Value

Type: System.Object
An object specifying parameters for the command specified by the Command property. The default is null.

Dependency property identifier field: CommandParameterProperty

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2017 Microsoft