KaxNavigationBarGetAllItems Method |
Gets a linear list of all items in the KaxNavigationBar
control.
Namespace: Kettic.AspNet.ControlsAssembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntaxpublic IList<KaxNavigationItem> GetAllItems()
Public Function GetAllItems As IList(Of KaxNavigationItem)
public:
IList<KaxNavigationItem^>^ GetAllItems()
member GetAllItems : unit -> IList<KaxNavigationItem>
Return Value
Type:
IListKaxNavigationItem
An
IList<KaxNavigationBarItem> containing all items (from all hierarchy
levels).
Remarks
Use the GetAllItems method to obtain a linear collection of all
items regardless their place in the hierarchy.
Examples
The following example demonstrates how to disable all items within a
KaxNavigationBar control.
void Page_Load(object sender, EventArgs e)
{
foreach (KaxNavigationBarItem item in KaxNavigationBar1.GetAllItems())
{
item.Enabled = false;
}
}
Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
For Each childItem As KaxNavigationBarItem In KaxNavigationBar1.GetAllItems
childItem.Enabled = False
Next
End Sub
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
See Also