Back to Devexpress

XtraTabbedMdiManager.SetNextMdiChild Event

windowsforms-devexpress-dot-xtratabbedmdi-dot-xtratabbedmdimanager-fcdf8f6b.md

latest2.7 KB
Original Source

XtraTabbedMdiManager.SetNextMdiChild Event

Provides the ability to cycle through the pages using custom rules.

Namespace : DevExpress.XtraTabbedMdi

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DXCategory("Events")]
public event SetNextMdiChildEventHandler SetNextMdiChild
vb
<DXCategory("Events")>
Public Event SetNextMdiChild As SetNextMdiChildEventHandler

Event Data

The SetNextMdiChild event's data class is SetNextMdiChildEventArgs. The following properties provide information specific to this event:

PropertyDescription
ForwardNavigationGets a value which identifies the direction in which the pages are cycled.
HandledGets or sets whether an event was handled, if it was handled the default actions are not required.

Remarks

End-users can cycle through the pages using the CTRL+TAB/CTRL+SHIFT+TAB keys. In this case the SetNextMdiChild event is raised. It allows the default behavior to be ignored and custom rules for cycling through the pages to be implemented.

The event parameter’s SetNextMdiChildEventArgs.ForwardNavigation property allows you to identify the direction in which pages are cycled. Set the SetNextMdiChildEventArgs.Handled property to true to cancel the default cycling mechanism which is specified by the XtraTabbedMdiManager.SetNextMdiChildMode property and implement a custom mechanism.

See Also

SetNextMdiChildMode

SelectedPage

XtraTabbedMdiManager Class

XtraTabbedMdiManager Members

DevExpress.XtraTabbedMdi Namespace