'Declaration Public Class UltraNavigationBar Inherits Infragistics.Win.UltraControlBase Implements Infragistics.Win.AppStyling.ISupportAppStyling, Infragistics.Win.IUltraControl, Infragistics.Win.IUltraControlElement, Infragistics.Win.Touch.ISupportTouchMetrics, Infragistics.Win.UIAutomation.IProvideUIAutomation
public class UltraNavigationBar : Infragistics.Win.UltraControlBase, Infragistics.Win.AppStyling.ISupportAppStyling, Infragistics.Win.IUltraControl, Infragistics.Win.IUltraControlElement, Infragistics.Win.Touch.ISupportTouchMetrics, Infragistics.Win.UIAutomation.IProvideUIAutomation
The UltraNavigationBar Windows Forms Control builds on the metaphor introduced with the Windows Vista Address Bar. It provides the ability to navigate a hierarchical structure such as a file system or relational data. Each node in the structure is referred to as a location, and is encapsulated by the UltraNavigationBarLocation object. The root node in the structure is represented by the RootLocation; all locations associated with the control are descendants of the root location. Each location, including the root, exposes a UltraNavigationBarLocation.Locations collection, to which its immediate children belong. The Locations collection is similar to a System.Windows.Forms.TreeNode.Nodes collection for a tree node; each member of the collection in turn exposes a collection of its own, providing a recursive relationship between ancestor and descendant nodes. A navigation path is constructed by selecting a member of a Locations collection; this member is then referenced by its parent location's UltraNavigationBarLocation.SelectedLocation property. As the process continues recursively, with progressively "deeper" levels of descendants being selected, the navigation path grows, with each newly selected location appearing to the right of its parent on the navigation path. The rightmost, or terminal location of the navigation path is referenced by the control's SelectedLocation property. With each change to the navigation path, the end developer is notified via the SelectedLocationChanging and SelectedLocationChanged events.
Since many nodes of larger hierarchical structures may never be accessed by the end user during the lifetime of an application, the UltraNavigationBar control supports "on-demand" population of the Locations collections via the InitializeLocations event. This event fires the first time a Locations collection is accessed, so that population of the collection can be deferred until the data is actually needed. This approach can boost response times and performance significantly in the case where a structure contains a relatively large number of nodes.
The UltraNavigationBar control provides extensive support for customizing the appearance of locations via the following properties:
The UltraNavigationBar control provides the ability to display buttons which appear in a separate area than the locations, which can execute some application-specific action when clicked by the end user, via the following members:
The UltraNavigationBar control provides "previous history" support via the following members:
The UltraNavigationBar control provides user interface customization support via the following properties:
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
UltraNavigationBar Members
Infragistics.Win.Misc Namespace
RootLocation Property
Locations Property
InitializeLocations Event
UltraNavigationBarLocation Class
LocationSettings Property
ActionButtons Property
UltraNavigationBarActionButton Class
ActionButtonSettings Property
PreviousLocations Property
PreviousLocationsSettings Property