Skip to main content

GetMetadata(AvaloniaObject) Method

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

Definition​

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

public StyledPropertyMetadata<TValue> GetMetadata(
AvaloniaObject owner
)

Parameters​

  AvaloniaObject
The object for which to retrieve metadata.

Return Value​

StyledPropertyMetadata(TValue)

See Also​

Reference​

StyledProperty(TValue) Class
GetMetadata Overload
Avalonia Namespace