MvcForm MvcForm MvcForm Class

Definition

An HTML form element in an MVC view.

public class MvcForm : IDisposable
type MvcForm = class
    interface IDisposable
Public Class MvcForm
Implements IDisposable
Inheritance
MvcFormMvcFormMvcForm
Implements

Constructors

MvcForm(ViewContext, HtmlEncoder) MvcForm(ViewContext, HtmlEncoder) MvcForm(ViewContext, HtmlEncoder)

Initializes a new instance of MvcForm.

Methods

Dispose() Dispose() Dispose()
EndForm() EndForm() EndForm()

Renders the </form> end tag to the response.

GenerateEndForm() GenerateEndForm() GenerateEndForm()

Renders EndOfFormContent and the </form>.

Applies to