MaskedTextBoxCoerceText Method

Coerces the current text.

Definition

Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
protected override string? CoerceText(
	string? text
)

Parameters

text  String
 

Return Value

String
A coerced text.

Remarks

This method also manages the internal undo/redo state whenever the text changes: if overridden, ensure that the base is called or undo/redo won't work correctly.

See Also