Skip to main content

GetMetadata(Type) 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 StyledPropertyMetadata<TValue> GetMetadata(
Type type
)
View Source

Parameters

  Type
The type for which to retrieve metadata.

Return Value

StyledPropertyMetadata(TValue)

Remarks

For performance, prefer the GetMetadata(AvaloniaObject) overload when possible.

See Also

Reference

StyledProperty(TValue) Class
GetMetadata Overload
Avalonia Namespace