Class StandartCharacterMaskEditBoxProvider
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class StandartCharacterMaskEditBoxProvider : IMaskCharacterProvider
Constructors
StandartCharacterMaskEditBoxProvider(String, CultureInfo, RadMaskedEditBoxElement, Boolean, Char, Char, Boolean)
Declaration
public StandartCharacterMaskEditBoxProvider(string mask, CultureInfo culture, RadMaskedEditBoxElement owner, bool allowPromptAsInput, char promptChar, char passwordChar, bool restrictToAscii)
Parameters
System.String
mask
|
System.Globalization.CultureInfo
culture
|
RadMaskedEditBoxElement
owner
|
System.Boolean
allowPromptAsInput
|
System.Char
promptChar
|
System.Char
passwordChar
|
System.Boolean
restrictToAscii
|
Fields
provider
Declaration
protected MaskedTextProvider provider
Field Value
System.ComponentModel.MaskedTextProvider
|
textBoxItem
Properties
InsertKeyMode
Gets or sets the text insertion mode of the masked text box control.
Declaration
public InsertKeyMode InsertKeyMode { get; set; }
Property Value
System.Windows.Forms.InsertKeyMode
An System.Windows.Forms.InsertKeyMode value that indicates the current insertion mode. The default is System.Windows.Forms.InsertKeyMode.Default. |
Exceptions
System.ComponentModel.InvalidEnumArgumentException
An invalid System.Windows.Forms.InsertKeyMode value was supplied when setting this property. |
InternalProvider
Declaration
protected MaskedTextProvider InternalProvider { get; }
Property Value
System.ComponentModel.MaskedTextProvider
|
IsOverwriteMode
Gets a value that specifies whether new user input overwrites existing input.
Declaration
public bool IsOverwriteMode { get; }
Property Value
System.Boolean
true if System.Windows.Forms.MaskedTextBox will overwrite existing characters as the user enters new ones; false if System.Windows.Forms.MaskedTextBox will shift existing characters forward. The default is false. |
MaskCompleted
Gets a value indicating whether all required inputs have been entered into the formatted string.
Declaration
public bool MaskCompleted { get; }
Property Value
System.Boolean
true if all required input has been entered into the mask; otherwise, false. |
MaskFull
Declaration
public bool MaskFull { get; }
Property Value
System.Boolean
|
PromptChar
Declaration
public char PromptChar { get; set; }
Property Value
System.Char
|
Implements
Methods
Delete()
KeyDown(Object, KeyEventArgs)
Declaration
public void KeyDown(object sender, KeyEventArgs e)
Parameters
System.Object
sender
|
System.Windows.Forms.KeyEventArgs
e
|
Implements
KeyPress(Object, KeyPressEventArgs)
Declaration
public void KeyPress(object sender, KeyPressEventArgs e)
Parameters
System.Object
sender
|
System.Windows.Forms.KeyPressEventArgs
e
|
Implements
OnIsOverwriteModeChanged(EventArgs)
Raises the System.Windows.Forms.MaskedTextBox.IsOverwriteModeChanged event.
Declaration
protected virtual void OnIsOverwriteModeChanged(EventArgs e)
Parameters
System.EventArgs
e
An System.EventArgs that contains event data. |
RemoveAt(Int32, Int32)
Declaration
public bool RemoveAt(int startPosition, int endPosition)
Parameters
System.Int32
startPosition
|
System.Int32
endPosition
|
Returns
System.Boolean
|
Implements
Set(String, out Int32, out MaskedTextResultHint)
Declaration
public bool Set(string input, out int testPosition, out MaskedTextResultHint resultHint)
Parameters
System.String
input
|
System.Int32
testPosition
|
System.ComponentModel.MaskedTextResultHint
resultHint
|
Returns
System.Boolean
|
Implements
ToString(Boolean, Boolean)
Declaration
public string ToString(bool includePromt, bool includeLiterals)
Parameters
System.Boolean
includePromt
|
System.Boolean
includeLiterals
|
Returns
System.String
|
Implements
Validate(String)
Declaration
public bool Validate(string value)
Parameters
System.String
value
|
Returns
System.Boolean
|
Events
IsOverwriteModeChanged
Occurs after the insert mode has changed.
Declaration
public event EventHandler IsOverwriteModeChanged
Event Type
System.EventHandler
|