TabViewTabTearOutRequestedEventArgs.NewWindowId Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the WindowId
for the new window that will host the torn-out tabs.
public:
property WindowId NewWindowId { WindowId get(); };
WindowId NewWindowId();
public WindowId NewWindowId { get; }
var windowId = tabViewTabTearOutRequestedEventArgs.newWindowId;
Public ReadOnly Property NewWindowId As WindowId
Property Value
The WindowId
for the new window that will host the torn-out tabs. The default is null
.
Remarks
The new window is provided in the TabView.TabTearOutWindowRequested event. If the NewWindowId
is not set in the TabTearOutWindowRequested
event handler, the tab tear-out will be cancelled and this event will not be raised. The window represented by the window ID can be any HWND, not necessarily a XAML Window. It must be on the same thread as the TabView.