public static IsCurrentVirtualDesktop ( |
||
handle | ||
return | bool |
public static bool IsCurrentVirtualDesktop(this Form form) { return(VirtualDesktopHelper.IsCurrentVirtualDesktop(form.Handle)); }
/// <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())); }