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.v23.2.dll
NuGet Package: DevExpress.Wpf.Core
Declaration
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.