Disabled(bool disabled)

Sets a value indicating whether the menu is disabled.

Parameters

disabled If true, the menu is disabled.

Icons(string submenuCssClassName)

Sets the icon to use for submenus.

Parameters

submenuCssClassName The CSS class name of the icon.

Position(JQueryUIHelpers.Position position)

Sets the position of submenus in relation to the associated parent menu item.

Parameters

position The position.

Role(JQueryUIHelpers.MenuRole role)

Sets the ARIA roles used for the menu and menu items.

Parameters

role The role.

Items(string selector)

Sets the items selector.

Parameters

selector jQuery selector for the elements that serve as the menu items.

OnBlur(string functionName)

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

Parameters

functionName The name of the function.

OnCreate(string functionName)

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

Parameters

functionName The name of the function.

OnFocus(string functionName)

Sets the name of the JavaScript function that is triggered when the menu gains focus or when any menu item is activated.

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.