Share via


BehaviorCollection.AssociatedObject Property

Gets the DependencyObject to which the BehaviorCollection is attached.

Namespace:  Microsoft.Xaml.Interactivity
Assembly:  Microsoft.Xaml.Interactivity (in Microsoft.Xaml.Interactivity.dll)

Syntax

'Declaration
Public Property AssociatedObject As DependencyObject
public DependencyObject AssociatedObject { get; private set; }
public:
property DependencyObject^ AssociatedObject {
    DependencyObject^ get ();
    private: void set (DependencyObject^ value);
}
member AssociatedObject : DependencyObject with get, private set
function get AssociatedObject () : DependencyObject 
private function set AssociatedObject (value : DependencyObject)

Property Value

Type: DependencyObject

.NET Framework Security

See Also

Reference

BehaviorCollection Class

Microsoft.Xaml.Interactivity Namespace