DXTabControl.NewTabbedWindow Event
Fires when a new window is created by dropping the dragged tab item outside the parent DXTabControl.
Namespace: DevExpress.Xpf.Core
Assembly: DevExpress.Xpf.Core.v24.2.dll
NuGet Package: 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 |
---|---|
New |
Gets or sets the new tab control with its settings. |
New |
Gets or sets the new window with its settings. |
Source |
Returns the source data used to create the tab item or the tab item object itself if the data context is not specified. |
Source |
Get the source tab control. |
Source |
Gets the source window. |
The event data class exposes the following methods:
Method |
---|
Calc |
#Remarks
The created window type matches the parent window type.
To obtain and configure the newly created window 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.