This topic has not yet been rated - Rate this topic

LabelExtensions Class

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

System.Object
  System.Web.Mvc.Html.LabelExtensions

Namespace:  System.Web.Mvc.Html
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)
public static class LabelExtensions
  NameDescription
Public methodStatic memberLabel(HtmlHelper, String)Returns an HTML label element and the property name of the property that is represented by the specified expression.
Public methodStatic memberLabel(HtmlHelper, String, IDictionary<String, Object>)Returns an HTML label element and the property name of the property that is represented by the specified expression.
Public methodStatic memberLabel(HtmlHelper, String, Object)Returns an HTML label element and the property name of the property that is represented by the specified expression.
Public methodStatic memberLabel(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.
Public methodStatic memberLabel(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.
Public methodStatic memberLabel(HtmlHelper, String, String, Object)Returns an HTML label element and the property name of the property that is represented by the specified expression.
Public methodStatic memberLabelFor<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.
Public methodStatic memberLabelFor<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.
Public methodStatic memberLabelFor<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.
Public methodStatic memberLabelFor<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.
Public methodStatic memberLabelFor<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.
Public methodStatic memberLabelFor<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.
Public methodStatic memberLabelForModel(HtmlHelper)Returns an HTML label element and the property name of the property that is represented by the model.
Public methodStatic memberLabelForModel(HtmlHelper, IDictionary<String, Object>)Returns an HTML label element and the property name of the property that is represented by the specified expression.
Public methodStatic memberLabelForModel(HtmlHelper, Object)Returns an HTML label element and the property name of the property that is represented by the specified expression.
Public methodStatic memberLabelForModel(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.
Public methodStatic memberLabelForModel(HtmlHelper, String, IDictionary<String, Object>)Returns an HTML label element and the property name of the property that is represented by the specified expression.
Public methodStatic memberLabelForModel(HtmlHelper, String, Object)Returns an HTML label element and the property name of the property that is represented by the specified expression.
Top
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.