Screen.WorkingArea Property

 

Gets the working area of the display. The working area is the desktop area of the display, excluding taskbars, docked windows, and docked tool bars.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public Rectangle WorkingArea { get; }

Property Value

Type: System.Drawing.Rectangle

A Rectangle, representing the working area of the display.

The working area is the desktop area of the display, excluding taskbars, docked windows, and docked tool bars.

WorkingArea will return the entire area of the screen if the Windows Taskbar is set to Auto-Hide, no matter whether the Taskbar is currently displayed or not.

.NET Framework
Available since 1.1
Return to top
Show: