Skip to main content

FindRegistered(Type, String) Method

Finds a registered property on a type by name.

Definition

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

public AvaloniaProperty? FindRegistered(
Type type,
string name
)

Parameters

  Type
The type.
  String
The property name.

Return Value

AvaloniaProperty
The registered property or null if no matching property found.

Exceptions

InvalidOperationExceptionThe property name contains a '.'.

See Also

Reference

AvaloniaPropertyRegistry Class
FindRegistered Overload
Avalonia Namespace