Class holding settings determining the how the number will be displayed.
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
public class NumericTextBoxSetting : InputSetting, IStateManager, IRadNumericTextBox
Inheritance: objectInputSettingNumericTextBoxSetting
Implements:
Inherited Members
Constructors
public NumericTextBoxSetting()
Properties
Gets or sets the value that indicates whether the value will be rounded.
[ClientControlProperty]
public bool AllowRounding { get; set; }
The value that indicates whether the value will be rounded.
Gets or sets the culture used by NumericTextBoxSetting to format the numburs.
[Browsable(true)]
public CultureInfo Culture { get; set; }
A CultureInfo object that represents the current culture used. The default value is System.Threading.Thread.CurrentThread.CurrentUICulture.
Implements:
Gets or sets the number of decimal places to use in numeric values
[ClientControlProperty]
public int DecimalDigits { get; set; }
The number of decimal places to use in values.
Gets or sets the string to use as the decimal separator in values.
[ClientControlProperty]
public string DecimalSeparator { get; set; }
The string to use as the decimal separator in values.
Exceptions: ArgumentExceptionThe property is being set to an empty string.
ArgumentNullExceptionThe property is being set to null.
Gets or sets the string that separates groups of digits to the left of the decimal in values.
[ClientControlProperty]
public string GroupSeparator { get; set; }
The string that separates groups of digits to the left of the decimal in values.
Exceptions: ArgumentNullExceptionThe property is being set to null.
Gets or sets the number of digits in each group to the left of the decimal in values.
[ClientControlProperty]
public int GroupSizes { get; set; }
The number of digits in each group to the left of the decimal in values.
Exceptions: ArgumentNullExceptionThe property is being set to null.
Gets or sets the time, in milliseconds, the InvalidStyle should be displayd. Must be a positive integer.
public virtual int InvalidStyleDuration { get; set; }
The Time, in milliseconds, the InvalidStyle should be displayd. Must be a positive integer.
Gets or sets whether the control will keep its trailing zeros (according to the DecimalDigits setting) when focused.
[ClientControlProperty]
public bool KeepTrailingZerosOnFocus { get; set; }
Determines whether the control will keep its trailing zeros (according to the DecimalDigits setting) when focused.
Gets or sets the largest possible value of a NumericTextBoxSetting.
public virtual double MaxValue { get; set; }
The default value is positive 2^46.
Gets or sets the smallest possible value of a RadNumericTextBox.
public virtual double MinValue { get; set; }
The smallest possible value of a RadNumericTextBox.
Gets or sets the CSS style applied to control when is negative.
public virtual string NegativeCssClass { get; set; }
The CSS style applied to control when is negative.
Gets or sets the format pattern for negative values.
[ClientControlProperty]
public string NegativePattern { get; set; }
The format pattern for negative percent values.
Exceptions: ArgumentOutOfRangeExceptionThe property is being set to a value that is less than 0 or greater than 11.
protected virtual NumberFormatSettings NumberFormat { get; }
Gets or sets the format pattern for positive values.
[ClientControlProperty]
public string PositivePattern { get; set; }
The format pattern for positive percent values. The
Exceptions: ArgumentOutOfRangeExceptionThe property is being set to a value that is less than 0 or greater than 3.
Gets or sets the type of the RadNumericTextBox.
public virtual NumericType Type { get; set; }
The type of the RadNumericTextBox.
Implements:
Gets or sets the format pattern for zero values.
[ClientControlProperty]
public string ZeroPattern { get; set; }
The format pattern for zero percent values. The
Exceptions: ArgumentOutOfRangeExceptionThe property is being set to a value that is less than 0 or greater than 3.