Show / Hide Table of Contents

Class HtmlDisplayNameExtensions

Inheritance
object
HtmlDisplayNameExtensions
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DotNetNuke.Web.Mvc.Helpers
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
Type Name Description
DnnHtmlHelper html
string expression
Returns
Type Description
MvcHtmlString

DisplayNameForModel(DnnHtmlHelper)

Declaration
public static MvcHtmlString DisplayNameForModel(this DnnHtmlHelper html)
Parameters
Type Name Description
DnnHtmlHelper html
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
Type Name Description
DnnHtmlHelper<IEnumerable<TModel>> html
Expression<Func<TModel, TValue>> expression
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
Type Name Description
DnnHtmlHelper<TModel> html
Expression<Func<TModel, TValue>> expression
Returns
Type Description
MvcHtmlString
Type Parameters
Name Description
TModel
TValue
Back to top by the community, for the community... #DNNCMS