Properties and Configuration
Here are the properties supported by the RadNumericBox control:
- AcceptsDecimalSeparator: Gets or sets a value indicating whether the TextBox part of the component will accept the decimal separator as input.
- AllowNullValue: Gets or sets a boolean value indicating whether the Value property may be set to null.
- ButtonsVisibility: Gets or sets the Visibility for the Increase and Descrease buttons.
- DecreaseButtonStyle: Gets or sets the Style object that defines the appearance of the DecreaseButton control part. The TargetType of the Style object should point to the Telerik.UI.Xaml.Controls.Primitives.Common.InlineButton type.
- Header: Gets or sets the object that represents the header content.
- HeaderTemplate: Gets or sets the DataTemplate instance that defines the appearance of the header.
- HeaderStyle: Gets or sets the Style object that defines the appearance of the Header part of the Control.
- IncreaseButtonStyle: Gets or sets the Style object that defines the appearance of the IncreaseButton control part. The TargetType of the Style object should point to the Telerik.UI.Xaml.Controls.Primitives.Common.InlineButton type.
- InputScope: Gets or sets the InputScope of the TextBox element inside the RadNumericBox. Note, that some of the InputScopeNameValue options are not applicable for the RadNumericBox.
- IsEditable: Gets or sets the value indicating whether the TextBox part of the component may be directly edited through the keyboard.
- LargeChange: Gets or sets a value to be added to or subtracted from the Value property. Defaults to 10. The LargeChange is used when the page up/page down keys are pressed.
- Maximum: Gets or sets the highest possible Value of the range element. Defaults to 100.
- Minimum: Gets or sets the lowest possible Value of the range element. Defaults to 0.
- SmallChange: Gets or sets the value to be added to or subtracted from the Value. Defaults to 1. The SmallChange is used when scrolling the mouse wheel while the control is focused and also when the up/down arrow keys are pressed.
- TextBoxVisibility: Gets or sets the Visibility value for the TextBox part. The default value is Visible.
- Value: Gets or sets the current Value. This value may be coerced to fit the current range restrictions. Defaults to 0.
- ValueFormat: Gets or sets the string that is used to format the current Value of the component. The String.Format routine is used and the value specified should be in the form required by this method: { index[,alignment][ :formatString] }.
You can check the available format strings in the Standard Numeric Format Strings topic on Microsoft Docs.
- ValueFormatSelector: Gets or sets the IFormatSelector that is used to determine the format for the current Value of the component.
- ValueString: Gets the current string representation of the Value property, as displayed in the TextBox part.
- Watermark: Gets or sets the object that represents the Watermark displayed by the control. The Watermark is visible when the current Value is not set (null).
- WatermarkTemplate: Gets or sets the DataTemplate instance that defines the appearance of the Watermark value.