Class IPMaskTextBoxProvider
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class IPMaskTextBoxProvider : StandardMaskTextBoxProvider, IMaskProvider
Constructors
IPMaskTextBoxProvider(CultureInfo, RadMaskedEditBoxElement, Boolean, Char, Char, Boolean)
Initializes a new instance of the IPMaskTextBoxProvider
Declaration
public IPMaskTextBoxProvider(CultureInfo culture, RadMaskedEditBoxElement owner, bool allowPromptAsInput, char promptChar, char passwordChar, bool restrictToAscii)
Parameters
System.Globalization.CultureInfo
culture
The culture. |
RadMaskedEditBoxElement
owner
The owner. |
System.Boolean
allowPromptAsInput
A value indicating whether the prompt char is allowed as input. |
System.Char
promptChar
The prompt character. |
System.Char
passwordChar
The password character. |
System.Boolean
restrictToAscii
A value indicating whether to restrict the input to ASCII. |
Properties
ErrorMessage
Gets or sets the error message.
Declaration
public virtual string ErrorMessage { get; set; }
Property Value
System.String
|
Value
Gets or sets the value.
Declaration
public override object Value { get; set; }
Property Value
System.Object
|
Overrides
Methods
KeyPress(Object, KeyPressEventArgs)
Occurs when a key is pressed.
Declaration
public override void KeyPress(object sender, KeyPressEventArgs e)
Parameters
System.Object
sender
The sender. |
System.Windows.Forms.KeyPressEventArgs
e
Key event arguments. |
Overrides
SetValueCore(Object)
Sets the string interpretation of the value, using the KeyPress(Object, KeyPressEventArgs) method, char by char.
Declaration
protected virtual void SetValueCore(object value)
Parameters
System.Object
value
|
ToString()
Returns the formatted string.
Declaration
public override string ToString()
Returns
System.String
The formatted System.String that includes all the assigned character values. |