TextBoxCoerceText Method
Coerces the current text.
Namespace: Avalonia.ControlsAssembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
protected virtual string? CoerceText(
string? value
)
Protected Overridable Function CoerceText (
value As String
) As String
abstract CoerceText :
value : string -> string
override CoerceText :
value : string -> string
- value String
- The initial text.
StringA coerced text.
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.