• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Class DnnLabelExtensions

Inheritance
System.Object
DnnLabelExtensions
Namespace: DotNetNuke.Web.Mvc.Helpers
Assembly: DotNetNuke.Web.Mvc.dll
Syntax
public static class DnnLabelExtensions : object

Methods

| Improve this Doc View Source

Label<TModel>(DnnHelper<TModel>, String, String, String, IDictionary<String, Object>)

Declaration
public static MvcHtmlString Label<TModel>(this DnnHelper<TModel> dnnHelper, string expression, string labelText, string helpText, IDictionary<string, object> htmlAttributes)
Parameters
Type Name Description
DnnHelper<TModel> dnnHelper
System.String expression
System.String labelText
System.String helpText
IDictionary<System.String, System.Object> htmlAttributes
Returns
Type Description
MvcHtmlString
Type Parameters
Name Description
TModel
| Improve this Doc View Source

Label<TModel>(DnnHelper<TModel>, String, String, String, Object)

Declaration
public static MvcHtmlString Label<TModel>(this DnnHelper<TModel> dnnHelper, string expression, string labelText, string helpText, object htmlAttributes)
Parameters
Type Name Description
DnnHelper<TModel> dnnHelper
System.String expression
System.String labelText
System.String helpText
System.Object htmlAttributes
Returns
Type Description
MvcHtmlString
Type Parameters
Name Description
TModel
| Improve this Doc View Source

Label<TModel>(DnnHelper<TModel>, String, String, String)

Declaration
public static MvcHtmlString Label<TModel>(this DnnHelper<TModel> dnnHelper, string expression, string labelText, string helpText)
Parameters
Type Name Description
DnnHelper<TModel> dnnHelper
System.String expression
System.String labelText
System.String helpText
Returns
Type Description
MvcHtmlString
Type Parameters
Name Description
TModel
| Improve this Doc View Source

LabelFor<TModel, TValue>(DnnHelper<TModel>, Expression<Func<TModel, TValue>>, IDictionary<String, Object>)

Declaration
public static MvcHtmlString LabelFor<TModel, TValue>(this DnnHelper<TModel> dnnHelper, Expression<Func<TModel, TValue>> expression, IDictionary<string, object> htmlAttributes)
Parameters
Type Name Description
DnnHelper<TModel> dnnHelper
Expression<Func<TModel, TValue>> expression
IDictionary<System.String, System.Object> htmlAttributes
Returns
Type Description
MvcHtmlString
Type Parameters
Name Description
TModel
TValue
| Improve this Doc View Source

LabelFor<TModel, TValue>(DnnHelper<TModel>, Expression<Func<TModel, TValue>>, Object)

Declaration
public static MvcHtmlString LabelFor<TModel, TValue>(this DnnHelper<TModel> dnnHelper, Expression<Func<TModel, TValue>> expression, object htmlAttributes)
Parameters
Type Name Description
DnnHelper<TModel> dnnHelper
Expression<Func<TModel, TValue>> expression
System.Object htmlAttributes
Returns
Type Description
MvcHtmlString
Type Parameters
Name Description
TModel
TValue
| Improve this Doc View Source

LabelFor<TModel, TValue>(DnnHelper<TModel>, Expression<Func<TModel, TValue>>, String, IDictionary<String, Object>)

Declaration
public static MvcHtmlString LabelFor<TModel, TValue>(this DnnHelper<TModel> dnnHelper, Expression<Func<TModel, TValue>> expression, string helpText, IDictionary<string, object> htmlAttributes)
Parameters
Type Name Description
DnnHelper<TModel> dnnHelper
Expression<Func<TModel, TValue>> expression
System.String helpText
IDictionary<System.String, System.Object> htmlAttributes
Returns
Type Description
MvcHtmlString
Type Parameters
Name Description
TModel
TValue
| Improve this Doc View Source

LabelFor<TModel, TValue>(DnnHelper<TModel>, Expression<Func<TModel, TValue>>, String, Object)

Declaration
public static MvcHtmlString LabelFor<TModel, TValue>(this DnnHelper<TModel> dnnHelper, Expression<Func<TModel, TValue>> expression, string helpText, object htmlAttributes)
Parameters
Type Name Description
DnnHelper<TModel> dnnHelper
Expression<Func<TModel, TValue>> expression
System.String helpText
System.Object htmlAttributes
Returns
Type Description
MvcHtmlString
Type Parameters
Name Description
TModel
TValue
| Improve this Doc View Source

LabelFor<TModel, TValue>(DnnHelper<TModel>, Expression<Func<TModel, TValue>>, String, String, IDictionary<String, Object>)

Declaration
public static MvcHtmlString LabelFor<TModel, TValue>(this DnnHelper<TModel> dnnHelper, Expression<Func<TModel, TValue>> expression, string labelText, string helpText, IDictionary<string, object> htmlAttributes)
Parameters
Type Name Description
DnnHelper<TModel> dnnHelper
Expression<Func<TModel, TValue>> expression
System.String labelText
System.String helpText
IDictionary<System.String, System.Object> htmlAttributes
Returns
Type Description
MvcHtmlString
Type Parameters
Name Description
TModel
TValue
| Improve this Doc View Source

LabelFor<TModel, TValue>(DnnHelper<TModel>, Expression<Func<TModel, TValue>>, String, String, Object)

Declaration
public static MvcHtmlString LabelFor<TModel, TValue>(this DnnHelper<TModel> dnnHelper, Expression<Func<TModel, TValue>> expression, string labelText, string helpText, object htmlAttributes)
Parameters
Type Name Description
DnnHelper<TModel> dnnHelper
Expression<Func<TModel, TValue>> expression
System.String labelText
System.String helpText
System.Object htmlAttributes
Returns
Type Description
MvcHtmlString
Type Parameters
Name Description
TModel
TValue
| Improve this Doc View Source

LabelFor<TModel, TValue>(DnnHelper<TModel>, Expression<Func<TModel, TValue>>, String, String)

Declaration
public static MvcHtmlString LabelFor<TModel, TValue>(this DnnHelper<TModel> dnnHelper, Expression<Func<TModel, TValue>> expression, string labelText, string helpText)
Parameters
Type Name Description
DnnHelper<TModel> dnnHelper
Expression<Func<TModel, TValue>> expression
System.String labelText
System.String helpText
Returns
Type Description
MvcHtmlString
Type Parameters
Name Description
TModel
TValue
| Improve this Doc View Source

LabelFor<TModel, TValue>(DnnHelper<TModel>, Expression<Func<TModel, TValue>>, String)

Declaration
public static MvcHtmlString LabelFor<TModel, TValue>(this DnnHelper<TModel> dnnHelper, Expression<Func<TModel, TValue>> expression, string helpText)
Parameters
Type Name Description
DnnHelper<TModel> dnnHelper
Expression<Func<TModel, TValue>> expression
System.String helpText
Returns
Type Description
MvcHtmlString
Type Parameters
Name Description
TModel
TValue
| Improve this Doc View Source

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

Declaration
public static MvcHtmlString LabelFor<TModel, TValue>(this DnnHelper<TModel> dnnHelper, Expression<Func<TModel, TValue>> expression)
Parameters
Type Name Description
DnnHelper<TModel> dnnHelper
Expression<Func<TModel, TValue>> expression
Returns
Type Description
MvcHtmlString
Type Parameters
Name Description
TModel
TValue
| Improve this Doc View Source

LabelHelper(HtmlHelper, String, String, String, IDictionary<String, Object>)

Declaration
public static MvcHtmlString LabelHelper(HtmlHelper html, string htmlFieldName, string labelText, string helpText = null, IDictionary<string, object> htmlAttributes = null)
Parameters
Type Name Description
HtmlHelper html
System.String htmlFieldName
System.String labelText
System.String helpText
IDictionary<System.String, System.Object> htmlAttributes
Returns
Type Description
MvcHtmlString
  • View Source
Back to top by the community, for the community... #DNNCMS