Table of Contents

Interface IAttachedObject

Namespace
Microsoft.Xaml.Behaviors
Assembly
Microsoft.Xaml.Behaviors.dll

An interface for an object that can be attached to another object.

public interface IAttachedObject

Properties

AssociatedObject

Gets the associated object.

DependencyObject AssociatedObject { get; }

Property Value

DependencyObject

The associated object.

Remarks

Represents the object the instance is attached to.

Methods

Attach(DependencyObject)

Attaches to the specified object.

void Attach(DependencyObject dependencyObject)

Parameters

dependencyObject DependencyObject

The object to attach to.

Detach()

Detaches this instance from its associated object.

void Detach()