EditorExtensions Class (System.Web.Mvc.Html)

Switch View :
ScriptFree
.NET Framework Class Library
EditorExtensions Class

Represents support for the HTML input element in an application.

Inheritance Hierarchy

System.Object
  System.Web.Mvc.Html.EditorExtensions

Namespace:  System.Web.Mvc.Html
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)
Syntax

Visual Basic
<ExtensionAttribute> _
Public NotInheritable Class EditorExtensions
C#
public static class EditorExtensions
Visual C++
[ExtensionAttribute]
public ref class EditorExtensions abstract sealed
Methods

  Name Description
Public method Static member Editor(HtmlHelper, String) Returns an HTML input element for each property in the object that is represented by the expression.
Public method Static member Editor(HtmlHelper, String, Object) Returns an HTML input element for each property in the object that is represented by the expression, using additional view data.
Public method Static member Editor(HtmlHelper, String, String) Returns an HTML input element for each property in the object that is represented by the expression, using the specified template.
Public method Static member Editor(HtmlHelper, String, String, Object) Returns an HTML input element for each property in the object that is represented by the expression, using the specified template and additional view data.
Public method Static member Editor(HtmlHelper, String, String, String) Returns an HTML input element for each property in the object that is represented by the expression, using the specified template and HTML field name.
Public method Static member Editor(HtmlHelper, String, String, String, Object) Returns an HTML input element for each property in the object that is represented by the expression, using the specified template, HTML field name, and additional view data.
Public method Static member EditorFor<TModel, TValue>(HtmlHelper<TModel>, Expression<Func<TModel, TValue>>) Returns an HTML input element for each property in the object that is represented by the Expression expression.
Public method Static member EditorFor<TModel, TValue>(HtmlHelper<TModel>, Expression<Func<TModel, TValue>>, Object) Returns an HTML input element for each property in the object that is represented by the expression, using additional view data.
Public method Static member EditorFor<TModel, TValue>(HtmlHelper<TModel>, Expression<Func<TModel, TValue>>, String) Returns an HTML input element for each property in the object that is represented by the Expression expression, using the specified template.
Public method Static member EditorFor<TModel, TValue>(HtmlHelper<TModel>, Expression<Func<TModel, TValue>>, String, Object) Returns an HTML input element for each property in the object that is represented by the expression, using the specified template and additional view data.
Public method Static member EditorFor<TModel, TValue>(HtmlHelper<TModel>, Expression<Func<TModel, TValue>>, String, String) Returns an HTML input element for each property in the object that is represented by the Expression expression, using the specified template and HTML field name.
Public method Static member EditorFor<TModel, TValue>(HtmlHelper<TModel>, Expression<Func<TModel, TValue>>, String, String, Object) Returns an HTML input element for each property in the object that is represented by the expression, using the specified template, HTML field name, and additional view data.
Public method Static member EditorForModel(HtmlHelper) Returns an HTML input element for each property in the model.
Public method Static member EditorForModel(HtmlHelper, Object) Returns an HTML input element for each property in the model, using additional view data.
Public method Static member EditorForModel(HtmlHelper, String) Returns an HTML input element for each property in the model, using the specified template.
Public method Static member EditorForModel(HtmlHelper, String, Object) Returns an HTML input element for each property in the model, using the specified template and additional view data.
Public method Static member EditorForModel(HtmlHelper, String, String) Returns an HTML input element for each property in the model, using the specified template name and HTML field name.
Public method Static member EditorForModel(HtmlHelper, String, String, Object) Returns an HTML input element for each property in the model, using the template name, HTML field name, and additional view data.
Top
Examples

A Visual Studio project with source code is available to accompany this topic: Download.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also

Reference