![example of ultranavigationbar](images/WinNavigationBar_About_WinNavigationBar_01.png)
WinNavigationBar™ is a navigation control that behaves like a breadcrumb control, keeping track of the trail you followed through whatever hierarchical data the control is bound to. WinNavigationBar also closely resembles a tree-type control, such as WinTree™. Each button, representing a Location, can be thought of as a Node in a tree. When you click the button, you will see all of the location’s children in a drop-down list.
Locations are to WinNavigationBar as Nodes are to WinTree. You can think of WinNavigationBar as a flat tree that only displays the path taken at any one time. Each location in WinNavigationBar includes its own collection of locations , giving the control a node-like hierarchical structure.
The root location is yet another location; however, only one root location can exist per WinNavigationBar control. The root location is the top-most location and is not a child location of any other location.
The previous locations collection keeps track of each location that you visit. WinNavigationBar accomplishes this by adding each visited location to a custom collection of locations. This collection is then exposed to the end user through a drop-down button to the right of the control. Clicking the drop-down button will display a drop-down list containing the full path of all previously visited locations.
WinNavigationBar allows you to add custom buttons to the right of itself. With the help of Action buttons , you could add favorite locations to your application, refresh WinNavigationBar’s representation of the file system, or search for a specific location.