Version

NavigationHistoryItem Constructor(String)

Initializes a new NavigationHistoryItem.
Syntax
'Declaration
 
Public Function New( _
   ByVal text As String _
)
public NavigationHistoryItem( 
   string text
)

Parameters

text
The text that will be shown in the NavigationToolbar's Recent History drop-down.
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