Share via


HtmlHelperLabelExtensions Class

Definition

Label-related extensions for IHtmlHelper and IHtmlHelper<TModel>.

public ref class HtmlHelperLabelExtensions abstract sealed
public static class HtmlHelperLabelExtensions
type HtmlHelperLabelExtensions = class
Public Module HtmlHelperLabelExtensions
Inheritance
HtmlHelperLabelExtensions

Methods

Label(IHtmlHelper, String, String)

Returns a <label> element for the specified expression.

Label(IHtmlHelper, String)

Returns a <label> element for the specified expression.

LabelFor<TModel,TResult>(IHtmlHelper<TModel>, Expression<Func<TModel,TResult>>, Object)

Returns a <label> element for the specified expression.

LabelFor<TModel,TResult>(IHtmlHelper<TModel>, Expression<Func<TModel,TResult>>, String)

Returns a <label> element for the specified expression.

LabelFor<TModel,TResult>(IHtmlHelper<TModel>, Expression<Func<TModel,TResult>>)

Returns a <label> element for the specified expression.

LabelForModel(IHtmlHelper, Object)

Returns a <label> element for the current model.

LabelForModel(IHtmlHelper, String, Object)

Returns a <label> element for the current model.

LabelForModel(IHtmlHelper, String)

Returns a <label> element for the current model.

LabelForModel(IHtmlHelper)

Returns a <label> element for the current model.

Applies to