C# 클래스 Fluqi.Widget.jSelectMenuItem.SelectMenuItemBase

A set of properties to apply to a set of jQuery UI Tab.
상속: Core.ControlBase
파일 보기 프로젝트 열기: toepoke/Fluqi 1 사용 예제들

공개 메소드들

메소드 설명
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