Skip to main content

IsRegistered(Object, AvaloniaProperty) Method

Checks whether a AvaloniaProperty is registered on a object.

Definition​

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

public bool IsRegistered(
Object o,
AvaloniaProperty property
)

Parameters​

  Object
The object.
  AvaloniaProperty
The property.

Return Value​

Boolean
True if the property is registered, otherwise false.

See Also​

Reference​

AvaloniaPropertyRegistry Class
IsRegistered Overload
Avalonia Namespace