C# Класс Fluqi.Widget.jSelectMenu.Options

A set of properties to apply to a set of jQuery UI SelectMenu.
Наследование: Core.Options
Показать файл Открыть проект

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

Метод Описание
Finish ( ) : SelectMenu

Used to flag that configuration of Options has finished, and returns the SelectMenu object so we can continue defining attributes.

Options ( SelectMenu selectMenu ) : System

Constructor

SetAppendTo ( string value ) : Options

Which element to append the menu to

SetDisabled ( bool value ) : Options

Disables the control if set to true.

SetIcons ( Core selectMenuIcon ) : Options

Icons to use for opening the control, matching an icon defined by the jQuery UI CSS Framework. (string, default: "ui-icon-triangle-1-s")

SetIcons ( string selectMenuIcon ) : Options

Icons to use for opening the control, matching an icon defined by the jQuery UI CSS Framework. (string, default: "ui-icon-triangle-1-s")

SetWidth ( int width ) : Options

The width of the menu, in pixels

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

Метод Описание
DiscoverOptions ( Core options ) : void

Builds up a set of options the control can use (i.e. jQuery UI control supports). Which is then used in rendering the JavaScript required to initialise the control properties.

Reset ( ) : void

Resets all the control properties back to their default settings (i.e. the defaults as documented by jQuery UI library

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

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

Builds up a set of options the control can use (i.e. jQuery UI control supports). Which is then used in rendering the JavaScript required to initialise the control properties.
protected DiscoverOptions ( Core options ) : void
options Core Collection to add the identified options to
Результат void

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

Used to flag that configuration of Options has finished, and returns the SelectMenu object so we can continue defining attributes.
public Finish ( ) : SelectMenu
Результат SelectMenu

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

Constructor
public Options ( SelectMenu selectMenu ) : System
selectMenu SelectMenu SelectMenu to configure options of
Результат System

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

Resets all the control properties back to their default settings (i.e. the defaults as documented by jQuery UI library
protected Reset ( ) : void
Результат void

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

Which element to append the menu to
public SetAppendTo ( string value ) : Options
value string value
Результат Options

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

Disables the control if set to true.
public SetDisabled ( bool value ) : Options
value bool If true disables the control, enabled otherwise
Результат Options

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

Icons to use for opening the control, matching an icon defined by the jQuery UI CSS Framework. (string, default: "ui-icon-triangle-1-s")
public SetIcons ( Core selectMenuIcon ) : Options
selectMenuIcon Core Dropdown icon to use
Результат Options

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

Icons to use for opening the control, matching an icon defined by the jQuery UI CSS Framework. (string, default: "ui-icon-triangle-1-s")
public SetIcons ( string selectMenuIcon ) : Options
selectMenuIcon string Dropdown icon to use
Результат Options

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

The width of the menu, in pixels
public SetWidth ( int width ) : Options
width int width
Результат Options