Share via


IBehavior.AssociatedObject Property

Gets the DependencyObject to which the IBehavior is attached.

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

Syntax

'Declaration
ReadOnly Property AssociatedObject As DependencyObject
DependencyObject AssociatedObject { get; }
property DependencyObject^ AssociatedObject {
    DependencyObject^ get ();
}
abstract AssociatedObject : DependencyObject with get
function get AssociatedObject () : DependencyObject

Property Value

Type: DependencyObject
The DependencyObject to which the IBehavior is attached.

.NET Framework Security

See Also

Reference

IBehavior Interface

Microsoft.Xaml.Interactivity Namespace

IBehavior