Label Class
Represents a standard label.
Assembly: Microsoft.Web.Mvc (in Microsoft.Web.Mvc.dll)
System.Web.UI.Control
Microsoft.Web.Mvc.Controls.MvcControl
Microsoft.Web.Mvc.Controls.Label
| Name | Description | |
|---|---|---|
![]() | Label() | Initializes a new instance of the Label class. |
| Name | Description | |
|---|---|---|
![]() | Adapter | (Inherited from Control.) |
![]() | AppRelativeTemplateSourceDirectory | (Inherited from Control.) |
![]() | Attributes | Gets the control attributes.(Inherited from MvcControl.) |
![]() | ChildControlsCreated | (Inherited from Control.) |
![]() | ClientID | (Inherited from Control.) |
![]() | ClientIDMode | (Inherited from Control.) |
![]() | ClientIDSeparator | (Inherited from Control.) |
![]() | Context | (Inherited from Control.) |
![]() | Controls | (Inherited from Control.) |
![]() | DesignMode | (Inherited from Control.) |
![]() | EnableTheming | (Inherited from Control.) |
![]() | EnableViewState | Gets or sets whether to enable the control view state.(Inherited from MvcControl.) |
![]() | EncodeType | Gets or sets the label encode type. |
![]() | Events | (Inherited from Control.) |
![]() | Format | Gets or sets the label format. |
![]() | HasChildViewState | (Inherited from Control.) |
![]() | ID | (Inherited from Control.) |
![]() | IdSeparator | (Inherited from Control.) |
![]() | IsChildControlStateCleared | (Inherited from Control.) |
![]() | IsTrackingViewState | (Inherited from Control.) |
![]() | IsViewStateEnabled | (Inherited from Control.) |
![]() | LoadViewStateByID | (Inherited from Control.) |
![]() | Name | Gets or sets the name of the label. |
![]() | NamingContainer | (Inherited from Control.) |
![]() | Page | (Inherited from Control.) |
![]() | Parent | (Inherited from Control.) |
![]() | RenderingCompatibility | (Inherited from Control.) |
![]() | Site | (Inherited from Control.) |
![]() | SkinID | (Inherited from Control.) |
![]() | TemplateControl | (Inherited from Control.) |
![]() | TemplateSourceDirectory | (Inherited from Control.) |
![]() | TruncateLength | Gets or sets the truncated length of the label. |
![]() | TruncateText | Gets or sets the truncated value of the label. |
![]() | UniqueID | (Inherited from Control.) |
![]() | ValidateRequestMode | (Inherited from Control.) |
![]() | ViewContext | Gets the viewing context of the control.(Inherited from MvcControl.) |
![]() | ViewData | Gets the data dictionary of the control.(Inherited from MvcControl.) |
![]() | ViewDataContainer | Gets the data container of the control.(Inherited from MvcControl.) |
![]() | ViewState | (Inherited from Control.) |
![]() | ViewStateIgnoresCase | (Inherited from Control.) |
![]() | ViewStateMode | (Inherited from Control.) |
![]() | Visible | (Inherited from Control.) |
| Name | Description | |
|---|---|---|
![]() ![]() | IAttributeAccessor.GetAttribute(String) | Retrieves the attribute of the control.(Inherited from MvcControl.) |
![]() ![]() | IAttributeAccessor.SetAttribute(String, String) | Sets the value of the specified attribute.(Inherited from MvcControl.) |
![]() ![]() | IControlDesignerAccessor.GetDesignModeState() | (Inherited from Control.) |
![]() ![]() | IControlDesignerAccessor.SetDesignModeState(IDictionary) | (Inherited from Control.) |
![]() ![]() | IControlDesignerAccessor.SetOwnerControl(Control) | (Inherited from Control.) |
![]() ![]() | IParserAccessor.AddParsedSubObject(Object) | (Inherited from Control.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.






