예제 #1
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)
 {
     if (childWindow == null)
     {
         throw new ArgumentNullException(nameof(childWindow));
     }
     SetTabProperties(childWindow.Handle, properties);
 }
예제 #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);
 }
예제 #3
0
 public HRESULT SetTabProperties(HWND hwndTab, STPFLAG stpFlags)
 {
     return(((delegate * unmanaged <ITaskbarList4 *, HWND, STPFLAG, int>)(lpVtbl[21]))((ITaskbarList4 *)Unsafe.AsPointer(ref this), hwndTab, stpFlags));
 }
예제 #4
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="hwndTab">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(HWND hwndTab, STPFLAG properties)
 {
     Validate7OrLater();
     taskbar4?.SetTabProperties(hwndTab, properties);
 }