ClassAttachableObject<T>
Class
Represents an object that is attached to an owning object.
Definition
Namespace:Telerik.UI.Xaml.Controls.Primitives
Assembly:Telerik.WinUI.Controls.dll
Type Parameters:
T
The type that owns this object.
Syntax:
cs-api-definition
public abstract class AttachableObject<T> : RadDependencyObject where T : class
Inheritance: objectRadDependencyObjectAttachableObject<T>
Derived Classes:
Constructors
AttachableObject()
Initializes a new instance of the AttachableObject<T> class.
Declaration
cs-api-definition
protected AttachableObject()
Properties
Owner
Gets or sets 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