Imports Infragistics.Windows.DockManager
Private Sub InitializeDmWithNavOrder(ByVal dockManager As XamDockManager)
' The NavigationOrder determines how the pane navigator
' and the keyboard shortcuts for navigating panes will
' traverse the panes. VisibleOrder will be based on the
' order that you see the panes on the screen whereas
' activation order is based on the order in which you
' have activated each pane. You can see this by running
' the sample, activating the panes in any order and then
' navigate using ctrl-tab or ctrl-f6. in this case the
' navigation will always be based on the order in which
' the panes are displayed within the dockmanager
dockManager.NavigationOrder = PaneNavigationOrder.VisibleOrder
' create some test panes to allow the behavior to be tested
dockManager.Content = New DocumentContentHost()
dockManager.AddDocument("One", Nothing)
dockManager.AddDocument("Two", Nothing)
dockManager.AddDocument("Three", Nothing)
dockManager.AddDocument("Four", Nothing)
dockManager.AddDocument("Five", Nothing)
End Sub