Class
AttachableObject<T>

Represents an object that is attached to an owning object.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.Navigation.dll

Type Parameters:

T

The type that owns this object.

Syntax:

cs-api-definition
public abstract class AttachableObject<T> : DependencyObject where T : class

Inheritance: objectAttachableObject<T>

Derived Classes: ControlCommandBase<T>ServiceBase<T>

Constructors

AttachableObject()

Initializes a new instance of the AttachableObject<T> class.

Declaration

cs-api-definition
protected AttachableObject()

Properties

Owner

Gets the object instance that owns this service.

Declaration

cs-api-definition
public T Owner { get; protected set; }

Property Value

T

Methods

OnAttached()

Performs the core logic behind the Attach routine. Allows inheritors to provide additional implementation.

Declaration

cs-api-definition
protected virtual void OnAttached()

OnDetached(T)

Performs the core logic behind the Detach routine. Allows inheritors to provide additional implementation.

Declaration

cs-api-definition
protected virtual void OnDetached(T previousOwner)

Parameters

previousOwner

T