Version

Show the Navigator Programmatically

This topic will help you display the WinDockManager’s™ Navigator using code at run time. You may wish to do this if you are using a dialog box to prompt a user to select a certain opened file. You may also want to do this if the key combination used to display the navigator, Ctrl-Tab, is already being used in your program. If that is the case, you should disable the Navigator. See the topic Prevent the Navigator from Being Displayed for more information on disabling the Navigator. You can display the Navigator by simply invoking the ShowNavigator method. The code below demonstrates how to show the Navigator when a button is clicked.

Note
Note

If your WinDockManager is on a form that will be a MDI child, you will need to show the navigator programmatically as the key combination will not show the navigator in this scenario by design.

In Visual Basic:

Private Sub btnShowNavigator_Click(ByVal sender As System.Object, _
  ByVal e As System.EventArgs) Handles btnShowNavigator.Click
	Me.UltraDockManager1.ShowNavigator()
End Sub

In C#:

private void btnShowNavigator_Click(object sender, EventArgs e)
{
	this.ultraDockManager1.ShowNavigator();
}