Register Method
Registers a AvaloniaProperty on a type.
Definition
Namespace: Avalonia
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public void Register(
Type type,
AvaloniaProperty property
)
Public Sub Register (
type As Type,
property As AvaloniaProperty
)
member Register :
type : Type *
property : AvaloniaProperty -> unit
Parameters
- Type
- The type.
- AvaloniaProperty
- The property.
Remarks
You won't usually want to call this method directly, instead use the Register(TOwner, TValue)(String, TValue, Boolean, BindingMode, Func(TValue, Boolean), Func(AvaloniaObject, TValue, TValue), Boolean) method.