StyledPropertyTValueGetMetadata(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) Version: 11.3.999
public StyledPropertyMetadata<TValue> GetMetadata(
	Type type
)

Parameters

type  Type
The type for which to retrieve metadata.

Return Value

StyledPropertyMetadataTValue

Remarks

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

See Also