Share via


HtmlHelper.CreateForm Method

Definition

Override this method to return an MvcForm subclass. That subclass may change EndForm() behavior.

protected:
 virtual Microsoft::AspNetCore::Mvc::Rendering::MvcForm ^ CreateForm();
protected virtual Microsoft.AspNetCore.Mvc.Rendering.MvcForm CreateForm ();
abstract member CreateForm : unit -> Microsoft.AspNetCore.Mvc.Rendering.MvcForm
override this.CreateForm : unit -> Microsoft.AspNetCore.Mvc.Rendering.MvcForm
Protected Overridable Function CreateForm () As MvcForm

Returns

A new MvcForm instance.

Applies to