LabelExtensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for