Behavior.AssociatedObject Property

Gets the object to which this Behavior`1 is attached.

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

Syntax

'Declaration
Protected ReadOnly Property AssociatedObject As T
'Usage
Dim value As T

value = Me.AssociatedObject
protected T AssociatedObject { get; }
protected:
property T AssociatedObject {
    T get ();
}
/** @property */
protected T get_AssociatedObject ()
protected function get AssociatedObject () : T

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

Behavior Generic Class
Behavior Members
System.Windows.Interactivity Namespace