Click or drag to resize

IMaskedTextProviderClear Method

Called to clear a range of characters at the specified position in the masked text.

Namespace:  Eto.Forms
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
bool Clear(
	ref int position,
	int length,
	bool forward
)

Parameters

position
Type: SystemInt32
Position to clear at.
length
Type: SystemInt32
Length of text (in the mask) to clear
forward
Type: SystemBoolean
true to delete the text forward, or false to delete backward

Return Value

Type: Boolean
true when the deletion was successful, or false if it failed.
Remarks
The cleared characters usually show the prompt character after cleared. This is useful for fixed length mask providers. For variable length, this is usually the same as calling Delete(Int32, Int32, Boolean).
See Also