Skip to main content

OverrideDefaultValue<T>(TValue) Method

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

Definition

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

public void OverrideDefaultValue<T>(
TValue defaultValue
)
where T : AvaloniaObject

Parameters

  TValue
The default value.

Type Parameters

The type.

See Also

Reference

StyledProperty(TValue) Class
OverrideDefaultValue Overload
Avalonia Namespace