ActionLink Class
Represents a control that links to an action method.
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
Syntax
public class ActionLink : MvcControl
public ref class ActionLink : MvcControl
type ActionLink =
class
inherit MvcControl
end
Public Class ActionLink
Inherits MvcControl
Constructors
Name | Description | |
---|---|---|
ActionLink() | Initializes a new instance of the ActionLink class. |
Properties
Name | Description | |
---|---|---|
ActionName | Gets or sets the name of the link. |
|
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.) |
|
ControllerName | Gets or sets the name of the controller. |
|
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.) |
|
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.) |
|
RouteName | Gets or sets the name of the route. |
|
Site | (Inherited from Control.) |
|
SkinID | (Inherited from Control.) |
|
TemplateControl | (Inherited from Control.) |
|
TemplateSourceDirectory | (Inherited from Control.) |
|
Text | Gets or sets the text associated with ActionLink. |
|
UniqueID | (Inherited from Control.) |
|
ValidateRequestMode | (Inherited from Control.) |
|
Values | Gets the link value. |
|
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.) |
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.(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.) |
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