Syntax

Event Data

The event handler receives an argument of type DevExpress.XtraBars.Docking2010.Views.NextDocumentEventArgs containing data related to this event.

Remarks

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.