SaaS CMS has officially launched! Learn more now.

Class SectionMenuItem

A top menu item that contains other menu items as children

Inheritance
System.Object
SectionMenuItem
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: 7.19.2
Syntax
public class SectionMenuItem : MenuItem

Constructors

SectionMenuItem(String, String)

Initializes a new instance of the SectionMenuItem class.

Declaration
public SectionMenuItem(string text, string path)
Parameters
Type Name Description
System.String text

Link text

System.String path

Unique path for the menu item

Properties

IsLeaf

Menu sections are not leaves.

Declaration
public override bool IsLeaf { get; }
Property Value
Type Description
System.Boolean
Overrides

NodeCssClass

Gets the css to apply on the li tag that encapsulates the link

Declaration
protected override string NodeCssClass { get; }
Property Value
Type Description
System.String
Overrides

Extension Methods