AppendTo(string selector)

Sets a selector that will be used to select the element the menu should be appended to.

Parameters

selector A jQuery selector.

Disabled(bool disabled)

Sets a value indicating whether the selectmenu is disabled.

Parameters

disabled If true, the selectmenu is disabled.

Icons(string buttonCssClassName)

Sets the icon to use for the button.

Parameters

buttonCssClassName The CSS class name of the icon.

Position(JQueryUIHelpers.Position position)

Sets the position of the menu in relation to the associated button element.

Parameters

position The position.

Width(uint width)

Sets the width of the selectmenu.

Parameters

width The width.

OnChange(string functionName)

Sets the name of the JavaScript function that is triggered when the selected item has changed.

Parameters

functionName The name of the function.

OnClose(string functionName)

Sets the name of the JavaScript function that is triggered when the menu is hidden.

Parameters

functionName The name of the function.

OnCreate(string functionName)

Sets the name of the JavaScript function that is triggered when the selectmenu is created.

Parameters

functionName The name of the function.

OnFocus(string functionName)

Sets the name of the JavaScript function that is triggered when a menu item gains focus.

Parameters

functionName The name of the function.

OnOpen(string functionName)

Sets the name of the JavaScript function that is triggered when the menu is opened.

Parameters

functionName The name of the function.

OnSelect(string functionName)

Sets the name of the JavaScript function that is triggered when a menu item is selected.

Parameters

functionName The name of the function.