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.Cms.AspNet.dll
Version: 11.20.7Syntax
public class QuickNavigatorMenuItemConstructors
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 | 
