Click or drag to resize
KaxNavigationBarGetAllItems Method
Gets a linear list of all items in the KaxNavigationBar control.

Namespace: Kettic.AspNet.Controls
Assembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntax
public IList<KaxNavigationItem> GetAllItems()

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;
    }
}
See Also