Skip to main content

GetMetadata<T> Method

Gets the AvaloniaPropertyMetadata which applies to this property when it is used with the specified type.

Definition

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

public AvaloniaPropertyMetadata GetMetadata<T>()
where T : AvaloniaObject

Type Parameters

The type for which to retrieve metadata.

Return Value

AvaloniaPropertyMetadata

See Also

Reference

AvaloniaProperty Class
GetMetadata Overload
Avalonia Namespace