Class NumericCharacterTextBoxProvider
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class NumericCharacterTextBoxProvider : IMaskCharacterProvider
Constructors
NumericCharacterTextBoxProvider(String, CultureInfo, NumericCharacterTextBoxProvider.RadNumericMaskFormatType, RadMaskedEditBoxElement)
Initializes a new instance of the NumericTextBoxProvider> class using the specified mask and culture.
Declaration
public NumericCharacterTextBoxProvider(string mask, CultureInfo culture, NumericCharacterTextBoxProvider.RadNumericMaskFormatType numericType, RadMaskedEditBoxElement owner)
Parameters
System.String
mask
A System.String that represents the input mask. |
System.Globalization.CultureInfo
culture
A System.Globalization.CultureInfo that is used to set region-sensitive separator characters. |
NumericCharacterTextBoxProvider.RadNumericMaskFormatType
numericType
|
RadMaskedEditBoxElement
owner
|
Properties
Culture
Gets the culture that determines the value of the localizable separators and placeholders in the input mask.
Declaration
public CultureInfo Culture { get; }
Property Value
System.Globalization.CultureInfo
A System.Globalization.CultureInfo containing the culture information associated with the input mask. |
Mask
Gets the input mask.
Declaration
public string Mask { get; }
Property Value
System.String
A System.String containing the full mask. |
PercentageFloatValue
Declaration
public double PercentageFloatValue { get; }
Property Value
System.Double
|
PromptChar
Declaration
public char PromptChar { get; set; }
Property Value
System.Char
|
Implements
Methods
AllowAppendCharacters()
Declaration
protected virtual bool AllowAppendCharacters()
Returns
System.Boolean
|
Delete()
EnsureMinusSign(String, String)
Declaration
protected virtual string EnsureMinusSign(string input, string parsedInput)
Parameters
System.String
input
|
System.String
parsedInput
|
Returns
System.String
|
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
ParseText(String)
Declaration
protected virtual string ParseText(string value)
Parameters
System.String
value
|
Returns
System.String
|
ParseTextCore(String, out Int32, out MaskedTextResultHint)
Declaration
protected virtual string ParseTextCore(string value, out int testPosition, out MaskedTextResultHint resultHint)
Parameters
System.String
value
|
System.Int32
testPosition
|
System.ComponentModel.MaskedTextResultHint
resultHint
|
Returns
System.String
|
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 virtual 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
|