WPF Numeric Text Boxes
WPF Elements provides three text boxes specialised for the display and entry of numeric values. All of these boxes prevent invalid input such as letters, and can also be constrained to allow only values within a given range. All support conditional formatting using WPF styling, and follow the formatting rules of the local culture or can be set to use the formatting rules of another culture. All can be used in conjunction with the Spin and SpinDecorator controls to create numeric up-down controls.
The CurrencyTextBox supports the entry and display of currency values. In addition to the normal support for conditional formatting, the CurrencyTextBox has built-in support for easily highlighting negative values.
The NumericTextBox supports the entry and display of decimal values.
The IntegerTextBox supports the entry and display of whole number values.