EventTriggerBase.SourceObject 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 system.windows.interactivity.dll)


Public Property SourceObject As Object
Dim instance As EventTriggerBase
Dim value As Object

value = instance.SourceObject

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

/** @property */
public void set_SourceObject (Object value)
public function get SourceObject () : Object

public function set SourceObject (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


EventTriggerBase Class
EventTriggerBase Members
System.Windows.Interactivity Namespace