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

The "Methods" are called after the control has been initialised. If for instance you want to change the value of a property, or invoke "some" action on the control (e.g. "open" or "close") you call the "Method" rather than through the "Options" (as Options is about the initialisation of the control).
Наследование: Core.Methods
Показать файл Открыть проект

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

Метод Описание
Close ( ) : void

Closes the control.

Destroy ( ) : void

Removes the control functionality completely. This will return the element back to its pre-init state.

Disable ( ) : void

Disables the control.

Enable ( ) : void

Enables the control.

GetAppendTo ( ) : void

Icons to use for opening the control, matching an icon defined by the jQuery UI CSS Framework.

GetDisabled ( ) : void

Disables the control if set to true.

GetIcons ( ) : void

Icons to use for opening the control, matching an icon defined by the jQuery UI CSS Framework.

GetPosition ( ) : void

Returns [in JavaScript] the current "position" setting.

GetWidth ( ) : void

The width of the menu, in pixels.

Instance ( ) : void

Retrieves the selectmenu's instance object. If the element does not have an associated instance, undefined is returned

MenuWidget ( ) : void

Returns a jQuery object containing the menu element.

Methods ( SelectMenu selectMenu ) : System

Constructor

Open ( ) : void

Opens the control

Refresh ( ) : void

Parses the original element and re-renders the menu. Processes any >option< or >optgroup< elements that were added, removed or disabled.

SetAppendTo ( string appendTo ) : void

Which element to append the menu to

SetDisabled ( bool value ) : void

Disables the control if set to true.

SetIcons ( Core dropdownIcon ) : void

Icons to use for opening the control, matching an icon defined by the jQuery UI CSS Framework.

SetIcons ( string dropdownIcon ) : void

Icons to use for opening the control, matching an icon defined by the jQuery UI CSS Framework.

SetPosition ( Core position ) : void

Identifies the position of the menu in relation to the associated button element

SetPosition ( Core pos1, Core pos2 ) : void

Identifies the position of the menu in relation to the associated button element

SetPosition ( int pos1, int pos2 ) : void

Identifies the position of the menu in relation to the associated button element

SetPosition ( string position ) : void

Identifies the position of the menu in relation to the associated button element

SetPosition ( string position, bool inDoubleQuotes ) : void

Identifies the position of the menu in relation to the associated button element

SetPosition ( string pos1, string pos2 ) : void

Identifies the position of the menu in relation to the associated button element

SetPositionJS ( string position ) : void

Identifies the position of the menu in relation to the associated button element

SetWidth ( int width ) : void

The width of the menu, in pixels.

Widget ( ) : void

Returns a jQuery object containing the control.

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

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

Closes the control.
public Close ( ) : void
Результат void

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

Removes the control functionality completely. This will return the element back to its pre-init state.
public Destroy ( ) : void
Результат void

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

Disables the control.
public Disable ( ) : void
Результат void

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

Enables the control.
public Enable ( ) : void
Результат void

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

Icons to use for opening the control, matching an icon defined by the jQuery UI CSS Framework.
public GetAppendTo ( ) : void
Результат void

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

Disables the control if set to true.
public GetDisabled ( ) : void
Результат void

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

Icons to use for opening the control, matching an icon defined by the jQuery UI CSS Framework.
public GetIcons ( ) : void
Результат void

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

Returns [in JavaScript] the current "position" setting.
public GetPosition ( ) : void
Результат void

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

The width of the menu, in pixels.
public GetWidth ( ) : void
Результат void

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

Retrieves the selectmenu's instance object. If the element does not have an associated instance, undefined is returned
public Instance ( ) : void
Результат void

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

Returns a jQuery object containing the menu element.
public MenuWidget ( ) : void
Результат void

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

Constructor
public Methods ( SelectMenu selectMenu ) : System
selectMenu SelectMenu SelectMenu object to call
Результат System

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

Opens the control
public Open ( ) : void
Результат void

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

Parses the original element and re-renders the menu. Processes any >option< or >optgroup< elements that were added, removed or disabled.
public Refresh ( ) : void
Результат void

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

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

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

Disables the control if set to true.
public SetDisabled ( bool value ) : void
value bool value
Результат void

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

Icons to use for opening the control, matching an icon defined by the jQuery UI CSS Framework.
public SetIcons ( Core dropdownIcon ) : void
dropdownIcon Core
Результат void

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

Icons to use for opening the control, matching an icon defined by the jQuery UI CSS Framework.
public SetIcons ( string dropdownIcon ) : void
dropdownIcon string
Результат void

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

Identifies the position of the menu in relation to the associated button element
public SetPosition ( Core position ) : void
position Core New position setting
Результат void

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

Identifies the position of the menu in relation to the associated button element
public SetPosition ( Core pos1, Core pos2 ) : void
pos1 Core First position setting
pos2 Core Second position setting
Результат void

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

Identifies the position of the menu in relation to the associated button element
public SetPosition ( int pos1, int pos2 ) : void
pos1 int First position setting
pos2 int Second position setting
Результат void

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

Identifies the position of the menu in relation to the associated button element
public SetPosition ( string position ) : void
position string New position setting
Результат void

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

Identifies the position of the menu in relation to the associated button element
public SetPosition ( string position, bool inDoubleQuotes ) : void
position string New position setting
inDoubleQuotes bool /// true - double quotes (") /// false - single quotes (') ///
Результат void

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

Identifies the position of the menu in relation to the associated button element
public SetPosition ( string pos1, string pos2 ) : void
pos1 string First position setting
pos2 string Second position setting
Результат void

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

Identifies the position of the menu in relation to the associated button element
public SetPositionJS ( string position ) : void
position string New position setting
Результат void

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

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

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

Returns a jQuery object containing the control.
public Widget ( ) : void
Результат void