TargetedTriggerAction.TargetObject Property

Gets or sets the target object. If TargetObject is not set, the target will look for the object specified by TargetName. If an element referred to by TargetName cannot be found, the target will default to the AssociatedObject. This is a dependency property.

Namespace: System.Windows.Interactivity
Assembly: System.Windows.Interactivity (in


Public Property TargetObject As Object
Dim instance As TargetedTriggerAction
Dim value As Object

value = instance.TargetObject

instance.TargetObject = value
public Object TargetObject { get; set; }
property Object^ TargetObject {
    Object^ get ();
    void set (Object^ value);
/** @property */
public Object get_TargetObject ()

/** @property */
public void set_TargetObject (Object value)
public function get TargetObject () : Object

public function set TargetObject (value : Object)

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


TargetedTriggerAction Class
TargetedTriggerAction Members
System.Windows.Interactivity Namespace