C# Class Fluqi.Widget.jMenuItem.MenuItems

Defines the logic for sub-menu items.
Inheritance: Core.ControlBase
Afficher le fichier Open project: toepoke/Fluqi

Méthodes publiques

Méthode Description
Add ( string title ) : MenuItems

Adds a new item to the menu

This entry point has no URL on click. The hyperlink will have a URL of "#".

Add ( string title, Core icon ) : MenuItems

Adds a new item to the menu.

Add ( string title, string url ) : MenuItems

Adds a new item to the menu.

Add ( string title, string url, Core icon ) : MenuItems

Adds a new item to the menu.

AddDivider ( ) : MenuItems

Adds a divider into the menu. Useful if you want to group certain items

AddHtml ( string markup ) : MenuItems

Adds a new item to the menu, this replaces the hyperlink, but not the LI (or defined separator).

Back ( ) : MenuItems

Returns control to the parent sub-menu (allows the user to continue adding further menu items at the previous level).

Configure ( ) : MenuItem

Provides an entry point to continue configuring the MenuItem that has just been defined. This allows an Icon to be added for instance.

Finish ( ) : jMenu.Menu

Returns control back to the underlying menu widget. This in essence says "I've finished defining the menu items" and returns the fluent API back to the menu.

MenuItems ( MenuItem owner ) : System

Constructor

MenuItems ( MenuItem owner, string id ) : System

Constructor

SubMenu ( ) : MenuItems

Entry point for adding sub-menu items using the fluent API.

Method Details

Add() public méthode

Adds a new item to the menu
This entry point has no URL on click. The hyperlink will have a URL of "#".
public Add ( string title ) : MenuItems
title string Text to appear in the URL (within the LI container)
Résultat MenuItems

Add() public méthode

Adds a new item to the menu.
public Add ( string title, Core icon ) : MenuItems
title string Text to appear in the hyperlink
icon Core Icon to display next to the menu item
Résultat MenuItems

Add() public méthode

Adds a new item to the menu.
public Add ( string title, string url ) : MenuItems
title string Text to appear in the hyperlink
url string URL to navigate to upon selecting the menu item.
Résultat MenuItems

Add() public méthode

Adds a new item to the menu.
public Add ( string title, string url, Core icon ) : MenuItems
title string Text to appear in the hyperlink
url string URL to navigate to upon selecting the menu item.
icon Core Icon to display next to the menu item
Résultat MenuItems

AddDivider() public méthode

Adds a divider into the menu. Useful if you want to group certain items
public AddDivider ( ) : MenuItems
Résultat MenuItems

AddHtml() public méthode

Adds a new item to the menu, this replaces the hyperlink, but not the LI (or defined separator).
public AddHtml ( string markup ) : MenuItems
markup string HTML to use
Résultat MenuItems

Back() public méthode

Returns control to the parent sub-menu (allows the user to continue adding further menu items at the previous level).
public Back ( ) : MenuItems
Résultat MenuItems

Configure() public méthode

Provides an entry point to continue configuring the MenuItem that has just been defined. This allows an Icon to be added for instance.
public Configure ( ) : MenuItem
Résultat MenuItem

Finish() public méthode

Returns control back to the underlying menu widget. This in essence says "I've finished defining the menu items" and returns the fluent API back to the menu.
public Finish ( ) : jMenu.Menu
Résultat jMenu.Menu

MenuItems() public méthode

Constructor
public MenuItems ( MenuItem owner ) : System
owner MenuItem MenuItem object _this_ item belongs to
Résultat System

MenuItems() public méthode

Constructor
public MenuItems ( MenuItem owner, string id ) : System
owner MenuItem MenuItem object _this_ item belongs to
id string ID to allocate to the item
Résultat System

SubMenu() public méthode

Entry point for adding sub-menu items using the fluent API.
public SubMenu ( ) : MenuItems
Résultat MenuItems