Class DnnLabelExtensions
Inheritance
DnnLabelExtensions
Assembly: DotNetNuke.Web.Mvc.dll
Syntax
public static class DnnLabelExtensions
Methods
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
Returns
Type |
Description |
MvcHtmlString |
|
Type Parameters
Name |
Description |
TModel |
|
TValue |
|
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
Returns
Type |
Description |
MvcHtmlString |
|
Type Parameters
Name |
Description |
TModel |
|
TValue |
|
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
Returns
Type |
Description |
MvcHtmlString |
|
Type Parameters
Name |
Description |
TModel |
|
TValue |
|
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
Returns
Type |
Description |
MvcHtmlString |
|
Type Parameters
Name |
Description |
TModel |
|
TValue |
|
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
Returns
Type |
Description |
MvcHtmlString |
|
Type Parameters
Name |
Description |
TModel |
|
TValue |
|
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
Returns
Type |
Description |
MvcHtmlString |
|
Type Parameters
Name |
Description |
TModel |
|
TValue |
|
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
Returns
Type |
Description |
MvcHtmlString |
|
Type Parameters
Name |
Description |
TModel |
|
TValue |
|
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
Returns
Type |
Description |
MvcHtmlString |
|
Type Parameters
Name |
Description |
TModel |
|
TValue |
|
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
Returns
Type |
Description |
MvcHtmlString |
|
Type Parameters
Name |
Description |
TModel |
|
TValue |
|
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
Returns
Type |
Description |
MvcHtmlString |
|
Label<TModel>(DnnHelper<TModel>, string, string, string)
Declaration
public static MvcHtmlString Label<TModel>(this DnnHelper<TModel> dnnHelper, string expression, string labelText, string helpText)
Parameters
Returns
Type |
Description |
MvcHtmlString |
|
Type Parameters
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
Returns
Type |
Description |
MvcHtmlString |
|
Type Parameters
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
Returns
Type |
Description |
MvcHtmlString |
|
Type Parameters