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 SourceAssociatedObject
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 SourceAttach(DependencyObject)
Attaches to the specified object.
Declaration
void Attach(DependencyObject dependencyObject)
Parameters
Type | Name | Description |
---|---|---|
DependencyObject | dependencyObject | The object to attach to. |
Detach()
Detaches this instance from its associated object.
Declaration
void Detach()