Fires when an end-user tries to switch to the next or previous document by pressing CTRL+TAB or CTRL+SHIFT+TAB.
public event NextDocumentEventHandler NextDocument
Public Event NextDocument As NextDocumentEventHandler
The NextDocument event's data class is DevExpress.XtraBars.Docking2010.Views.NextDocumentEventArgs.
An end-user can navigate through tabs via the CTRL+TAB and CTRL+SHIFT+TAB shortcuts. The CTRL+TAB shortcut activates the following tab, while the CTRL+SHIFT+TAB shortcut activates the preceding tab.
The NextDocument event allows you to implement custom tab navigation when an end-user uses these shortcuts. The current active tab is identified by the event's Document parameter. The next tab that is going to be activated is specified by the NextDocument parameter. To navigate to a custom tab, assign a corresponding document to the NextDocument parameter and set the event's Handled parameter to true. When the Handled parameter is set to true, no default processing will be performed for the current action after your event handler has been completed.