StyledPropertyTValueGetDefaultValue(Type) Method

Gets the default value for the property on the specified type.

Definition

Namespace: Avalonia
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public TValue GetDefaultValue(
	Type type
)

Parameters

type  Type
The type.

Return Value

TValue
The default value.

Remarks

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

See Also