Share via


HtmlHelperOptions Class

Definition

Provides programmatic configuration for the HTML helpers and ViewContext.

public ref class HtmlHelperOptions
public class HtmlHelperOptions
type HtmlHelperOptions = class
Public Class HtmlHelperOptions
Inheritance
HtmlHelperOptions

Constructors

HtmlHelperOptions()

Properties

CheckBoxHiddenInputRenderMode

Gets or sets the way hidden inputs are rendered for checkbox tag helpers and html helpers.

ClientValidationEnabled

Gets or sets a value that indicates whether client-side validation is enabled.

FormInputRenderMode

Gets or sets a value that determines how form <input/> elements are rendered.

Html5DateRenderingMode

Gets or sets the Microsoft.AspNetCore.Mvc.Rendering.Html5DateRenderingMode.#ctor value.

IdAttributeDotReplacement

Gets or sets the String that replaces periods in the ID attribute of an element.

ValidationMessageElement

Gets or sets the element name used to wrap a top-level message generated by ValidationMessage(String, String, Object, String) and other overloads.

ValidationSummaryMessageElement

Gets or sets the element name used to wrap a top-level message generated by ValidationSummary(Boolean, String, Object, String) and other overloads.

Applies to