# Culture (Regional) Settings

This topic provides info about the properties used by C1Input to define CultureInfo.

## Content



Regional settings affect almost all aspects of **C1Input** functionality. Formatting, parsing, validating data and performing masked input all depend on cultural settings for string comparison, numeric and date time formats and special characters, such as decimal point character. See description of the [CultureInfo](http://msdn2.microsoft.com/en-us/library/system.globalization.cultureinfo(vs.80).aspx) class in .NET Framework documentation for details on culture-specific settings.

**C1Input** controls use the following properties to define **CultureInfo**:

*   **Culture** property
    
    The [Culture](/componentone/api/win/online-input/dotnet-framework-api/C1.Win.C1Input.4.8/C1.Win.C1Input.C1TextBox.Culture.html) property defines what culture is used by the control. It is an integer ID with a list of all cultures available at design time. The default is **Current Culture**, which is the current culture used by the application containing the control.
    
*   **CultureInfo** property
    
    The CultureInfo property contains all the settings, the CultureInfo object corresponding to the specified culture ID.
    
*   **UserCultureOverride** property
    
    The Boolean [UserCultureOverride](/componentone/api/win/online-input/dotnet-framework-api/C1.Win.C1Input.4.8/C1.Win.C1Input.C1TextBox.UserCultureOverride.html) property allows the culture settings to be overridden by the end user regional settings.
    

You can change any settings in the CultureInfo programmatically. To enable this, **C1Input** controls fire the [CultureInfoSetup](/componentone/api/win/online-input/dotnet-framework-api/C1.Win.C1Input.4.8/C1.Win.C1Input.C1TextBox.CultureInfoSetup.html) event at startup and whenever the Culture property is set. Handling this event you can fine-tune various CultureInfo settings. For example, you may want to set CultureInfo.DateTimeFormat.FirstDayOfWeek according to your application needs.

Another setting affecting most of **C1Input** functionality is the Boolean [CaseSensitive](/componentone/api/win/online-input/dotnet-framework-api/C1.Win.C1Input.4.8/C1.Win.C1Input.C1TextBox.CaseSensitive.html) property (although it is not culture-related). Case sensitivity is used in string comparisons. **C1Input** controls have a CaseSensitive property that defines the default case sensitivity for all operations. You can override this setting in most classes controlling particular functionality, such as [ParseInfo](/componentone/api/win/online-input/dotnet-framework-api/C1.Win.C1Input.4.8/C1.Win.C1Input.ParseInfo.html), [PreValidation](/componentone/api/win/online-input/dotnet-framework-api/C1.Win.C1Input.4.8/C1.Win.C1Input.PreValidation.html), [PostValidation](/componentone/api/win/online-input/dotnet-framework-api/C1.Win.C1Input.4.8/C1.Win.C1Input.PostValidation.html), and so on.

## See Also

[Edit Mask](/componentone/docs/win/online-input/usingthec1inputcontr/editmask)