Share via


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
System_CAPS_pubmethod ActionLink()

Initializes a new instance of the ActionLink class.

Properties

Name Description
System_CAPS_pubproperty ActionName

Gets or sets the name of the link.

System_CAPS_protproperty Adapter

(Inherited from Control.)

System_CAPS_pubproperty AppRelativeTemplateSourceDirectory

(Inherited from Control.)

System_CAPS_pubproperty Attributes

Gets the control attributes.(Inherited from MvcControl.)

System_CAPS_protproperty ChildControlsCreated

(Inherited from Control.)

System_CAPS_pubproperty ClientID

(Inherited from Control.)

System_CAPS_pubproperty ClientIDMode

(Inherited from Control.)

System_CAPS_protproperty ClientIDSeparator

(Inherited from Control.)

System_CAPS_protproperty Context

(Inherited from Control.)

System_CAPS_pubproperty ControllerName

Gets or sets the name of the controller.

System_CAPS_pubproperty Controls

(Inherited from Control.)

System_CAPS_protproperty DesignMode

(Inherited from Control.)

System_CAPS_pubproperty EnableTheming

(Inherited from Control.)

System_CAPS_pubproperty EnableViewState

Gets or sets whether to enable the control view state.(Inherited from MvcControl.)

System_CAPS_protproperty Events

(Inherited from Control.)

System_CAPS_protproperty HasChildViewState

(Inherited from Control.)

System_CAPS_pubproperty ID

(Inherited from Control.)

System_CAPS_protproperty IdSeparator

(Inherited from Control.)

System_CAPS_protproperty IsChildControlStateCleared

(Inherited from Control.)

System_CAPS_protproperty IsTrackingViewState

(Inherited from Control.)

System_CAPS_protproperty IsViewStateEnabled

(Inherited from Control.)

System_CAPS_protproperty LoadViewStateByID

(Inherited from Control.)

System_CAPS_pubproperty NamingContainer

(Inherited from Control.)

System_CAPS_pubproperty Page

(Inherited from Control.)

System_CAPS_pubproperty Parent

(Inherited from Control.)

System_CAPS_pubproperty RenderingCompatibility

(Inherited from Control.)

System_CAPS_pubproperty RouteName

Gets or sets the name of the route.

System_CAPS_pubproperty Site

(Inherited from Control.)

System_CAPS_pubproperty SkinID

(Inherited from Control.)

System_CAPS_pubproperty TemplateControl

(Inherited from Control.)

System_CAPS_pubproperty TemplateSourceDirectory

(Inherited from Control.)

System_CAPS_pubproperty Text

Gets or sets the text associated with ActionLink.

System_CAPS_pubproperty UniqueID

(Inherited from Control.)

System_CAPS_pubproperty ValidateRequestMode

(Inherited from Control.)

System_CAPS_pubproperty Values

Gets the link value.

System_CAPS_pubproperty ViewContext

Gets the viewing context of the control.(Inherited from MvcControl.)

System_CAPS_pubproperty ViewData

Gets the data dictionary of the control.(Inherited from MvcControl.)

System_CAPS_pubproperty ViewDataContainer

Gets the data container of the control.(Inherited from MvcControl.)

System_CAPS_protproperty ViewState

(Inherited from Control.)

System_CAPS_protproperty ViewStateIgnoresCase

(Inherited from Control.)

System_CAPS_pubproperty ViewStateMode

(Inherited from Control.)

System_CAPS_pubproperty Visible

(Inherited from Control.)

Methods

Name Description
System_CAPS_protmethod AddedControl(Control, Int32)

(Inherited from Control.)

System_CAPS_protmethod AddParsedSubObject(Object)

(Inherited from Control.)

System_CAPS_pubmethod ApplyStyleSheetSkin(Page)

(Inherited from Control.)

System_CAPS_protmethod BuildProfileTree(String, Boolean)

(Inherited from Control.)

System_CAPS_protmethod ClearCachedClientID()

(Inherited from Control.)

System_CAPS_protmethod ClearChildControlState()

(Inherited from Control.)

System_CAPS_protmethod ClearChildState()

(Inherited from Control.)

System_CAPS_protmethod ClearChildViewState()

(Inherited from Control.)

System_CAPS_protmethod ClearEffectiveClientIDMode()

(Inherited from Control.)

System_CAPS_protmethod CreateChildControls()

(Inherited from Control.)

System_CAPS_protmethod CreateControlCollection()

(Inherited from Control.)

System_CAPS_pubmethod DataBind()

(Inherited from Control.)

System_CAPS_protmethod DataBind(Boolean)

(Inherited from Control.)

System_CAPS_protmethod DataBindChildren()

(Inherited from Control.)

System_CAPS_pubmethod Dispose()

(Inherited from Control.)

System_CAPS_protmethod EnsureChildControls()

(Inherited from Control.)

System_CAPS_protmethod EnsureID()

(Inherited from Control.)

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod FindControl(String)

(Inherited from Control.)

System_CAPS_protmethod FindControl(String, Int32)

(Inherited from Control.)

System_CAPS_pubmethod Focus()

(Inherited from Control.)

System_CAPS_protmethod GetAttribute(String)

Retrieves the attribute of the control.(Inherited from MvcControl.)

System_CAPS_protmethod GetDesignModeState()

(Inherited from Control.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetRouteUrl(Object)

(Inherited from Control.)

System_CAPS_pubmethod GetRouteUrl(RouteValueDictionary)

(Inherited from Control.)

System_CAPS_pubmethod GetRouteUrl(String, Object)

(Inherited from Control.)

System_CAPS_pubmethod GetRouteUrl(String, RouteValueDictionary)

(Inherited from Control.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod GetUniqueIDRelativeTo(Control)

(Inherited from Control.)

System_CAPS_pubmethod HasControls()

(Inherited from Control.)

System_CAPS_protmethod HasEvents()

(Inherited from Control.)

System_CAPS_protmethod IsLiteralContent()

(Inherited from Control.)

System_CAPS_protmethod LoadControlState(Object)

(Inherited from Control.)

System_CAPS_protmethod LoadViewState(Object)

(Inherited from Control.)

System_CAPS_protmethod MapPathSecure(String)

(Inherited from Control.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethod OnBubbleEvent(Object, EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnDataBinding(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnInit(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnLoad(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnPreRender(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnUnload(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OpenFile(String)

(Inherited from Control.)

System_CAPS_protmethod RaiseBubbleEvent(Object, EventArgs)

(Inherited from Control.)

System_CAPS_protmethod RemovedControl(Control)

(Inherited from Control.)

System_CAPS_protmethod Render(HtmlTextWriter)

Sends server control content to a provided HtmlTextWriter object, which writes the content to be rendered on the client.(Overrides Control.Render(HtmlTextWriter).)

System_CAPS_protmethod RenderChildren(HtmlTextWriter)

(Inherited from Control.)

System_CAPS_pubmethod RenderControl(HtmlTextWriter)

(Inherited from Control.)

System_CAPS_protmethod RenderControl(HtmlTextWriter, ControlAdapter)

(Inherited from Control.)

System_CAPS_protmethod ResolveAdapter()

(Inherited from Control.)

System_CAPS_pubmethod ResolveClientUrl(String)

(Inherited from Control.)

System_CAPS_pubmethod ResolveUrl(String)

(Inherited from Control.)

System_CAPS_protmethod SaveControlState()

(Inherited from Control.)

System_CAPS_protmethod SaveViewState()

(Inherited from Control.)

System_CAPS_protmethod SetAttribute(String, String)

Sets the value of the specified attribute.(Inherited from MvcControl.)

System_CAPS_protmethod SetDesignModeState(IDictionary)

(Inherited from Control.)

System_CAPS_pubmethod SetRenderMethodDelegate(RenderMethod)

(Inherited from Control.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

System_CAPS_protmethod TrackViewState()

(Inherited from Control.)

Events

Name Description
System_CAPS_pubevent DataBinding

(Inherited from Control.)

System_CAPS_pubevent Disposed

(Inherited from Control.)

System_CAPS_pubevent Init

(Inherited from Control.)

System_CAPS_pubevent Load

(Inherited from Control.)

System_CAPS_pubevent PreRender

(Inherited from Control.)

System_CAPS_pubevent Unload

(Inherited from Control.)

Explicit Interface Implementations

Name Description
System_CAPS_pubinterfaceSystem_CAPS_privmethod IAttributeAccessor.GetAttribute(String)

Retrieves the attribute of the control.(Inherited from MvcControl.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IAttributeAccessor.SetAttribute(String, String)

Sets the value of the specified attribute.(Inherited from MvcControl.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IControlDesignerAccessor.GetDesignModeState()

(Inherited from Control.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IControlDesignerAccessor.SetDesignModeState(IDictionary)

(Inherited from Control.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IControlDesignerAccessor.SetOwnerControl(Control)

(Inherited from Control.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod 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