Sdílet prostřednictvím


TabViewTabTearOutWindowRequestedEventArgs.NewWindowId Property

Definition

Gets or sets the WindowId for the new window, if the application created one, that will host the torn-out tabs.

public:
 property WindowId NewWindowId { WindowId get(); void set(WindowId value); };
WindowId NewWindowId();

void NewWindowId(WindowId value);
public WindowId NewWindowId { get; set; }
var windowId = tabViewTabTearOutWindowRequestedEventArgs.newWindowId;
tabViewTabTearOutWindowRequestedEventArgs.newWindowId = windowId;
Public Property NewWindowId As WindowId

Property Value

The WindowId for the new window, if the application created one, that will host the torn-out tabs. The default is null.

Remarks

If this property is not set in the event handler, the tab tear-out will be cancelled. 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.

Applies to