Delen via


HtmlHelperEditorExtensions Class

Definition

Editor-related extensions for IHtmlHelper and IHtmlHelper<TModel>.

public ref class HtmlHelperEditorExtensions abstract sealed
public static class HtmlHelperEditorExtensions
type HtmlHelperEditorExtensions = class
Public Module HtmlHelperEditorExtensions
Inheritance
HtmlHelperEditorExtensions

Methods

Editor(IHtmlHelper, String, Object)

Returns HTML markup for the expression, using an editor template and specified additional view data. The template is found using the expression's ModelMetadata.

Editor(IHtmlHelper, String, String, Object)

Returns HTML markup for the expression, using an editor template and specified additional view data. The template is found using the templateName or the expression's ModelMetadata.

Editor(IHtmlHelper, String, String, String)

Returns HTML markup for the expression, using an editor template and specified HTML field name. The template is found using the templateName or the expression's ModelMetadata.

Editor(IHtmlHelper, String, String)

Returns HTML markup for the expression, using an editor template. The template is found using the templateName or the expression's ModelMetadata.

Editor(IHtmlHelper, String)

Returns HTML markup for the expression, using an editor template. The template is found using the expression's ModelMetadata.

EditorFor<TModel,TResult>(IHtmlHelper<TModel>, Expression<Func<TModel,TResult>>, Object)

Returns HTML markup for the expression, using an editor template and specified additional view data. The template is found using the expression's ModelMetadata.

EditorFor<TModel,TResult>(IHtmlHelper<TModel>, Expression<Func<TModel,TResult>>, String, Object)

Returns HTML markup for the expression, using an editor template and specified additional view data. The template is found using the templateName or the expression's ModelMetadata.

EditorFor<TModel,TResult>(IHtmlHelper<TModel>, Expression<Func<TModel,TResult>>, String, String)

Returns HTML markup for the expression, using an editor template and specified HTML field name. The template is found using the templateName or the expression's ModelMetadata.

EditorFor<TModel,TResult>(IHtmlHelper<TModel>, Expression<Func<TModel,TResult>>, String)

Returns HTML markup for the expression, using an editor template. The template is found using the templateName or the expression's ModelMetadata.

EditorFor<TModel,TResult>(IHtmlHelper<TModel>, Expression<Func<TModel,TResult>>)

Returns HTML markup for the expression, using an editor template. The template is found using the expression's ModelMetadata.

EditorForModel(IHtmlHelper, Object)

Returns HTML markup for the current model, using an editor template and specified additional view data. The template is found using the model's ModelMetadata.

EditorForModel(IHtmlHelper, String, Object)

Returns HTML markup for the current model, using an editor template and specified additional view data. The template is found using the templateName or the model's ModelMetadata.

EditorForModel(IHtmlHelper, String, String, Object)

Returns HTML markup for the current model, using an editor template, specified HTML field name, and additional view data. The template is found using the templateName or the model's ModelMetadata.

EditorForModel(IHtmlHelper, String, String)

Returns HTML markup for the current model, using an editor template and specified HTML field name. The template is found using the templateName or the model's ModelMetadata.

EditorForModel(IHtmlHelper, String)

Returns HTML markup for the current model, using an editor template. The template is found using the templateName or the model's ModelMetadata.

EditorForModel(IHtmlHelper)

Returns HTML markup for the current model, using an editor template. The template is found using the model's ModelMetadata.

Applies to