TargetedTriggerAction.TargetName Property

Gets or sets the name of the object this action targets. If Target is set, this property is ignored. If Target is not set and TargetName is not set or cannot be resolved, the target will default to the AssociatedObject. This is a dependency property.

Namespace: System.Windows.Interactivity
Assembly: System.Windows.Interactivity (in system.windows.interactivity.dll)

Syntax

'Declaration
Public Property TargetName As String
'Usage
Dim instance As TargetedTriggerAction
Dim value As String

value = instance.TargetName

instance.TargetName = value
public string TargetName { get; set; }
public:
property String^ TargetName {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_TargetName ()

/** @property */
public void set_TargetName (String value)
public function get TargetName () : String

public function set TargetName (value : String)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

TargetedTriggerAction Class
TargetedTriggerAction Members
System.Windows.Interactivity Namespace