public static void UnregisterTab(IntPtr child) { if (IsInitialized) { taskbar.UnregisterTab(child); } }
/// <summary>Removes a thumbnail from an application's preview group when that tab or document is closed in the application.</summary> /// <param name="childWindow"> /// The tab window whose thumbnail is being removed. This is the same value with which the thumbnail was registered as part the group /// through RegisterTab. This value is required and cannot be NULL. /// </param> public static void UnregisterTab(IWin32Window childWindow) { Validate7OrLater(); if (childWindow == null) { throw new ArgumentNullException(nameof(childWindow)); } taskbar4?.UnregisterTab(childWindow.Handle); }