Class HtmlDisplayNameExtensions
Inheritance
HtmlDisplayNameExtensions
Assembly: DotNetNuke.Web.Mvc.dll
Syntax
public static class HtmlDisplayNameExtensions
Methods
DisplayName(DnnHtmlHelper, string)
Declaration
public static MvcHtmlString DisplayName(this DnnHtmlHelper html, string expression)
Parameters
Returns
Type |
Description |
MvcHtmlString |
|
Declaration
public static MvcHtmlString DisplayNameForModel(this DnnHtmlHelper html)
Parameters
Returns
Type |
Description |
MvcHtmlString |
|
DisplayNameFor<TModel, TValue>(DnnHtmlHelper<IEnumerable<TModel>>, Expression<Func<TModel, TValue>>)
Declaration
public static MvcHtmlString DisplayNameFor<TModel, TValue>(this DnnHtmlHelper<IEnumerable<TModel>> html, Expression<Func<TModel, TValue>> expression)
Parameters
Returns
Type |
Description |
MvcHtmlString |
|
Type Parameters
Name |
Description |
TModel |
|
TValue |
|
DisplayNameFor<TModel, TValue>(DnnHtmlHelper<TModel>, Expression<Func<TModel, TValue>>)
Declaration
public static MvcHtmlString DisplayNameFor<TModel, TValue>(this DnnHtmlHelper<TModel> html, Expression<Func<TModel, TValue>> expression)
Parameters
Returns
Type |
Description |
MvcHtmlString |
|
Type Parameters
Name |
Description |
TModel |
|
TValue |
|