Class PopupMenuItem
Menu item wich create popup window
Inherited Members
Namespace: EPiServer.Shell.Navigation
Assembly: EPiServer.Shell.dll
Version: 9.12.2Syntax
public class PopupMenuItem : UrlMenuItem
Constructors
PopupMenuItem(String, String, String)
Initializes a new instance of the PopupMenuItem class.
Declaration
public PopupMenuItem(string text, string path, string url)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | Link text |
System.String | path | Unique path for the menu item |
System.String | url | Link Url |
PopupMenuItem(String, String, String, Int32, Int32, String, String)
Initializes a new instance of the PopupMenuItem class.
Declaration
public PopupMenuItem(string text, string path, string url, int width, int height, string name, string options)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | Menu item text. |
System.String | path | Unique path for the menu item. |
System.String | url | The URL to put pop up in. |
System.Int32 | width | The poped up window width. |
System.Int32 | height | The poped up window height. |
System.String | name | The poped up window name. |
System.String | options | The other poped up window options. |
PopupMenuItem(String, String, String, String)
Initializes a new instance of the PopupMenuItem class.
Declaration
public PopupMenuItem(string text, string path, string url, string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | Link text |
System.String | path | Unique path for the menu item |
System.String | url | Link Url |
System.String | name | The poped up window name. |
Properties
Height
Gets or sets the window height.
Declaration
public int Height { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The height. |
Name
Gets or sets the window name.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String | The name. |
Options
Gets or sets the window additional options.
Declaration
public string Options { get; }
Property Value
Type | Description |
---|---|
System.String | The options. |
Width
Gets or sets the window width.
Declaration
public int Width { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The width. |
Methods
GetOpenWindowScript()
Gets the open window script.
Declaration
protected string GetOpenWindowScript()
Returns
Type | Description |
---|---|
System.String |
GetWindowOptions()
Gets the window options.
Declaration
protected string GetWindowOptions()
Returns
Type | Description |
---|---|
System.String |
RenderContents(TextWriter)
Renders the menu item contents (probably a link).
Declaration
protected override void RenderContents(TextWriter writer)
Parameters
Type | Name | Description |
---|---|---|
System.IO.TextWriter | writer | The writer. |