StyledPropertyBase<TValue>.

CoerceValue(IAvaloniaObject, TValue) Method

Namespace
Avalonia
Containing Type
StyledPropertyBase<TValue>

Syntax

public TValue CoerceValue(IAvaloniaObject instance, TValue baseValue)

Parameters

Name Type Description
instance IAvaloniaObject
baseValue TValue

Return Value

Type Description
TValue