Provide smarter input controls in your WPF apps
With ComponentOne Input™ for WPF, you get several controls for specialized input, including phone numbers, percentages, numerical ranges, and files.
Masked Text Input
Provide instant, code-free formatting on user input with the MaskedTextBox control. The Mask property lets you secure your users' information by displaying the input text as a character like an asterisk. Some characters, like dashes and forward slashes, will not be masked.
Numeric Formatting and Validation
The NumericBox control restricts input to a specific numeric range and increment amount. It prevents users from accidentally entering invalid data and formats the number as it is edited. The control supports standard formatting strings defined by Microsoft, and uses the same syntax as the classic Windows Forms controls. Supported formats include: fixed-point (F), number (N), general (G), currency (C), exponential (E), hexadecimal (X), and percent (P).
Select a Value Range
The RangeSlider control extends the basic slider control and provides two thumbs, making it possible for users to select a range. Users can drag each thumb individually or drag the center to modify both at the same time.
The FilePicker control shows a file picker dialog box that allows users to select files for selection or upload. You can limit the browsable file types based on a file extension or category using the Filter property.
The MaskedTextBox also has watermark support, so you can use it as a regular TextBox with a watermark. When no text has been entered, provide contextual clues of what value users should enter.
Standard Format Strings
Provide instant formatting on user input using the Mask or Format properties. The MaskedTextBox and NumericBox controls support the standard formatting strings defined by Microsoft, and uses the same syntax as the classic Windows Forms controls. With the Format property, you can use the familiar .NET format strings to display numbers in several formats with support for decimal places. Supported formats include: fixed-point (F), number (N), general (G), currency (C), exponential (E), hexadecimal (X), and percent (P).
Include Prompts and Literals
Choose whether or not to show prompt characters and literals in the MaskedTextBox control by simply setting one property. The prompt character indicates to the user that text can be entered (such as _ or *). Literals are non-mask characters that will appear as themselves within the mask (such as / or -).
Filter File Types
With the FilePicker control you can limit the browsable file types based on a file extension or category using the Filter property.
- * Available only in ComponentOne Studio Enterprise
- 5 .NET 5 Version Available
- Reporting & Documents
- C1Word Library
- FlexReport Designer