Skip to main content

RegisterAttached Method

Registers an attached AvaloniaProperty on a type.

Definition​

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

public void RegisterAttached(
Type type,
AvaloniaProperty property
)

Parameters​

  Type
The type.
  AvaloniaProperty
The property.

Remarks​

You won't usually want to call this method directly, instead use the RegisterAttached(THost, TValue)(String, Type, TValue, Boolean, BindingMode, Func(TValue, Boolean), Func(AvaloniaObject, TValue, TValue)) method.

See Also​

Reference​

AvaloniaPropertyRegistry Class
Avalonia Namespace