SystemParameters.WorkArea Property


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

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

public static Rect WorkArea { get; }

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.

<object property="{ SystemParameters.WorkArea}"/>

.NET Framework
Available since 3.0
Return to top