Hyperlink.CommandTarget Property

Gets or sets a target element on which to execute the command specified by the Command property.

Namespace:  System.Windows.Documents
Assembly:  PresentationFramework (in PresentationFramework.dll)

[BindableAttribute(true)]
public IInputElement CommandTarget { get; set; }

Property Value

Type: System.Windows.IInputElement
A target element on which to execute the command specified by the Command property. The default is null.

Implements

ICommandSource.CommandTarget

Identifier field

CommandTargetProperty

Metadata properties set to true

None

.NET Framework

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

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft