Method | Description | |
---|---|---|
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.
|
|
WithAttribute ( string attrName, string attrValue ) : |
Registers an HTML attribute to be added to the control when it is rendered.
|
|
WithCss ( string cssClasses ) : |
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 ) : |
Registers an ID attribute to be added to the control when it is rendered.
|
|
WithStyle ( string styleName, string styleValue ) : |
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.
|
Method | Description | |
---|---|---|
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.
|
protected BuildTagHtml ( Fluqi.Extension.Helpers.jStringBuilder sb ) : void | ||
sb | Fluqi.Extension.Helpers.jStringBuilder | |
return | void |
public WithAttribute ( string attrName, string attrValue ) : |
||
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 |
return |
public WithCss ( string cssClasses ) : |
||
cssClasses | string | Set of space separated CSS class names to add |
return |
public WithID ( string idValue ) : |
||
idValue | string | Value for the ID |
return |
public WithStyle ( string styleName, string styleValue ) : |
||
styleName | string | Name of the style attribute to be added |
styleValue | string | Value of the style to be added |
return |