Class RouteMenuItem
MVC Route MenuItem
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Shell.Navigation
Assembly: EPiServer.Shell.dll
Version: 9.12.2Syntax
public class RouteMenuItem : MenuItem
Constructors
RouteMenuItem(String, String, RouteValueDictionary)
Initializes a new instance of the RouteMenuItem class.
Declaration
public RouteMenuItem(string text, string path, RouteValueDictionary routeValues)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | Link text |
System.String | path | Unique path for the menu item. |
System.Web.Routing.RouteValueDictionary | routeValues | Extra route values |
Properties
RouteValues
Extra route values
Declaration
public RouteValueDictionary RouteValues { get; }
Property Value
Type | Description |
---|---|
System.Web.Routing.RouteValueDictionary |
Methods
IsSelected(RequestContext)
Determines whether the menu item is selected withing the the specified request context.
Declaration
public override bool IsSelected(RequestContext requestContext)
Parameters
Type | Name | Description |
---|---|---|
System.Web.Routing.RequestContext | requestContext | The request context. |
Returns
Type | Description |
---|---|
System.Boolean |