FormInputRenderMode Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Used for configuring how form inputs should be rendered with respect to the current locale.
public enum FormInputRenderMode
type FormInputRenderMode =
Public Enum FormInputRenderMode
- Inheritance
-
FormInputRenderMode
Fields
Name | Value | Description |
---|---|---|
DetectCultureFromInputType | 0 | When appropriate, use InvariantCulture to format HTML input element values. Generate a hidden HTML form input for each value that uses culture-invariant formatting so model binding logic can parse with the correct culture. |
AlwaysUseCurrentCulture | 1 | Always use CurrentCulture to format input element values. |