Skip to main content

IsRegistered(Type, AvaloniaProperty) Method

Checks whether a AvaloniaProperty is registered on a type.

Definition​

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

public bool IsRegistered(
Type type,
AvaloniaProperty property
)

Parameters​

  Type
The type.
  AvaloniaProperty
The property.

Return Value​

Boolean
True if the property is registered, otherwise false.

See Also​

Reference​

AvaloniaPropertyRegistry Class
IsRegistered Overload
Avalonia Namespace