TabView.TabTearOutWindowRequested Event

Definition

Occurs when the user has started to drag the selected tabs and CanTearOutTabs is set to true.

C#
public event TypedEventHandler<TabView,TabViewTabTearOutWindowRequestedEventArgs> TabTearOutWindowRequested;

Event Type

Remarks

For more information and examples, see Tab view > Tab tear-out.

Handle this event to create a new Window in which to host the torn-out tabs. In the event handler, create the new window and set the event args NewWindowId property to the AppWindow.Id of the new window.

This event occurs only when the CanTearOutTabs property is true.

Applies to

Product Versies
Windows App SDK 1.6

See also