C# 클래스 Fluqi.Widget.jSelectMenuItem.SelectMenuItems

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

공개 메소드들

메소드 설명
Add ( string>.Dictionary dict ) : SelectMenuItems

Adds a collection of options to the menu. The "Key" becomes the "value" attribute of the OPTION (in the SELECT tag) The "Value" becomes the readable text of the OPTION (what the user sees in the dropdown)

Add ( System.Web.Mvc.SelectList options ) : SelectMenuItems

Adds a list of SelectListItems to the menu

Add ( string title, bool isSelected = false ) : SelectMenuItems

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, object value, bool isSelected = false ) : SelectMenuItems

Adds a new item to the menu

AddGroup ( string label, bool isDisabled = false ) : SelectMenuItems

Adds an OptGroup to the SelectMenu

ConfigureItem ( ) : SelectMenuItem

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

Finish ( ) : jSelectMenu.SelectMenu

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.

FinishGroup ( ) : SelectMenuItems

Stipulates that all options have been added for this OptGroup. Control is returned to the SelectMenu control to allow further items (or further OptGroups to be defined).

SelectMenuItems ( SelectMenuItemBase owner ) : System

Constructor

SelectMenuItems ( SelectMenuItemBase owner, string id ) : System

Constructor

SubMenu ( ) : SelectMenuItems

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

메소드 상세

Add() 공개 메소드

Adds a collection of options to the menu. The "Key" becomes the "value" attribute of the OPTION (in the SELECT tag) The "Value" becomes the readable text of the OPTION (what the user sees in the dropdown)
public Add ( string>.Dictionary dict ) : SelectMenuItems
dict string>.Dictionary Dictionary of options to add
리턴 SelectMenuItems

Add() 공개 메소드

Adds a list of SelectListItems to the menu
public Add ( System.Web.Mvc.SelectList options ) : SelectMenuItems
options System.Web.Mvc.SelectList List of items
리턴 SelectMenuItems

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, bool isSelected = false ) : SelectMenuItems
title string Text to appear in the URL (within the LI container)
isSelected bool Flags whether this is the selected item in the list
리턴 SelectMenuItems

Add() 공개 메소드

Adds a new item to the menu
public Add ( string title, object value, bool isSelected = false ) : SelectMenuItems
title string Text to appear in the list
value object Value associated with the item
isSelected bool Flags whether this is the selected item in the list
리턴 SelectMenuItems

AddGroup() 공개 메소드

Adds an OptGroup to the SelectMenu
public AddGroup ( string label, bool isDisabled = false ) : SelectMenuItems
label string Label of the group
isDisabled bool /// Whether the group (and all it's child options) are disabled /// Note: I'm not sure if the jQuery UI select-menu supports this however ///
리턴 SelectMenuItems

ConfigureItem() 공개 메소드

Provides an entry point to continue configuring the MenuItem that has just been defined. This allows an Icon to be added for instance.
public ConfigureItem ( ) : SelectMenuItem
리턴 SelectMenuItem

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 ( ) : jSelectMenu.SelectMenu
리턴 jSelectMenu.SelectMenu

FinishGroup() 공개 메소드

Stipulates that all options have been added for this OptGroup. Control is returned to the SelectMenu control to allow further items (or further OptGroups to be defined).
public FinishGroup ( ) : SelectMenuItems
리턴 SelectMenuItems

SelectMenuItems() 공개 메소드

Constructor
public SelectMenuItems ( SelectMenuItemBase owner ) : System
owner SelectMenuItemBase SelectMenuItem object _this_ item belongs to
리턴 System

SelectMenuItems() 공개 메소드

Constructor
public SelectMenuItems ( SelectMenuItemBase owner, string id ) : System
owner SelectMenuItemBase SelectMenuItem object _this_ item belongs to
id string ID to assign to this menu item
리턴 System

SubMenu() 공개 메소드

Entry point for adding sub-menu items using the fluent API.
public SubMenu ( ) : SelectMenuItems
리턴 SelectMenuItems