Export (0) Print
Expand All
Expand Minimize

SystemParameters.WorkArea Property

Gets the size of the work area on the primary display monitor.

Namespace:  System.Windows
Assembly:  PresentationFramework (in PresentationFramework.dll)
XMLNS for XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation

public static Rect WorkArea { get; }
<object property="{x:Static SystemParameters.WorkArea}"/>

Property Value

Type: System.Windows.Rect
A RECT structure that receives the work area coordinates, expressed as virtual screen coordinates.

The work area is the portion of the screen that is not obscured by the system taskbar or by application desktop toolbars.

Maps to SPI_GETWORKAREA. See SystemParametersInfo.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft