Udostępnij za pośrednictwem


System.Web.Mvc.Html Namespace

The System.Web.Mvc.Html namespace contains classes that help render HTML controls in an MVC application. The namespace includes classes that support forms, input controls, links, partial views, validation, and more.

Classes

  Class Description
Public class ChildActionExtensions Represents support for calling child action methods and rendering the result inline in a parent view.
Public class DisplayExtensions Represents support for rendering object values as HTML.
Public class DisplayTextExtensions Provides a way to render object values as HTML.
Public class EditorExtensions Represents support for the HTML input element in an application.
Public class FormExtensions Represents support for HTML in an application.
Public class InputExtensions Represents support for HTML input controls in an application.
Public class LabelExtensions Represents support for the HTML label element in an ASP.NET MVC view.
Public class LinkExtensions Represents support for HTML links in an application.
Public class MvcForm Represents an HTML form element in an MVC view.
Public class PartialExtensions Represents the functionality to render a partial view as an HTML-encoded string.
Public class RenderPartialExtensions Provides support for rendering a partial view.
Public class SelectExtensions Represents support for making selections in a list.
Public class TextAreaExtensions Represents support for HTML textarea controls.
Public class ValidationExtensions Provides support for validating the input from an HTML form.

See Also

Reference

System.Web.Mvc

System.Web.Mvc.Ajax

System.Web.Mvc.Async