IsCurrentVirtualDesktop() public static method

public static IsCurrentVirtualDesktop ( IntPtr handle ) : bool
handle System.IntPtr
return bool
 public static bool IsCurrentVirtualDesktop(this Form form)
 {
     return(VirtualDesktopHelper.IsCurrentVirtualDesktop(form.Handle));
 }
Beispiel #2
0
 /// <summary>
 /// Determines whether the window is located over the virtual desktop that current displayed.
 /// </summary>
 public static bool IsCurrentVirtualDesktop(this Window window)
 {
     return(VirtualDesktopHelper.IsCurrentVirtualDesktop(window.GetHandle()));
 }