.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 | |
|---|---|---|
|
Editor(HtmlHelper, String) | Returns an HTML input element for each property in the object that is represented by the expression. |
|
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. |
|
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. |
|
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. |
|
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. |
|
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. |
|
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. |
|
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. |
|
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. |
|
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. |
|
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. |
|
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. |
|
EditorForModel(HtmlHelper) | Returns an HTML input element for each property in the model. |
|
EditorForModel(HtmlHelper, Object) | Returns an HTML input element for each property in the model, using additional view data. |
|
EditorForModel(HtmlHelper, String) | Returns an HTML input element for each property in the model, using the specified template. |
|
EditorForModel(HtmlHelper, String, Object) | Returns an HTML input element for each property in the model, using the specified template and additional view data. |
|
EditorForModel(HtmlHelper, String, String) | Returns an HTML input element for each property in the model, using the specified template name and HTML field name. |
|
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. |
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