C# Класс Fluqi.Widget.jMenu.Menu

Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Items ( ) : jMenuItem.MenuItems

The MenuItems that should appear under the menu

Menu ( TextWriter writer ) : System

Detailed constructor

Menu ( TextWriter writer, string id ) : System

Detailed constructor

Render ( ) : void

Writes the HTML for the Menu control to the response stream.

Защищенные методы

Метод Описание
GetControlScript ( int tabDepth ) : string

Writes out the calling script for the jQuery Tabs plugin, adding options that have been a defined.

GetTagHtml ( ) : string

Builds and returns the HTML for the Menu control (basically the DIV). JavaScript initialisation for the control is also added to the response stream if the AutoScript rendering option is true.

Reset ( TextWriter writer, string id ) : void

Resets the underlying menu object back to it's initial state

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

GetControlScript() защищенный Метод

Writes out the calling script for the jQuery Tabs plugin, adding options that have been a defined.
protected GetControlScript ( int tabDepth ) : string
tabDepth int /// How far to indent the script code setting. ///
Результат string

GetTagHtml() защищенный Метод

Builds and returns the HTML for the Menu control (basically the DIV). JavaScript initialisation for the control is also added to the response stream if the AutoScript rendering option is true.
protected GetTagHtml ( ) : string
Результат string

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

The MenuItems that should appear under the menu
public Items ( ) : jMenuItem.MenuItems
Результат jMenuItem.MenuItems

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

Detailed constructor
public Menu ( TextWriter writer ) : System
writer TextWriter Response stream to write the control to
Результат System

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

Detailed constructor
public Menu ( TextWriter writer, string id ) : System
writer TextWriter Response stream to write the control to
id string ID of the control (which must be unique on the page)
Результат System

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

Writes the HTML for the Menu control to the response stream.
public Render ( ) : void
Результат void

Reset() защищенный Метод

Resets the underlying menu object back to it's initial state
protected Reset ( TextWriter writer, string id ) : void
writer TextWriter Textwriter to use when rendering
id string ID to render for the control
Результат void