[]
        
(Showing Draft Content)

C1.Win.Input.C1MaskedTextBox

C1MaskedTextBox Class

Represents a Windows textbox control with a mask to distinguish between proper and improper user input.

Namespace: C1.Win.Input
Assembly: C1.Win.Input.10.dll
Syntax
[ToolboxBitmap(typeof(C1MaskedTextBox), "C1MaskedTextBox.png")]
public class C1MaskedTextBox : C1TextBoxBase, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IView, ISupportUia, ISupportInitialize, ITextBoxBase, ITextBoxHolder, IInputEditor, IEmbeddedEditor
<ToolboxBitmap(GetType(C1MaskedTextBox), "C1MaskedTextBox.png")>
Public Class C1MaskedTextBox
    Inherits C1TextBoxBase
    Implements IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IView, ISupportUia, ISupportInitialize, ITextBoxBase, ITextBoxHolder, IInputEditor, IEmbeddedEditor

Constructors

Name Description
C1MaskedTextBox()

Initializes a new instance of the C1MaskedTextBox class.

Properties

Name Description
Command

Gets or sets the ICommand whose Execute(object) method will be called when the OnValueChanged(EventArgs) event gets invoked.

CommandParameter

Gets or sets the parameter to pass to the Command property.

EditMask

Gets or sets the edit mask string restricting user input.

ExitOnLastChar

Gets or sets whether the next control in the tab order receives the focus as soon as the control is filled at the last character.

MaskInfo

Gets the settings of edit mask.

Styles

Gets or sets the C1MaskedTextBox styles.

Methods

Name Description
Dispose(bool)

Releases the unmanaged resources used by the C1TextBox control.

OnDataTypeChanged(EventArgs)

Raises the DataTypeChanged event.

OnValueChanged(EventArgs)

Raises the ValueChanged event.

ResetMaskInfo()

Restores the default value of the MaskInfo property.

ShouldSerializeMaskInfo()

Specifies whether to save the value of the MaskInfo property.