Method | Description | |
---|---|---|
BuildLocalMenuItemShape ( dynamic shapeFactory, dynamic parentShape, dynamic menu, |
Builds a local menu item shape.
|
|
BuildMenuItemShape ( dynamic shapeFactory, dynamic parentShape, dynamic menu, |
Builds a menu item shape.
|
|
FindParentLocalTask ( Stack selectedPath ) : |
Find the first level in the selection path, starting from the bottom, that is not a local task.
|
|
PopulateLocalMenu ( dynamic shapeFactory, dynamic parentShape, dynamic menu, IEnumerable menuItems ) : void |
Populates the local menu shapes.
|
|
PopulateLocalMenu ( dynamic shapeFactory, dynamic parentShape, dynamic menu, Stack selectedPath ) : void |
Populates the local menu starting from the first non local task parent.
|
|
PopulateMenu ( dynamic shapeFactory, dynamic parentShape, dynamic menu, IEnumerable menuItems ) : void |
Populates the menu shapes.
|
|
RouteMatches ( RouteValueDictionary itemValues, RouteValueDictionary requestValues ) : bool |
Determines if a menu item corresponds to a given route.
|
|
SetSelectedPath ( IEnumerable menuItems, System.Web.Routing.RouteData currentRouteData ) : Stack |
Identifies the currently selected path, starting from the selected node.
|
public static BuildLocalMenuItemShape ( dynamic shapeFactory, dynamic parentShape, dynamic menu, |
||
shapeFactory | dynamic | The shape factory. |
parentShape | dynamic | The parent shape. |
menu | dynamic | The menu shape. |
menuItem | The menu item to build the shape for. | |
return | dynamic |
public static BuildMenuItemShape ( dynamic shapeFactory, dynamic parentShape, dynamic menu, |
||
shapeFactory | dynamic | The shape factory. |
parentShape | dynamic | The parent shape. |
menu | dynamic | The menu shape. |
menuItem | The menu item to build the shape for. | |
return | dynamic |
public static FindParentLocalTask ( Stack selectedPath ) : |
||
selectedPath | Stack | The selection path stack. The bottom node is the currently selected one. |
return |
public static PopulateLocalMenu ( dynamic shapeFactory, dynamic parentShape, dynamic menu, IEnumerable menuItems ) : void | ||
shapeFactory | dynamic | The shape factory. |
parentShape | dynamic | The menu parent shape. |
menu | dynamic | The menu shape. |
menuItems | IEnumerable | The current level to populate. |
return | void |
public static PopulateLocalMenu ( dynamic shapeFactory, dynamic parentShape, dynamic menu, Stack selectedPath ) : void | ||
shapeFactory | dynamic | The shape factory. |
parentShape | dynamic | The menu parent shape. |
menu | dynamic | The menu shape. |
selectedPath | Stack | The selection path. |
return | void |
public static PopulateMenu ( dynamic shapeFactory, dynamic parentShape, dynamic menu, IEnumerable menuItems ) : void | ||
shapeFactory | dynamic | The shape factory. |
parentShape | dynamic | The menu parent shape. |
menu | dynamic | The menu shape. |
menuItems | IEnumerable | The current level to populate. |
return | void |
public static RouteMatches ( RouteValueDictionary itemValues, RouteValueDictionary requestValues ) : bool | ||
itemValues | RouteValueDictionary | The menu item. |
requestValues | RouteValueDictionary | The route data. |
return | bool |
public static SetSelectedPath ( IEnumerable menuItems, System.Web.Routing.RouteData currentRouteData ) : Stack | ||
menuItems | IEnumerable | All the menuitems in the navigation menu. |
currentRouteData | System.Web.Routing.RouteData | The current route data. |
return | Stack |