HtmlHelperDisplayExtensions Class

Definition

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

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

Methods

Display(IHtmlHelper, String, Object)

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

Display(IHtmlHelper, String, String, Object)

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

Display(IHtmlHelper, String, String, String)

Returns HTML markup for the expression, using a display template and specified HTML field name. The template is found using the templateName or the expression'sModelMetadata.

Display(IHtmlHelper, String, String)

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

Display(IHtmlHelper, String)

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

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

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

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

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

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

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

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

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

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

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

DisplayForModel(IHtmlHelper, Object)

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

DisplayForModel(IHtmlHelper, String, Object)

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

DisplayForModel(IHtmlHelper, String, String, Object)

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

DisplayForModel(IHtmlHelper, String, String)

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

DisplayForModel(IHtmlHelper, String)

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

DisplayForModel(IHtmlHelper)

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

Applies to