Skip to main content

OnCoerceValue Method

Called when the Value property has to be coerced.

Definition​

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

protected virtual decimal? OnCoerceValue(
decimal? baseValue
)

Parameters​

  Nullable(Decimal)
The value.

Return Value​

Nullable(Decimal)

See Also​

Reference​

NumericUpDown Class
Avalonia.Controls Namespace