AvaloniaPropertyRegistry.

Register(Type, AvaloniaProperty) Method

Summary

Registers a AvaloniaProperty on a type.
Namespace
Avalonia
Containing Type
AvaloniaPropertyRegistry

Syntax

public void Register(Type type, AvaloniaProperty property)

Remarks

You won't usually want to call this method directly, instead use the Register<TOwner, TValue>(string, TValue, bool, BindingMode, Func<TValue, bool>, Func<IAvaloniaObject, TValue, TValue>, Action<IAvaloniaObject, bool>) method.

Parameters

Name Type Description
type Type The type.
property AvaloniaProperty The property.

Return Value

Type Description
void