The following tables list the members exposed by WebTab.
Name | Description | |
---|---|---|
WebTab Constructor |
Name | Description | |
---|---|---|
activeIndex | Gets sets index of active TabItem as integer. That property has effect only when activation is enabled and control is visible. If the get returns -1, then control does not have focus and there is no active item. If the get returns get_tabs().length, then add-new-tab button is active. If control does not have focus, then the set will set focus to control and activate TabItem. Index of active tab | |
enabled | Checks if control is enabled.True: control is enabled | |
enableValidation | Gets sets option to enable validation when selected tab is changed or its content is reloaded. Value should be boolean.True: validation is enabled | |
height | Gets sets height of control as string. Value should be percentage or pixel unit value.Height in units | |
scrollPosition | Gets sets scroll of tabs as integer.Scroll position | |
selectedIndex | Gets sets index of selected tab as integer.Index of tab item | |
tabItemSize | Gets sets size of tab item in % or px units as string.Size in units | |
tabs | Gets reference to collection of tab items. Returns array of Infragistics.Web.UI.TabItem objects.Array of tab items | |
tabsOverflow | Gets sets option to reduce sizes of tabs when their overall size does not fit in size of control. Integer value of 1 means that size of tabs can be reduced to keep them in bounds of control. Value of 0 means that size of tabs is preserved and size of control can be larger than value set on server. Possible values: 0 or 1 | |
textOverflow | Gets sets option to add ... if text does not fit in tab item element. Integer value of 1 means that ... is used.Possible values: 0 or 1 | |
visibleContent | Gets sets visibility of content as boolean.True: content is visible | |
visibleHeader | Gets sets visibility of header as boolean.True: header is visible | |
width | Gets sets width of control as string. Value should be percentage or pixel unit value.Width in units |
Name | Description | |
---|---|---|
addCopy | Adds a copy of TabItem. | |
addTab | Adds new TabItem. | |
dispose | Disposes object and event handlers. | |
endEditing | End editing of TabItem's text. | |
find | Finds WebTab by its client ID. | |
findTabFromKey | Find TabItem by key. | |
from | Casts passed in object to the WebTab type. | |
getAddNewTabImg | Returns html element which is used as image on add-new-tab button. | |
getAddNewTabSpan | Returns html element which is used as add-new-tab button. | |
getContentDiv | Returns html element which is used as container of all content panes. | |
getEditingInput | Returns html element which is used to edit text in TabItem. | |
getHeaderSpan | Returns html element which is used as the header of control. | |
getLayoutManager | Gets reference to LayoutManager located at index (TabItem which defines bounds of its children). | |
getTabAt | Gets reference to TabItem at particular index. | |
getVisibleSibling | Gets reference to visible TabItem located in front or after tab. | |
initialize | Initializes instance of WebTab. | |
moveTab | Move tab to new location. | |
repaint | Repaints control. | |
scrollIntoView | Scroll tabs header to make TabItem visible. | |
setSize | Gets size of control. | |
startEditing | Start editing of TabItem's text. |