| Visual Basic (Declaration) | |
|---|---|
Public Class UltraNavigationBarLocation Inherits Infragistics.Shared.KeyedSubObjectBase Implements Infragistics.Shared.IKeyedSubObject, Infragistics.Shared.IKeyedSubObjectEx | |
| C# | |
|---|---|
public class UltraNavigationBarLocation : Infragistics.Shared.KeyedSubObjectBase, Infragistics.Shared.IKeyedSubObject, Infragistics.Shared.IKeyedSubObjectEx | |
The UltraNavigationBar control realizes its navigation path through the UltraNavigationBarLocation object. The RootLocation, which is the highest-level ancestor location, derives from this type. Each UltraNavigationBarLocation instance, including the root location, exposes a UltraNavigationBarLocation.Locations collection, which contains the immediate children of that location. Each member of that collection in turn exposes its own Locations collection, creating a recursive ancestral relationship which defines all possible nodes for the control's navigation path. Each member of the path is a child of some other member of the path, with the exception of the root location. Each of these locations is identified by its Parent location's UltraNavigationBarLocation.SelectedLocation property. The terminal location of the navigation path is returned by the control's SelectedLocation property.