Langage

TabViewTabTearOutWindowRequestedEventArgs.NewWindowId Propriété

Définition

Obtient ou définit la WindowId fenêtre pour la nouvelle fenêtre, si l’application en a créé une, qui hébergera les onglets déchirés.

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

Valeur de propriété

Pour WindowId la nouvelle fenêtre, si l’application en a créé une, qui hébergera les onglets déchirés. La valeur par défaut est null.

Remarques

Si cette propriété n’est pas définie dans le gestionnaire d’événements, la suppression de l’onglet est annulée. La fenêtre représentée par l’ID de fenêtre peut être n’importe quel HWND, pas nécessairement une fenêtre XAML. Elle doit se trouver sur le même thread que tabView.

S’applique à