# VariableMaskedTextProvider class

Namespace: [Eto.Forms](https://eto.picoe.ca/api/namespace/eto.forms.md) · Assembly: [Eto](https://eto.picoe.ca/api/assembly/eto.md)

```cs
public abstract class VariableMaskedTextProvider : IMaskedTextProvider
```

Base masked text provider that can be used for variable length masks.

**Derived types:** [NumericMaskedTextProvider](https://eto.picoe.ca/api/type/eto.forms.numericmaskedtextprovider.md)

## Properties

- [Builder](https://eto.picoe.ca/api/type/eto.forms.variablemaskedtextprovider/builder.md): Gets the underlying string builder for the current mask text value.
- [DisplayText](https://eto.picoe.ca/api/type/eto.forms.variablemaskedtextprovider/displaytext.md): Gets the display text, including prompt characters.
- [EditPositions](https://eto.picoe.ca/api/type/eto.forms.variablemaskedtextprovider/editpositions.md): Gets an enumeration of all valid edit positions in the mask.
- [IsEmpty](https://eto.picoe.ca/api/type/eto.forms.variablemaskedtextprovider/isempty.md): Gets a value indicating the mask is empty with no characters filled out.
- [MaskCompleted](https://eto.picoe.ca/api/type/eto.forms.variablemaskedtextprovider/maskcompleted.md): Gets a value indicating whether the mask has all required text to pass its validation.
- [Text](https://eto.picoe.ca/api/type/eto.forms.variablemaskedtextprovider/text.md): Gets or sets the text, usually excluding prompt or literal characters depending on the mask provider.

## Methods

- [Clear](https://eto.picoe.ca/api/type/eto.forms.variablemaskedtextprovider/clear.md): Called to clear a range of characters at the specified position in the masked text.
- [CommitText](https://eto.picoe.ca/api/type/eto.forms.variablemaskedtextprovider/committext.md): Called to update the display text after changes to the mask value.
- [Delete](https://eto.picoe.ca/api/type/eto.forms.variablemaskedtextprovider/delete.md): Called to delete a range of characters at the specified position in the masked text.
- [Insert](https://eto.picoe.ca/api/type/eto.forms.variablemaskedtextprovider/insert.md): Called to insert a character at the specified position in the masked text.
- [Replace](https://eto.picoe.ca/api/type/eto.forms.variablemaskedtextprovider/replace.md): Called to replace a character at the specified position in the masked text.
