Export (0) Print
Expand All

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)

[ExtensionAttribute]
public ref class LabelExtensions abstract sealed

  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.
Show:
© 2014 Microsoft