Click or drag to resize

FixedMaskedTextProvider Class

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

Namespace:  Eto.Forms
Assembly:  Eto (in Eto.dll) Version: 2.4.0
Syntax
public class FixedMaskedTextProvider : IMaskedTextProvider

The FixedMaskedTextProvider type exposes the following members.

Constructors
  NameDescription
Public methodFixedMaskedTextProvider
Initializes a new instance of the FixedMaskedTextProvider class.
Top
Properties
  NameDescription
Public propertyAllowPromptAsInput
Gets a value indicating whether the PromptChar can be a valid input character by the user.
Public propertyAsciiOnly
Gets a value indicating whether the input only accepts ascii characters A-Z or a-z.
Public propertyAutoAdvance
Gets or sets a value indicating that the cursor position will advance past literals to the next available edit position automatically.
Public propertyCulture
Gets the culture for the mask, as specified in the constructor.
Public propertyDisplayText
Gets the display text, including prompt characters.
Public propertyEditPositions
Gets an enumeration of all valid edit positions in the mask.
Public propertyIncludeLiterals
Gets or sets a value indicating that the Text property includes literals in the mask.
Public propertyIncludePrompt
Gets or sets a value indicating that the Text property includes prompt characters for each edit position in the mask.
Public propertyIsEmpty
Gets a value indicating the mask is empty with no characters filled out.
Public propertyIsPassword
Gets or sets a value indicating whether the mask should be password protected.
Public propertyMask
Gets the mask for this provider, as specified in the constructor.
Public propertyMaskCompleted
Gets a value indicating whether the mask has all required text to pass its validation.
Public propertyMaskFull
Gets a value indicating that all available edit positions in the mask have been filled out.
Public propertyPasswordChar
In password mode, gets or sets the character to show for filled edit characters in the mask.
Public propertyPromptChar
Gets or sets the character to show for each unfilled edit position in the mask.
Public propertySkipLiterals
Gets or sets a value indicating that the user can type literals to skip them in the mask.
Public propertyText
Gets or sets the text, usually excluding prompt or literal characters depending on the mask provider.
Top
Methods
  NameDescription
Public methodClear
Called to clear a range of characters at the specified position in the masked text.
Public methodDelete
Called to delete a range of characters at the specified position in the masked text.
Public methodInsert
Called to insert a character at the specified position in the masked text.
Public methodReplace
Called to replace a character at the specified position in the masked text.
Top
Remarks
This wraps the standard provider in an interface used by the MaskedTextBox 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.
See Also