EventTriggerBase.SourceName Property

Gets or sets the name of the element this EventTriggerBase listens for as a source. If the name is not set or cannot be resolved, the AssociatedObject will be used. This is a dependency property.

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

Syntax

'Declaration
Public Property SourceName As String
'Usage
Dim instance As EventTriggerBase
Dim value As String

value = instance.SourceName

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

/** @property */
public void set_SourceName (String value)
public function get SourceName () : String

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

EventTriggerBase Class
EventTriggerBase Members
System.Windows.Interactivity Namespace