C# 클래스 Fluqi.Widget.jMenuItem.MenuItems

Defines the logic for sub-menu items.
상속: Core.ControlBase
파일 보기 프로젝트 열기: toepoke/Fluqi

공개 메소드들

메소드 설명
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