FixedMaskedTextProviderClear 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 public bool Clear(
ref int position,
int length,
bool forward
)
Public Function Clear (
ByRef position As Integer,
length As Integer,
forward As Boolean
) As Boolean
abstract Clear :
position : int byref *
length : int *
forward : bool -> bool
override Clear :
position : int byref *
length : int *
forward : bool -> bool
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:
Booleantrue when the deletion was successful, or
false if it failed.
Implements
IMaskedTextProviderClear(Int32, Int32, Boolean)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