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

Class QuickNavigatorMenuItem

Represents a data structure that holds information about a selectable menu item in the EPiServer menu on the site.

Inheritance
System.Object
QuickNavigatorMenuItem
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.Web
Assembly: EPiServer.dll
Version: 9.12.2
Syntax
public class QuickNavigatorMenuItem

Constructors

QuickNavigatorMenuItem(String, String, String, String, String)

Initializes a new instance of the QuickNavigatorMenuItem class.

Declaration
public QuickNavigatorMenuItem(string caption, string url, string javaScript, string enabledScript, string imageUrl)
Parameters
Type Name Description
System.String caption

Text to appear in menu.

System.String url

URL to open on click (can be null).

System.String javaScript

Code to execute on click (can be null).

System.String enabledScript

Code to evaluate to determine if item is active.

System.String imageUrl

URL to item image, null for empty.

Properties

Caption

Text to appear in menu (use null for separator)

Declaration
public string Caption { get; set; }
Property Value
Type Description
System.String

EnabledScript

Code to evaluate to determine if item is enabled, should return true or false

Declaration
public string EnabledScript { get; set; }
Property Value
Type Description
System.String

ImageUrl

URL to item image, null for empty

Declaration
public string ImageUrl { get; set; }
Property Value
Type Description
System.String

Javascript

Code to execute on click

Declaration
public string Javascript { get; set; }
Property Value
Type Description
System.String

Url

URL to open on click (can be null)

Declaration
public string Url { get; set; }
Property Value
Type Description
System.String

Extension Methods