Export (0) Print
Expand All

DisplayExtensions.DisplayForModel Method

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
Public method Static member DisplayForModel(HtmlHelper) Returns HTML markup for each property in the model.
Public method Static member DisplayForModel(HtmlHelper, Object) Returns HTML markup for each property in the model, using additional view data.
Public method Static member DisplayForModel(HtmlHelper, String) Returns HTML markup for each property in the model using the specified template.
Public method Static member DisplayForModel(HtmlHelper, String, Object) Returns HTML markup for each property in the model, using the specified template and additional view data.
Public method Static member DisplayForModel(HtmlHelper, String, String) Returns HTML markup for each property in the model using the specified template and HTML field ID.
Public method Static member 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

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.

Show:
© 2014 Microsoft