StyledProperty<TValue>.

AddOwner<TOwner>() Method

Summary

Registers the property on another type.
Namespace
Avalonia
Containing Type
StyledProperty<TValue>

Syntax

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

Type Parameters

Name Description
TOwner The type of the additional owner.

Return Value

Type Description
StyledProperty<TValue> The property.