Inheritance
System.Object
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()
Assembly: EPiServer.Shell.dll
Version: 11.20.7
public class MenuNode : IComparable<MenuNode>
Constructors
Declaration
public MenuNode(MenuNode parent, MenuItem current)
Parameters
Declaration
public MenuNode(MenuNode parent, MenuItem current, IEnumerable<MenuNode> children)
Parameters
Properties
Declaration
public ICollection<MenuNode> Children { get; }
Property Value
Type |
Description |
System.Collections.Generic.ICollection<MenuNode> |
|
Declaration
public MenuItem Current { get; }
Property Value
Declaration
public bool IsSelected { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public MenuNode Parent { get; }
Property Value
Methods
Declaration
public int CompareTo(MenuNode other)
Parameters
Returns
Type |
Description |
System.Int32 |
|
Declaration
public MenuNode Find(string path)
Parameters
Type |
Name |
Description |
System.String |
path |
|
Returns
Declaration
public void Render(TextWriter writer, RequestContext request)
Parameters
Type |
Name |
Description |
System.IO.TextWriter |
writer |
|
System.Web.Routing.RequestContext |
request |
|
Declaration
protected virtual void RenderEnd(TextWriter writer)
Parameters
Type |
Name |
Description |
System.IO.TextWriter |
writer |
|
Declaration
protected virtual void RenderStart(TextWriter writer)
Parameters
Type |
Name |
Description |
System.IO.TextWriter |
writer |
|
Declaration
public void SortChildren()
Implements
System.IComparable<T>
Extension Methods