Show / Hide Table of Contents

Class HtmlValueExtensions

Inheritance
object
HtmlValueExtensions
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 HtmlValueExtensions

Methods

Value(DnnHtmlHelper, string)

Declaration
public static MvcHtmlString Value(this DnnHtmlHelper html, string name)
Parameters
Type Name Description
DnnHtmlHelper html
string name
Returns
Type Description
MvcHtmlString

Value(DnnHtmlHelper, string, string)

Declaration
public static MvcHtmlString Value(this DnnHtmlHelper html, string name, string format)
Parameters
Type Name Description
DnnHtmlHelper html
string name
string format
Returns
Type Description
MvcHtmlString

ValueForModel(DnnHtmlHelper)

Declaration
public static MvcHtmlString ValueForModel(this DnnHtmlHelper html)
Parameters
Type Name Description
DnnHtmlHelper html
Returns
Type Description
MvcHtmlString

ValueForModel(DnnHtmlHelper, string)

Declaration
public static MvcHtmlString ValueForModel(this DnnHtmlHelper html, string format)
Parameters
Type Name Description
DnnHtmlHelper html
string format
Returns
Type Description
MvcHtmlString

ValueFor<TModel, TProperty>(DnnHtmlHelper<TModel>, Expression<Func<TModel, TProperty>>)

Declaration
public static MvcHtmlString ValueFor<TModel, TProperty>(this DnnHtmlHelper<TModel> html, Expression<Func<TModel, TProperty>> expression)
Parameters
Type Name Description
DnnHtmlHelper<TModel> html
Expression<Func<TModel, TProperty>> expression
Returns
Type Description
MvcHtmlString
Type Parameters
Name Description
TModel
TProperty

ValueFor<TModel, TProperty>(DnnHtmlHelper<TModel>, Expression<Func<TModel, TProperty>>, string)

Declaration
public static MvcHtmlString ValueFor<TModel, TProperty>(this DnnHtmlHelper<TModel> html, Expression<Func<TModel, TProperty>> expression, string format)
Parameters
Type Name Description
DnnHtmlHelper<TModel> html
Expression<Func<TModel, TProperty>> expression
string format
Returns
Type Description
MvcHtmlString
Type Parameters
Name Description
TModel
TProperty
Back to top by the community, for the community... #DNNCMS