November Happy Hour will be moved to Thursday December 5th.

Class MenuNode

Inheritance
System.Object
MenuNode
Implements
System.IComparable<MenuNode>
Inherited Members
System.Object.ToString()
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: 11.20.7
Syntax
public class MenuNode : IComparable<MenuNode>

Constructors

MenuNode(MenuNode, MenuItem)

Declaration
public MenuNode(MenuNode parent, MenuItem current)
Parameters
Type Name Description
MenuNode parent
MenuItem current

MenuNode(MenuNode, MenuItem, IEnumerable<MenuNode>)

Declaration
public MenuNode(MenuNode parent, MenuItem current, IEnumerable<MenuNode> children)
Parameters
Type Name Description
MenuNode parent
MenuItem current
System.Collections.Generic.IEnumerable<MenuNode> children

Properties

Children

Declaration
public ICollection<MenuNode> Children { get; }
Property Value
Type Description
System.Collections.Generic.ICollection<MenuNode>

Current

Declaration
public MenuItem Current { get; }
Property Value
Type Description
MenuItem

IsSelected

Declaration
public bool IsSelected { get; set; }
Property Value
Type Description
System.Boolean

Parent

Declaration
public MenuNode Parent { get; }
Property Value
Type Description
MenuNode

Methods

CompareTo(MenuNode)

Declaration
public int CompareTo(MenuNode other)
Parameters
Type Name Description
MenuNode other
Returns
Type Description
System.Int32

Find(String)

Declaration
public MenuNode Find(string path)
Parameters
Type Name Description
System.String path
Returns
Type Description
MenuNode

Render(TextWriter, RequestContext)

Declaration
public void Render(TextWriter writer, RequestContext request)
Parameters
Type Name Description
System.IO.TextWriter writer
System.Web.Routing.RequestContext request

RenderEnd(TextWriter)

Declaration
protected virtual void RenderEnd(TextWriter writer)
Parameters
Type Name Description
System.IO.TextWriter writer

RenderStart(TextWriter)

Declaration
protected virtual void RenderStart(TextWriter writer)
Parameters
Type Name Description
System.IO.TextWriter writer

SortChildren()

Declaration
public void SortChildren()

Implements

System.IComparable<T>

Extension Methods