Input for WinForms includes over 30 built-in format types, including Currency, Percent, Scientific, Hexadecimal, YesNo, GeneralDate, and more. You can easily specify the formatting method by setting just one property, FormatType.
Input for WinForms controls support masked input when you set the EditMask property to a mask string. Masking is useful for formatting special input values such as telephone numbers and zip codes. You have the flexibility to define your own placeholders and easily obtain the input value with or without literals and placeholders.
Most Input for WinForms controls provide a typed Value property that is specifically designed to be data bound and supports automatic typing determined by the data field.
Specify validation rules without having to handle coded events using Input for WinForms controls' pre and post validation property settings . Pre-validation allows you to check raw input text, while post-validation enables to verify that the value falls within certain criteria. Validate values against an exact list of allowed or excluded values, use wild card string patterns, regular expressions, or simply fire a validation event and handle this yourself.
Data parsing is converting strings entered by the user to the data type representation (the opposite of data formatting). ComponentOne Input controls provide properties and events which enable you to fine-tune different aspects of parsing.
All Input controls support visual styles, including Office 2007 and 2010 styles. Provide a modern and consistent look to your application by using the styled C1Button and C1Label controls along with other ComponentOne WinForms controls.
ComponentOne Input controls contain a Culture property which allows you to customize the culture at the control level. You can configure many additional regional settings such as calendar information for DateTime input, and special characters such as the decimal point.
Detect errors while parsing or validating input values with ease. ComponentOne Input controls have an ErrorInfo property which allows you to customize the error handling. For example, alert users with a beep, prevent them from putting focus to another control, display an error message, or reset the value.
ComponentOne Input controls provide flexible rules for handling NULL (DBNull) and empty values. You can display specific text for null values using the NullText property and allow the user to enter null values in several different ways.
C1DateEdit, C1NumericEdit, and C1DropDownControl feature an additional, optional modal button which is useful for launching a special dialog or any other custom action.
The C1NumericEdit control contains a drop-down calculator. It follows the standard Windows calculator model, allowing the user to perform calculations without leaving the control. The calculator is optional, and supports visual styles and UI strings with localization.
To create your own custom drop-down editor, use the C1DropDownControl. It allows you to create any drop-down editor you need. Drop-down editors are created visually as forms in your project.