Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

TabViewTabTearOutWindowRequestedEventArgs.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 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


Feedback

Was this page helpful?