Skip to main content
A newer version of this page is available. .

DXTabControl.NewTabbedWindow Event

Fires when a new DXTabbedWindow has been created by dropping the dragged tab item outside the parent DXTabControl.

Namespace: DevExpress.Xpf.Core

Assembly: DevExpress.Xpf.Core.v20.2.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Core, DevExpress.Wpf.Core

Declaration

public event TabControlNewTabbedWindowEventHandler NewTabbedWindow

Event Data

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

Property Description
NewTabControl Gets or sets the new tab control with its settings.
NewWindow Gets or sets the new window with its settings.
SourceData
SourceTabControl Get the source tab control.
SourceWindow Gets the source window.

The event data class exposes the following methods:

Method
CalcNewWindowPosition()

Remarks

To obtain and configure the newly created DXTabbedWindow or its embedded DXTabControl, use the parameter’s TabControlNewTabbedWindowEventArgs.NewWindow and TabControlNewTabbedWindowEventArgs.NewTabControl properties. You can also specify styles for these elements using the TabControlStretchView.NewTabControlStyle and TabControlStretchView.NewWindowStyle properties.

See Also