MvcControl Class
Represents a control associated with ASP.NET MVC.
Namespace: Microsoft.Web.Mvc.Controls
Assembly: Microsoft.Web.Mvc (in Microsoft.Web.Mvc.dll)
Inheritance Hierarchy
System.Object
System.Web.UI.Control
Microsoft.Web.Mvc.Controls.MvcControl
Microsoft.Web.Mvc.Controls.ActionLink
Microsoft.Web.Mvc.Controls.DropDownList
Microsoft.Web.Mvc.Controls.Label
Microsoft.Web.Mvc.Controls.MvcInputControl
Microsoft.Web.Mvc.Controls.Repeater
Syntax
public abstract class MvcControl : Control, IAttributeAccessor
public ref class MvcControl abstract : Control, IAttributeAccessor
[<AbstractClass>]
type MvcControl =
class
inherit Control
interface IAttributeAccessor
end
Public MustInherit Class MvcControl
Inherits Control
Implements IAttributeAccessor
Constructors
Name | Description | |
---|---|---|
MvcControl() | Initializes a new instance of the MvcControl class. |
Properties
Name | Description | |
---|---|---|
Adapter | (Inherited from Control.) |
|
AppRelativeTemplateSourceDirectory | (Inherited from Control.) |
|
Attributes | Gets the control attributes. |
|
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.(Overrides Control.EnableViewState.) |
|
Events | (Inherited from Control.) |
|
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.) |
|
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.) |
|
UniqueID | (Inherited from Control.) |
|
ValidateRequestMode | (Inherited from Control.) |
|
ViewContext | Gets the viewing context of the control. |
|
ViewData | Gets the data dictionary of the control. |
|
ViewDataContainer | Gets the data container of the control. |
|
ViewState | (Inherited from Control.) |
|
ViewStateIgnoresCase | (Inherited from Control.) |
|
ViewStateMode | (Inherited from Control.) |
|
Visible | (Inherited from Control.) |
Methods
Events
Name | Description | |
---|---|---|
DataBinding | (Inherited from Control.) |
|
Disposed | (Inherited from Control.) |
|
Init | (Inherited from Control.) |
|
Load | (Inherited from Control.) |
|
PreRender | (Inherited from Control.) |
|
Unload | (Inherited from Control.) |
Explicit Interface Implementations
Name | Description | |
---|---|---|
IAttributeAccessor.GetAttribute(String) | Retrieves the attribute of the control. |
|
IAttributeAccessor.SetAttribute(String, String) | Sets the value of the specified attribute. |
|
IControlDesignerAccessor.GetDesignModeState() | (Inherited from Control.) |
|
IControlDesignerAccessor.SetDesignModeState(IDictionary) | (Inherited from Control.) |
|
IControlDesignerAccessor.SetOwnerControl(Control) | (Inherited from Control.) |
|
IParserAccessor.AddParsedSubObject(Object) | (Inherited from Control.) |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.Web.Mvc.Controls Namespace
Return to top