DisplayExtensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents support for rendering object values as HTML.
public static class DisplayExtensions
type DisplayExtensions = class
Public Module DisplayExtensions
- Inheritance
-
DisplayExtensions
Methods
Display(HtmlHelper, String) |
Returns HTML markup for each property in the object that is represented by a string expression. |
Display(HtmlHelper, String, Object) |
Returns HTML markup for each property in the object that is represented by a string expression, using additional view data. |
Display(HtmlHelper, String, String) |
Returns HTML markup for each property in the object that is represented by the expression, using the specified template. |
Display(HtmlHelper, String, String, Object) |
Returns HTML markup for each property in the object that is represented by the expression, using the specified template and additional view data. |
Display(HtmlHelper, String, String, String) |
Returns HTML markup for each property in the object that is represented by the expression, using the specified template and an HTML field ID. |
Display(HtmlHelper, String, String, String, Object) |
Returns HTML markup for each property in the object that is represented by the expression, using the specified template, HTML field ID, and additional view data. |
DisplayFor<TModel,TValue>(HtmlHelper<TModel>, Expression<Func<TModel,TValue>>) |
Returns HTML markup for each property in the object that is represented by the Expression expression. |
DisplayFor<TModel,TValue>(HtmlHelper<TModel>, Expression<Func<TModel,TValue>>, Object) |
Returns a string that contains each property value in the object that is represented by the specified expression, using additional view data. |
DisplayFor<TModel,TValue>(HtmlHelper<TModel>, Expression<Func<TModel,TValue>>, String) |
Returns a string that contains each property value in the object that is represented by the Expression, using the specified template. |
DisplayFor<TModel,TValue>(HtmlHelper<TModel>, Expression<Func<TModel,TValue>>, String, Object) |
Returns a string that contains each property value in the object that is represented by the specified expression, using the specified template and additional view data. |
DisplayFor<TModel,TValue>(HtmlHelper<TModel>, Expression<Func<TModel,TValue>>, String, String) |
Returns HTML markup for each property in the object that is represented by the Expression, using the specified template and an HTML field ID. |
DisplayFor<TModel,TValue>(HtmlHelper<TModel>, Expression<Func<TModel,TValue>>, String, String, Object) |
Returns HTML markup for each property in the object that is represented by the specified expression, using the template, an HTML field ID, and additional view data. |
DisplayForModel(HtmlHelper) |
Returns HTML markup for each property in the model. |
DisplayForModel(HtmlHelper, Object) |
Returns HTML markup for each property in the model, using additional view data. |
DisplayForModel(HtmlHelper, String) |
Returns HTML markup for each property in the model using the specified template. |
DisplayForModel(HtmlHelper, String, Object) |
Returns HTML markup for each property in the model, using the specified template and additional view data. |
DisplayForModel(HtmlHelper, String, String) |
Returns HTML markup for each property in the model using the specified template and HTML field ID. |
DisplayForModel(HtmlHelper, String, String, Object) |
Returns HTML markup for each property in the model, using the specified template, an HTML field ID, and additional view data. |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for