AvaloniaPropertyRegistry Class

Summary

Tracks registered AvaloniaProperty instances.
Namespace
Avalonia
Base Types
  • object
graph BT Type-->Base0["object"] Type["AvaloniaPropertyRegistry"] class Type type-node

Syntax

public class AvaloniaPropertyRegistry

Properties

Name Value Summary
Instance AvaloniaPropertyRegistry
Gets the AvaloniaPropertyRegistry instance
static

Methods

Name Value Summary
FindRegistered(IAvaloniaObject, string) AvaloniaProperty
Finds a registered property on an object by name.
FindRegistered(Type, string) AvaloniaProperty
Finds a registered property on a type by name.
FindRegisteredDirect<T>(IAvaloniaObject, DirectPropertyBase<T>) DirectPropertyBase<T>
Finds a direct property as registered on an object.
GetRegistered(IAvaloniaObject) IReadOnlyList<AvaloniaProperty>
Gets all AvaloniaPropertys registered on a object.
GetRegistered(Type) IReadOnlyList<AvaloniaProperty>
Gets all non-attached AvaloniaPropertys registered on a type.
GetRegisteredAttached(Type) IReadOnlyList<AvaloniaProperty>
Gets all attached AvaloniaPropertys registered on a type.
GetRegisteredDirect(Type) IReadOnlyList<AvaloniaProperty>
Gets all direct AvaloniaPropertys registered on a type.
GetRegisteredDirect<T>(IAvaloniaObject, DirectPropertyBase<T>) DirectPropertyBase<T>
Finds a direct property as registered on an object.
GetRegisteredInherited(Type) IReadOnlyList<AvaloniaProperty>
Gets all inherited AvaloniaPropertys registered on a type.
IsRegistered(object, AvaloniaProperty) bool
Checks whether a AvaloniaProperty is registered on a object.
IsRegistered(Type, AvaloniaProperty) bool
Checks whether a AvaloniaProperty is registered on a type.
Register(Type, AvaloniaProperty) void
Registers a AvaloniaProperty on a type.
RegisterAttached(Type, AvaloniaProperty) void
Registers an attached AvaloniaProperty on a type.