Skip to main content

FindRegisteredDirect<T> Method

Finds a direct property as registered on an object.

Definition

Namespace: Avalonia
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public DirectPropertyBase<T>? FindRegisteredDirect<T>(
AvaloniaObject o,
DirectPropertyBase<T> property
)

View Source

Parameters

  AvaloniaObject
The object.
  DirectPropertyBase(T)
The direct property.

Type Parameters

Return Value

DirectPropertyBase(T)
The registered property or null if no matching property found.

See Also

Reference

AvaloniaPropertyRegistry Class
Avalonia Namespace