AvaloniaPropertyRegistry.

RegisterAttached(Type, AvaloniaProperty) Method

Summary

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

Syntax

public void RegisterAttached(Type type, AvaloniaProperty property)

Remarks

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

Parameters

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

Return Value

Type Description
void