StyledPropertyBase<TValue>.

OverrideDefaultValue<T>(TValue) Method

Summary

Overrides the default value for the property on the specified type.
Namespace
Avalonia
Containing Type
StyledPropertyBase<TValue>

Syntax

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

Type Parameters

Name Description
T The type.

Parameters

Name Type Description
defaultValue TValue The default value.

Return Value

Type Description
void