AvaloniaPropertyRegistry.

GetRegisteredDirect<T>(IAvaloniaObject, DirectPropertyBase<T>) Method

Summary

Finds a direct property as registered on an object.
Namespace
Avalonia
Containing Type
AvaloniaPropertyRegistry

Syntax

public DirectPropertyBase<T> GetRegisteredDirect<T>(IAvaloniaObject o, DirectPropertyBase<T> property)

Type Parameters

Name Description
T

Parameters

Name Type Description
o IAvaloniaObject The object.
property DirectPropertyBase<T> The direct property.

Return Value

Type Description
DirectPropertyBase<T> The registered property or null if no matching property found.