Click or drag to resize

MaskedTextStepper Class

Text box with masking capabilities.
Inheritance Hierarchy

Namespace:  Eto.Forms
Assembly:  Eto (in Eto.dll) Version: 2.4.0
Syntax
[ContentPropertyAttribute("Provider")]
public class MaskedTextStepper : TextStepper

The MaskedTextStepper type exposes the following members.

Constructors
  NameDescription
Public methodMaskedTextStepper
Initializes a new instance of the MaskedTextStepper class.
Public methodMaskedTextStepper(IMaskedTextProvider)
Initializes a new instance of the MaskedTextStepper class with the specified masked text provider.
Top
Properties
  NameDescription
Public propertyInsertMode
Gets or sets the mode for insertion. Use IsOverwrite to determine the current mode.
Public propertyIsOverwrite
Gets a value indicating whether typing will overwrite text.
Public propertyMaskCompleted
Gets a value indicating whether the mask is completed.
Public propertyProvider
Gets or sets the masked text provider to specify the mask format.
Public propertyShowPlaceholderWhenEmpty
Gets or sets a value indicating that the placeholder should be shown when the mask is empty and the control does not have focus.
Public propertyShowPromptOnFocus
Gets or sets a value indicating that the prompt characters should only be shown when the control has focus.
Public propertyText
Gets or sets the text of the control including any mask characters.
(Overrides TextControlText.)
Top
Methods
Remarks
This uses the IMaskedTextProvider as its interface to the mask. The mask can implement any format it wishes, including both fixed or variable length masks.
See Also