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)
- C#
- VB
- F#
public DirectPropertyMetadata<TValue> GetMetadata(
Type type
)
Public Function GetMetadata (
type As Type
) As DirectPropertyMetadata(Of TValue)
member GetMetadata :
type : Type -> DirectPropertyMetadata<'TValue>
Parameters
- Type
- The type for which to retrieve metadata.
Return Value
DirectPropertyMetadata(TValue)
Remarks
For performance, prefer the GetMetadata(AvaloniaObject) overload when possible.
See Also
Reference
DirectPropertyBase(TValue) Class
GetMetadata Overload
Avalonia Namespace