KaxNavigationItem Class |
Namespace: Kettic.AspNet.Controls
The KaxNavigationItem type exposes the following members.
Name | Description | |
---|---|---|
KaxNavigationItem | Initializes a new instance of the KaxNavigationItem class. | |
KaxNavigationItem(String) |
Initializes a new instance of the KaxNavigationItem class with the
specified text data.
| |
KaxNavigationItem(String, String) |
Initializes a new instance of the KaxNavigationItem class with the
specified text and URL to navigate to.
|
Name | Description | |
---|---|---|
Clone | ||
ExpandParentItems |
Expands all parent items so the item is visible.
|
Name | Description | |
---|---|---|
ChildGroupCssClass |
Gets or sets the Cascading Style Sheet (CSS) class applied to the element enclosing the child items.
| |
ChildGroupHeight | Gets or sets the height of the child item group. | |
ClickedCssClass |
Gets or sets the Cascading Style Sheet (CSS) class applied when the panel item is
clicked.
| |
ContentTemplate | ||
DataItem | Gets or sets the data item represented by the item. (Overrides ControlItemDataItem.) | |
DisabledCssClass |
Gets or sets the Cascading Style Sheet (CSS) class applied when the panel item is
disabled.
| |
DisabledImageUrl | Gets or sets the path to an image to display for the item when it is disabled. | |
Expanded | Gets or sets a value indicating whether the panel item is expanded. | |
ExpandedCssClass |
Gets or sets the Cascading Style Sheet (CSS) class applied when the panel item is
opened (its child items are visible).
| |
ExpandedImageUrl | Gets or sets the path to an image to display for the item when it is expanded. | |
FocusedCssClass |
Gets or sets the Cascading Style Sheet (CSS) class applied when the panel item is
focused.
| |
HoveredImageUrl |
Gets or sets a value specifying the URL of the image rendered when the node is hovered with the mouse.
(Overrides NavigationItemHoveredImageUrl.) | |
ImagePosition | Gets or sets a value indicating the position of the image within the item. | |
ImageUrl | Gets or sets the path to an image to display for the item. (Overrides NavigationItemImageUrl.) | |
IsSeparator |
Sets or gets whether the item is separator. It also represents a logical state of
the item. Might be used in some applications for keyboard navigation to omit processing
items that are marked as separators.
| |
Items | ||
ItemTemplate | Gets or sets the template for displaying the item. | |
Level |
Manages the item level of a particular Item instance. This property allows easy
implementation/separation of the panel items in levels.
| |
NavigateUrl | Gets or sets the URL to link to when the item is clicked. (Overrides NavigationItemNavigateUrl.) | |
NavigationBar | Gets the KaxNavigationBar instance which contains the item. | |
Owner |
Gets the IKaxNavigationItemContainer instance which contains the current item.
| |
PostBack |
Gets or sets a value indicating whether clicking on the item will
postback.
| |
PreventCollapse |
Gets or sets a value indicating whether clicking on the item will
collapse it.
| |
Selected | Gets or sets a value indicating whether the item is selected. | |
SelectedCssClass |
Gets or sets the Cascading Style Sheet (CSS) class applied when the panel item is
selected.
| |
SelectedImageUrl | Gets or sets the path to an image to display for the item when it is selected. | |
Target |
Gets or sets the target window or frame to display the Web page content linked to
when the panel item is clicked.
(Overrides NavigationItemTarget.) | |
Text | Gets or sets the text caption for the panel item. (Overrides ControlItemText.) | |
Value | Gets or sets the value associated with the panel item. (Overrides ControlItemValue.) |
The KaxNavigationBar control is made up of items. Items which are immediate children of the navigationbar are root items. Items which are children of root items are child items.
A item usually stores data in two properties, the Text property and the Value property. The value of the Text property is displayed in the KaxNavigationBar control, and the Value property is used to store additional data.
To create panel items, use one of the following methods:
When the user clicks a panel item, the KaxNavigationBar control can navigate to a linked Web page, post back to the server or select that item. If the NavigateUrl property of a item is set, the KaxNavigationBar 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.