# FixedMaskedTextProvider 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 class FixedMaskedTextProvider : IMaskedTextProvider
```

Implements a fixed masked text provider, using the standard System.ComponentModel.MaskedTextProvider.

**Remarks:** This wraps the standard provider in an interface used by the [MaskedTextBox](https://eto.picoe.ca/api/type/eto.forms.maskedtextbox.md) so that we can provide different implementations of masked text providers. The implementation of this is defined in each platform assembly so that we can use this from a PCL assembly.

**Derived types:** [FixedMaskedTextProvider<T>](https://eto.picoe.ca/api/type/eto.forms.fixedmaskedtextprovider-1.md)

## Constructors

- [FixedMaskedTextProvider](https://eto.picoe.ca/api/type/eto.forms.fixedmaskedtextprovider/ctor.md): Initializes a new instance of the [FixedMaskedTextProvider](https://eto.picoe.ca/api/type/eto.forms.fixedmaskedtextprovider.md) class.

## Properties

- [AllowPromptAsInput](https://eto.picoe.ca/api/type/eto.forms.fixedmaskedtextprovider/allowpromptasinput.md): Gets a value indicating whether the [FixedMaskedTextProvider.PromptChar](https://eto.picoe.ca/api/type/eto.forms.fixedmaskedtextprovider/promptchar.md) can be a valid input character by the user.
- [AsciiOnly](https://eto.picoe.ca/api/type/eto.forms.fixedmaskedtextprovider/asciionly.md): Gets a value indicating whether the input only accepts ascii characters A-Z or a-z.
- [AutoAdvance](https://eto.picoe.ca/api/type/eto.forms.fixedmaskedtextprovider/autoadvance.md): Gets or sets a value indicating that the cursor position will advance past literals to the next available edit position automatically.
- [Culture](https://eto.picoe.ca/api/type/eto.forms.fixedmaskedtextprovider/culture.md): Gets the culture for the mask, as specified in the constructor.
- [DisplayText](https://eto.picoe.ca/api/type/eto.forms.fixedmaskedtextprovider/displaytext.md): Gets the display text, including prompt characters.
- [EditPositions](https://eto.picoe.ca/api/type/eto.forms.fixedmaskedtextprovider/editpositions.md): Gets an enumeration of all valid edit positions in the mask.
- [IncludeLiterals](https://eto.picoe.ca/api/type/eto.forms.fixedmaskedtextprovider/includeliterals.md): Gets or sets a value indicating that the [FixedMaskedTextProvider.Text](https://eto.picoe.ca/api/type/eto.forms.fixedmaskedtextprovider/text.md) property includes literals in the mask.
- [IncludePrompt](https://eto.picoe.ca/api/type/eto.forms.fixedmaskedtextprovider/includeprompt.md): Gets or sets a value indicating that the [FixedMaskedTextProvider.Text](https://eto.picoe.ca/api/type/eto.forms.fixedmaskedtextprovider/text.md) property includes prompt characters for each edit position in the mask.
- [IsEmpty](https://eto.picoe.ca/api/type/eto.forms.fixedmaskedtextprovider/isempty.md): Gets a value indicating the mask is empty with no characters filled out.
- [IsPassword](https://eto.picoe.ca/api/type/eto.forms.fixedmaskedtextprovider/ispassword.md): Gets or sets a value indicating whether the mask should be password protected.
- [Mask](https://eto.picoe.ca/api/type/eto.forms.fixedmaskedtextprovider/mask.md): Gets the mask for this provider, as specified in the constructor.
- [MaskCompleted](https://eto.picoe.ca/api/type/eto.forms.fixedmaskedtextprovider/maskcompleted.md): Gets a value indicating whether the mask has all required text to pass its validation.
- [MaskFull](https://eto.picoe.ca/api/type/eto.forms.fixedmaskedtextprovider/maskfull.md): Gets a value indicating that all available edit positions in the mask have been filled out.
- [PasswordChar](https://eto.picoe.ca/api/type/eto.forms.fixedmaskedtextprovider/passwordchar.md): In password mode, gets or sets the character to show for filled edit characters in the mask.
- [PromptChar](https://eto.picoe.ca/api/type/eto.forms.fixedmaskedtextprovider/promptchar.md): Gets or sets the character to show for each unfilled edit position in the mask.
- [SkipLiterals](https://eto.picoe.ca/api/type/eto.forms.fixedmaskedtextprovider/skipliterals.md): Gets or sets a value indicating that the user can type literals to skip them in the mask.
- [Text](https://eto.picoe.ca/api/type/eto.forms.fixedmaskedtextprovider/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.fixedmaskedtextprovider/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.fixedmaskedtextprovider/committext.md): Called to update the display text after changes to the mask value.
- [Delete](https://eto.picoe.ca/api/type/eto.forms.fixedmaskedtextprovider/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.fixedmaskedtextprovider/insert.md): Called to insert a character at the specified position in the masked text.
- [NormalizeWhitespace](https://eto.picoe.ca/api/type/eto.forms.fixedmaskedtextprovider/normalizewhitespace.md): (static) Replaces every whitespace character in `text` that isn't a regular space with one.
- [Replace](https://eto.picoe.ca/api/type/eto.forms.fixedmaskedtextprovider/replace.md): Called to replace a character at the specified position in the masked text.
