Show / Hide Table of Contents

Class HtmlLabelExtensions

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

Methods

Label(DnnHtmlHelper, string)

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

Label(DnnHtmlHelper, string, IDictionary<string, object>)

Declaration
public static MvcHtmlString Label(this DnnHtmlHelper html, string expression, IDictionary<string, object> htmlAttributes)
Parameters
Type Name Description
DnnHtmlHelper html
string expression
IDictionary<string, object> htmlAttributes
Returns
Type Description
MvcHtmlString

Label(DnnHtmlHelper, string, object)

Declaration
public static MvcHtmlString Label(this DnnHtmlHelper html, string expression, object htmlAttributes)
Parameters
Type Name Description
DnnHtmlHelper html
string expression
object htmlAttributes
Returns
Type Description
MvcHtmlString

Label(DnnHtmlHelper, string, string)

Declaration
public static MvcHtmlString Label(this DnnHtmlHelper html, string expression, string labelText)
Parameters
Type Name Description
DnnHtmlHelper html
string expression
string labelText
Returns
Type Description
MvcHtmlString

Label(DnnHtmlHelper, string, string, IDictionary<string, object>)

Declaration
public static MvcHtmlString Label(this DnnHtmlHelper html, string expression, string labelText, IDictionary<string, object> htmlAttributes)
Parameters
Type Name Description
DnnHtmlHelper html
string expression
string labelText
IDictionary<string, object> htmlAttributes
Returns
Type Description
MvcHtmlString

Label(DnnHtmlHelper, string, string, object)

Declaration
public static MvcHtmlString Label(this DnnHtmlHelper html, string expression, string labelText, object htmlAttributes)
Parameters
Type Name Description
DnnHtmlHelper html
string expression
string labelText
object htmlAttributes
Returns
Type Description
MvcHtmlString

LabelForModel(DnnHtmlHelper)

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

LabelForModel(DnnHtmlHelper, IDictionary<string, object>)

Declaration
public static MvcHtmlString LabelForModel(this DnnHtmlHelper html, IDictionary<string, object> htmlAttributes)
Parameters
Type Name Description
DnnHtmlHelper html
IDictionary<string, object> htmlAttributes
Returns
Type Description
MvcHtmlString

LabelForModel(DnnHtmlHelper, object)

Declaration
public static MvcHtmlString LabelForModel(this DnnHtmlHelper html, object htmlAttributes)
Parameters
Type Name Description
DnnHtmlHelper html
object htmlAttributes
Returns
Type Description
MvcHtmlString

LabelForModel(DnnHtmlHelper, string)

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

LabelForModel(DnnHtmlHelper, string, IDictionary<string, object>)

Declaration
public static MvcHtmlString LabelForModel(this DnnHtmlHelper html, string labelText, IDictionary<string, object> htmlAttributes)
Parameters
Type Name Description
DnnHtmlHelper html
string labelText
IDictionary<string, object> htmlAttributes
Returns
Type Description
MvcHtmlString

LabelForModel(DnnHtmlHelper, string, object)

Declaration
public static MvcHtmlString LabelForModel(this DnnHtmlHelper html, string labelText, object htmlAttributes)
Parameters
Type Name Description
DnnHtmlHelper html
string labelText
object htmlAttributes
Returns
Type Description
MvcHtmlString

LabelFor<TModel, TValue>(DnnHtmlHelper<TModel>, Expression<Func<TModel, TValue>>)

Declaration
public static MvcHtmlString LabelFor<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

LabelFor<TModel, TValue>(DnnHtmlHelper<TModel>, Expression<Func<TModel, TValue>>, IDictionary<string, object>)

Declaration
public static MvcHtmlString LabelFor<TModel, TValue>(this DnnHtmlHelper<TModel> html, Expression<Func<TModel, TValue>> expression, IDictionary<string, object> htmlAttributes)
Parameters
Type Name Description
DnnHtmlHelper<TModel> html
Expression<Func<TModel, TValue>> expression
IDictionary<string, object> htmlAttributes
Returns
Type Description
MvcHtmlString
Type Parameters
Name Description
TModel
TValue

LabelFor<TModel, TValue>(DnnHtmlHelper<TModel>, Expression<Func<TModel, TValue>>, object)

Declaration
public static MvcHtmlString LabelFor<TModel, TValue>(this DnnHtmlHelper<TModel> html, Expression<Func<TModel, TValue>> expression, object htmlAttributes)
Parameters
Type Name Description
DnnHtmlHelper<TModel> html
Expression<Func<TModel, TValue>> expression
object htmlAttributes
Returns
Type Description
MvcHtmlString
Type Parameters
Name Description
TModel
TValue

LabelFor<TModel, TValue>(DnnHtmlHelper<TModel>, Expression<Func<TModel, TValue>>, string)

Declaration
public static MvcHtmlString LabelFor<TModel, TValue>(this DnnHtmlHelper<TModel> html, Expression<Func<TModel, TValue>> expression, string labelText)
Parameters
Type Name Description
DnnHtmlHelper<TModel> html
Expression<Func<TModel, TValue>> expression
string labelText
Returns
Type Description
MvcHtmlString
Type Parameters
Name Description
TModel
TValue

LabelFor<TModel, TValue>(DnnHtmlHelper<TModel>, Expression<Func<TModel, TValue>>, string, IDictionary<string, object>)

Declaration
public static MvcHtmlString LabelFor<TModel, TValue>(this DnnHtmlHelper<TModel> html, Expression<Func<TModel, TValue>> expression, string labelText, IDictionary<string, object> htmlAttributes)
Parameters
Type Name Description
DnnHtmlHelper<TModel> html
Expression<Func<TModel, TValue>> expression
string labelText
IDictionary<string, object> htmlAttributes
Returns
Type Description
MvcHtmlString
Type Parameters
Name Description
TModel
TValue

LabelFor<TModel, TValue>(DnnHtmlHelper<TModel>, Expression<Func<TModel, TValue>>, string, object)

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