LocaleId

DateFormField.LocaleId property

Gets or sets the locale ID of the form field, which represents the culture or regional settings associated with the form field.

public int LocaleId { get; set; }

Remarks

The LocaleId property specifies a locale identifier (LCID) that corresponds to a particular culture or region.

Examples

The following example demonstrates how to set the LocaleId property:

Set the LocaleId to represent the English (United States) culture
dateField.LocaleId = new CultureInfo("en-US").LCID;

See Also