C# Класс Fluqi.Widget.jMenuItem.MenuItems

Defines the logic for sub-menu items.
Наследование: Core.ControlBase
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

Add() публичный Метод

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)
Результат MenuItems

Add() публичный Метод

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
Результат MenuItems

Add() публичный Метод

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.
Результат MenuItems

Add() публичный Метод

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
Результат MenuItems

AddDivider() публичный Метод

Adds a divider into the menu. Useful if you want to group certain items
public AddDivider ( ) : MenuItems
Результат MenuItems

AddHtml() публичный Метод

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
Результат MenuItems

Back() публичный Метод

Returns control to the parent sub-menu (allows the user to continue adding further menu items at the previous level).
public Back ( ) : MenuItems
Результат MenuItems

Configure() публичный Метод

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
Результат MenuItem

Finish() публичный Метод

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
Результат jMenu.Menu

MenuItems() публичный Метод

Constructor
public MenuItems ( MenuItem owner ) : System
owner MenuItem MenuItem object _this_ item belongs to
Результат System

MenuItems() публичный Метод

Constructor
public MenuItems ( MenuItem owner, string id ) : System
owner MenuItem MenuItem object _this_ item belongs to
id string ID to allocate to the item
Результат System

SubMenu() публичный Метод

Entry point for adding sub-menu items using the fluent API.
public SubMenu ( ) : MenuItems
Результат MenuItems