Version

NavigateTo(NavigationHistoryItem) Method

Sets the provided item as the current navigation item.
Syntax
'Declaration
 
Public Overloads Sub NavigateTo( _
   ByVal item As NavigationHistoryItem _
) 
public void NavigateTo( 
   NavigationHistoryItem item
)

Parameters

item
The NavigationHistoryItem that should be set as the current item.
Remarks

Similarly to how the navigation works in an explorer window in Vista, when navigating to a new item, a new path is started and the forward history is cleared.

Example
The following snippet creates a new NavigationHistoryItem and causes the NavigationToolbar to navigate to this new item, which sets this new item as the current item and clears out any items in the forward history.

Imports Infragistics.Win.UltraWinToolbars
 
Private  Sub btnAddItem_Click(ByVal sender As Object, ByVal e As EventArgs)
	Dim item As NavigationHistoryItem =  New NavigationHistoryItem("NewItem") 
	Me.ultraToolbarsManager1.NavigationToolbar.NavigateTo(item)
End Sub
using Infragistics.Win.UltraWinToolbars;

private void btnAddItem_Click(object sender, EventArgs e)
{
	NavigationHistoryItem item = new NavigationHistoryItem("NewItem");
	this.ultraToolbarsManager1.NavigationToolbar.NavigateTo(item);
}
Requirements

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

See Also