TabViewTabTearOutWindowRequestedEventArgs.NewWindowId 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
如果應用程式建立了新視窗,它會取得或設定 WindowId ,該視窗會承載被撕掉的分頁。
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
屬性值
WindowId如果是新視窗,如果應用程式建立了新視窗,那個視窗會承載被撕掉的分頁。 預設值為 null。
備註
如果事件處理程序中未設定此屬性,分頁撕除將被取消。 由視窗 ID 代表的視窗可以是任何 HWND,不一定是 XAML 視窗。 它一定和 TabView 在同一個執行緒上。