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

AlwaysUseCurrentCulture 1

Always use CurrentCulture to format input element values.

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.

Applies to