C# Класс Fluqi.Widget.jSelectMenuItem.SelectMenuItemBase

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

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

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

Ends configuration of the option just added and brings the fluent API back a level to allow further select menu items to be added.

WithAttribute ( string attrName, string attrValue ) : SelectMenuItemBase

Registers an HTML attribute to be added to the control when it is rendered.

WithCss ( string cssClasses ) : SelectMenuItemBase

Registers a set of CSS class names to be added to the control when it is rendered. This is in addition to jQuery UI styles that may appear (see RenderCss property).

WithID ( string idValue ) : SelectMenuItemBase

Registers an ID attribute to be added to the control when it is rendered.

WithStyle ( string styleName, string styleValue ) : SelectMenuItemBase

Registers an embedded style setting to be added to the control when it is rendered. These are written out as part of the "style" attribute, so we might add 'WithStyle("border", "solid 1px blue")' for example.

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

Метод Описание
BuildTagHtml ( Fluqi.Extension.Helpers.jStringBuilder sb ) : void

Override entry-point for the SelectMenuItem and SelectOptGroups classes to render how they should be

HasChildren ( ) : bool

Convenience function for eastablishing if there are any child/sub-menu items off this menu item.

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

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

Override entry-point for the SelectMenuItem and SelectOptGroups classes to render how they should be
protected BuildTagHtml ( Fluqi.Extension.Helpers.jStringBuilder sb ) : void
sb Fluqi.Extension.Helpers.jStringBuilder
Результат void

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

Ends configuration of the option just added and brings the fluent API back a level to allow further select menu items to be added.
public Finish ( ) : SelectMenuItems
Результат SelectMenuItems

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

Convenience function for eastablishing if there are any child/sub-menu items off this menu item.
protected HasChildren ( ) : bool
Результат bool

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

Registers an HTML attribute to be added to the control when it is rendered.
public WithAttribute ( string attrName, string attrValue ) : SelectMenuItemBase
attrName string Name of the HTML attribute, e.g. "Tab" or "id" for example
attrValue string Value to be applied when the attribute is rendered
Результат SelectMenuItemBase

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

Registers a set of CSS class names to be added to the control when it is rendered. This is in addition to jQuery UI styles that may appear (see RenderCss property).
public WithCss ( string cssClasses ) : SelectMenuItemBase
cssClasses string Set of space separated CSS class names to add
Результат SelectMenuItemBase

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

Registers an ID attribute to be added to the control when it is rendered.
public WithID ( string idValue ) : SelectMenuItemBase
idValue string Value for the ID
Результат SelectMenuItemBase

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

Registers an embedded style setting to be added to the control when it is rendered. These are written out as part of the "style" attribute, so we might add 'WithStyle("border", "solid 1px blue")' for example.
public WithStyle ( string styleName, string styleValue ) : SelectMenuItemBase
styleName string Name of the style attribute to be added
styleValue string Value of the style to be added
Результат SelectMenuItemBase