HtmlHelperExtensions.EditorsForModel Method

Namespace:
Weavy.Web.Extensions
Assembly:
Weavy.Web.dll

EditorsForModel(HtmlHelper, Object, String, Boolean, Boolean, Boolean, IEnumerable, IEnumerable)

Returns an HTML input field for each property in the model.

public static MvcHtmlString EditorsForModel(this HtmlHelper html, object model = null, string group = null, bool formGroups = true, bool formLabels = true, bool formText = true, IEnumerable include = null, IEnumerable exclude = null)

Parameters

html
System.Web.Mvc.HtmlHelper
model
System.Object
group
System.String
formGroups
System.Boolean
formLabels
System.Boolean
formText
System.Boolean
include
System.Collections.Generic.IEnumerable{System.String}
exclude
System.Collections.Generic.IEnumerable{System.String}

Returns

System.Web.Mvc.MvcHtmlString

An HTML input element for each property in the model.