Ejemplo n.º 1
0
 public static void SetTabProperties(IntPtr child, TabBehavior behavior)
 {
     if (IsInitialized)
     {
         taskbar.SetTabProperties(child, behavior);
     }
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Allows a tab to specify whether the main application frame window or the tab window should be used as a thumbnail or in the peek feature under
 /// certain circumstances.
 /// </summary>
 /// <param name="childWindow">The tab window that is to have properties set. This windows must already be registered through RegisterTab.</param>
 /// <param name="properties">One or more members of the STPFLAG enumeration that specify the displayed thumbnail and peek image source of the tab thumbnail.</param>
 public static void SetTabProperties(IWin32Window childWindow, STPFLAG properties)
 {
     Validate7OrLater();
     if (childWindow == null)
     {
         throw new ArgumentNullException(nameof(childWindow));
     }
     taskbar4?.SetTabProperties(childWindow.Handle, properties);
 }