Show / Hide Table of Contents

Interface IAttachedObject

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

Namespace: System.Windows.Interactivity
Assembly: OpenSilver.Interactivity.dll
Syntax
public interface IAttachedObject

Properties

| Improve this Doc View Source

AssociatedObject

Gets the associated object.

Declaration
DependencyObject AssociatedObject { get; }
Property Value
Type Description
DependencyObject

The associated object.

Remarks

Represents the object the instance is attached to.

Methods

| Improve this Doc View Source

Attach(DependencyObject)

Attaches to the specified object.

Declaration
void Attach(DependencyObject dependencyObject)
Parameters
Type Name Description
DependencyObject dependencyObject

The object to attach to.

| Improve this Doc View Source

Detach()

Detaches this instance from its associated object.

Declaration
void Detach()
  • Improve this Doc
  • View Source