KaxTab Class |
Namespace: Kettic.AspNet.Controls
The KaxTab type exposes the following members.
Name | Description | |
---|---|---|
KaxTab | Initializes a new instance of the KaxTab class. | |
KaxTab(String) |
Initializes a new instance of the KaxTab class with the
specified text data.
| |
KaxTab(String, String) |
Initializes a new instance of the KaxTab class with the
specified text and value data.
|
Name | Description | |
---|---|---|
RenderEndTag | (Overrides WebControlRenderEndTag(HtmlTextWriter).) | |
SelectParents |
Selects recursively all parent tabs in the hierarchy.
|
Name | Description | |
---|---|---|
ChildGroupCssClass |
Gets or sets the Cascading Style Sheet (CSS) class applied to the HTML element
containing the child tabs.
| |
DataItem | Gets the data item that is bound to the tab (Overrides ControlItemDataItem.) | |
DisabledCssClass |
Gets or sets the Cascading Style Sheet (CSS) class applied when the tab is disabled.
| |
DisabledImageUrl |
Gets or sets the URL to an image which is displayed when the tab is disabled
(its Enabled property is set to false).
| |
HoveredCssClass |
Gets or sets the Cascading Style Sheet (CSS) class applied when the tab is hovered with the mouse.
| |
HoveredImageUrl |
Gets or sets the URL to an image which is displayed when the
user hovers the current tab with the mouse.
(Overrides NavigationItemHoveredImageUrl.) | |
ImageUrl |
Gets or sets the URL to an image which is displayed next to the text of a tab.
(Overrides NavigationItemImageUrl.) | |
IsBreak |
Gets or sets a value indicating whether next tab will be displayed on a new
line.
| |
IsSeparator |
Gets or sets a value indicating whether the tab will behave as separator. | |
KaxTabScrolling |
Gets or sets a value indicating whether the tabcontrol should scroll directly to
the next tab.
| |
Level |
Gets the level of the current tab.
| |
NavigateUrl |
Gets or sets the URL to navigate to when the current tab is clicked.
(Overrides NavigationItemNavigateUrl.) | |
OuterCssClass |
Gets or sets the Cascading Style Sheet (CSS) class applied on the outmost tab element (<LI>).
| |
Owner |
Gets the IKaxTabContainer instance which contains the current tab.
| |
PageView | Gets the KaxPageView activated when the tab is selected. | |
PageViewID |
Gets or sets the ID of the KaxPageView in
a KaxMultiPage that will be switched when the tab is
selected.
| |
PostBack |
Gets or sets a value indicating whether clicking on the tab will postback.
| |
ScrollButtonsPosition | The position of the scroll buttons with regards to the tab band. | |
ScrollChildren |
Gets or sets a value indicating whether the children of the tab will be
scrollable.
| |
ScrollPosition |
Gets or sets the position of the scrollable band of tabs relative to the
beginning of the scrolling area.
| |
Selected |
Gets or sets a value indicating whether the tab is selected.
| |
SelectedCssClass |
Gets or sets the Cascading Style Sheet (CSS) class applied when the tab is selected.
| |
SelectedImageUrl |
Gets or sets the URL to an image which is displayed when the tab is selected.
| |
SelectedIndex |
Gets or sets the index of the selected child tab.
| |
SelectedTab |
Gets the selected child tab.
| |
TabControl |
Gets the KaxTabControl instance which contains the current tab.
| |
Tabs |
Gets a KaxTabCollection object that contains the child tabs of the current tab.
| |
TabTemplate | Gets or sets the template for displaying the tab. | |
Target |
Gets or sets the target window or frame in which to display the Web page content associated with the current tab.
(Overrides NavigationItemTarget.) | |
Text |
Gets or sets the text displayed for the current tab.
(Overrides ControlItemText.) | |
Value |
Gets or sets custom (user-defined) data associated with the current tab.
(Overrides ControlItemValue.) |
The KaxTabControl control is made up of tabs. Tabs which are immediate children of the tabcontrol are root tabs. tabs which are children of root tabs are child tabs.
A tab usually stores data in two properties, the Text property and the Value property. The value of the Text property is displayed in the KaxTabControl control, and the Value property is used to store additional data.
To create tabs, use one of the following methods:
When the user clicks a tab, the KaxTabControl control can navigate to a linked Web page, post back to the server or select that tab. If the NavigateUrl property of a tab is set, the KaxTabControl control navigates to the linked page. By default, a linked page is displayed in the same window or frame. To display the linked content in a different window or frame, use the Target property.