Skip to main content

GetDefaultValue(AvaloniaObject) Method

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

Definition​

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

public TValue GetDefaultValue(
AvaloniaObject owner
)

Parameters​

  AvaloniaObject
The object.

Return Value​

TValue
The default value.

See Also​

Reference​

StyledProperty(TValue) Class
GetDefaultValue Overload
Avalonia Namespace