Skip to main content

OverrideDefaultValue(Type, 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(
Type type,
TValue defaultValue
)

Parameters

  Type
The type.
  TValue
The default value.

See Also

Reference

StyledProperty(TValue) Class
OverrideDefaultValue Overload
Avalonia Namespace