DisplayExtensions.DisplayForModel Method
Visual Studio 2010
Returns HTML markup for each property in the model.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
| Name | Description | |
|---|---|---|
|
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. |
This method is typically used to display values from the object that is exposed by the Model property. For more information about the differences between this method and the other Display methods, see the DisplayExtensions class overview.
Community Additions
ADD
Show: