public static Rect GetBounds(WPoint pt) { return(WpfScreen.GetRect(WpfScreen.GetScreen(pt).Bounds)); }
public static Rect GetBounds(Rect rect) { return(WpfScreen.GetRect(WpfScreen.GetScreen(rect).Bounds)); }
public static WpfScreen FromWindow(Window window) { return(new WpfScreen(WpfScreen.GetScreen(window))); }
public static Rect GetBounds(FrameworkElement element) { return(WpfScreen.GetRect(WpfScreen.GetScreen(element).Bounds)); }
public static WpfScreen FromPoint(WPoint point) { return(new WpfScreen(WpfScreen.GetScreen(point))); }
public static WpfScreen FromRectangle(Rect rect) { return(new WpfScreen(WpfScreen.GetScreen(rect))); }
public static Screen GetScreen(FrameworkElement element) { return(WpfScreen.GetScreen(Window.GetWindow(element))); }
public static WpfScreen FromElement(FrameworkElement element) { return(new WpfScreen(WpfScreen.GetScreen(element))); }
public static Rect GetWorkingArea(Window window) { return(WpfScreen.GetRect(WpfScreen.GetScreen(window).WorkingArea)); }
public static Rect GetWorkingArea(Rect rect) { return(WpfScreen.GetRect(WpfScreen.GetScreen(rect).WorkingArea)); }
public static Rect GetWorkingArea(WPoint pt) { return(WpfScreen.GetRect(WpfScreen.GetScreen(pt).WorkingArea)); }
public static Rect GetWorkingArea(FrameworkElement element) { return(WpfScreen.GetRect(WpfScreen.GetScreen(element).WorkingArea)); }
public static Rect GetBounds(Window window) { return(WpfScreen.GetRect(WpfScreen.GetScreen(window).Bounds)); }