MvcForm Class

Definition

An HTML form element in an MVC view.

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

Constructors

MvcForm(ViewContext, HtmlEncoder)

Initializes a new instance of MvcForm.

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

EndForm()

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

GenerateEndForm()

Renders EndOfFormContent and the </form>.

Applies to