AttachedProperty<TValue>.

AddOwner<TOwner>() Method

Summary

Attaches the property as a non-attached property on the specified type.
Namespace
Avalonia
Containing Type
AttachedProperty<TValue>

Syntax

public AttachedProperty<TValue> AddOwner<TOwner>() where TOwner : IAvaloniaObject

Type Parameters

Name Description
TOwner The owner type.

Return Value

Type Description
AttachedProperty<TValue> The property.