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

Class DropDownMenuItem

A top menu item that opens other menu items in a drop down menu.

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

Constructors

DropDownMenuItem(String, String)

Initializes a new instance of the DropDownMenuItem class.

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

Link text

System.String path

Unique path for the menu item

Properties

IsLeaf

Drop downs 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