DisplayExtensions.DisplayForModel Method
Include Protected Members
Include Inherited Members
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.
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. |
Top
Remarks
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.
See Also
Reference
Other Resources
Walkthrough: Using Templated Helpers to Display Data in ASP.NET MVC