ClassIPMaskTextBoxProvider
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class IPMaskTextBoxProvider : StandardMaskTextBoxProvider, IMaskProvider
Inheritance: objectStandardMaskTextBoxProviderIPMaskTextBoxProvider
Implements:
Inherited Members
Constructors
IPMaskTextBoxProvider(CultureInfo, RadMaskedEditBoxElement, bool, char, char, bool)
Initializes a new instance of the IPMaskTextBoxProvider
Declaration
public IPMaskTextBoxProvider(CultureInfo culture, RadMaskedEditBoxElement owner, bool allowPromptAsInput, char promptChar, char passwordChar, bool restrictToAscii)
Parameters
culture
The culture.
owner
The owner.
allowPromptAsInput
A value indicating whether the prompt char is allowed as input.
promptChar
The prompt character.
passwordChar
The password character.
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
Methods
KeyPress(object, KeyPressEventArgs)
Occurs when a key is pressed.
Declaration
public override void KeyPress(object sender, KeyPressEventArgs e)
Parameters
sender
The sender.
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
value
ToString()
Returns the formatted string.
Declaration
public override string ToString()
Returns
The formatted System.String that includes all the assigned character values.
Overrides