DisplayTextExtensions Class

 

Provides a way to render object values as HTML.

Namespace:   System.Web.Mvc.Html
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

System.Object
  System.Web.Mvc.Html.DisplayTextExtensions

public static class DisplayTextExtensions

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticDisplayText(HtmlHelper, String)

Returns HTML markup for each property in the object that is represented by the specified expression.

System_CAPS_pubmethodSystem_CAPS_staticDisplayTextFor<TModel, TResult>(HtmlHelper<TModel>, Expression<Func<TModel, TResult>>)

Returns HTML markup for each property in the object that is represented by the specified expression.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: