HtmlHelperDisplayExtensions HtmlHelperDisplayExtensions HtmlHelperDisplayExtensions Class

Definition

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

public static class HtmlHelperDisplayExtensions
type HtmlHelperDisplayExtensions = class
Public Module HtmlHelperDisplayExtensions
Inheritance
HtmlHelperDisplayExtensionsHtmlHelperDisplayExtensionsHtmlHelperDisplayExtensions

Methods

Display(IHtmlHelper, String) Display(IHtmlHelper, String) Display(IHtmlHelper, String)

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

Display(IHtmlHelper, String, Object) Display(IHtmlHelper, String, Object) 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) Display(IHtmlHelper, String, String) 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, String, Object) Display(IHtmlHelper, String, String, Object) 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) Display(IHtmlHelper, String, String, String) 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.

DisplayFor<TModel,TResult>(IHtmlHelper<TModel>, Expression<Func<TModel,TResult>>) DisplayFor<TModel,TResult>(IHtmlHelper<TModel>, Expression<Func<TModel,TResult>>) 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.

DisplayFor<TModel,TResult>(IHtmlHelper<TModel>, Expression<Func<TModel,TResult>>, Object) DisplayFor<TModel,TResult>(IHtmlHelper<TModel>, Expression<Func<TModel,TResult>>, Object) 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) DisplayFor<TModel,TResult>(IHtmlHelper<TModel>, Expression<Func<TModel,TResult>>, String) 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>>, String, Object) DisplayFor<TModel,TResult>(IHtmlHelper<TModel>, Expression<Func<TModel,TResult>>, String, Object) 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) DisplayFor<TModel,TResult>(IHtmlHelper<TModel>, Expression<Func<TModel,TResult>>, String, String) 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.

DisplayForModel(IHtmlHelper) DisplayForModel(IHtmlHelper) DisplayForModel(IHtmlHelper)

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

DisplayForModel(IHtmlHelper, Object) DisplayForModel(IHtmlHelper, Object) 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) DisplayForModel(IHtmlHelper, String) 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, String, Object) DisplayForModel(IHtmlHelper, String, Object) 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) DisplayForModel(IHtmlHelper, String, String) 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, String, Object) DisplayForModel(IHtmlHelper, String, String, Object) 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.

Applies to