FormInputRenderMode Enum

Definition

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.

Applies to