RegisterAttached Method
Registers an attached AvaloniaProperty on a type.
Definition
Namespace: Avalonia
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public void RegisterAttached(
Type type,
AvaloniaProperty property
)
Public Sub RegisterAttached (
type As Type,
property As AvaloniaProperty
)
member RegisterAttached :
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 RegisterAttached(THost, TValue)(String, Type, TValue, Boolean, BindingMode, Func(TValue, Boolean), Func(AvaloniaObject, TValue, TValue)) method.