LabelExtensions Class

Definition

Represents support for the HTML label element in an ASP.NET MVC view.

public static class LabelExtensions
type LabelExtensions = class
Public Module LabelExtensions
Inheritance
LabelExtensions

Methods

Label(HtmlHelper, String)

Returns an HTML label element and the property name of the property that is represented by the specified expression.

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

Returns an HTML label element and the property name of the property that is represented by the specified expression.

Label(HtmlHelper, String, Object)

Returns an HTML label element and the property name of the property that is represented by the specified expression.

Label(HtmlHelper, String, String)

Returns an HTML label element and the property name of the property that is represented by the specified expression using the label text.

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

Returns an HTML label element and the property name of the property that is represented by the specified expression.

Label(HtmlHelper, String, String, Object)

Returns an HTML label element and the property name of the property that is represented by the specified expression.

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

Returns an HTML label element and the property name of the property that is represented by the specified expression.

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

Returns an HTML label element and the property name of the property that is represented by the specified expression.

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

Returns an HTML label element and the property name of the property that is represented by the specified expression.

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

Returns an HTML label element and the property name of the property that is represented by the specified expression using the label text.

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

Returns an HTML label element and the property name of the property that is represented by the specified expression.

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

Returns an HTML label element and the property name of the property that is represented by the specified expression.

LabelForModel(HtmlHelper)

Returns an HTML label element and the property name of the property that is represented by the model.

LabelForModel(HtmlHelper, IDictionary<String,Object>)

Returns an HTML label element and the property name of the property that is represented by the specified expression.

LabelForModel(HtmlHelper, Object)

Returns an HTML label element and the property name of the property that is represented by the specified expression.

LabelForModel(HtmlHelper, String)

Returns an HTML label element and the property name of the property that is represented by the specified expression using the label text.

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

Returns an HTML label element and the property name of the property that is represented by the specified expression.

LabelForModel(HtmlHelper, String, Object)

Returns an HTML label element and the property name of the property that is represented by the specified expression.

Applies to