Share via

SystemParameters.WorkArea Property


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

 static property System::Windows::Rect WorkArea { System::Windows::Rect get(); };
public static System.Windows.Rect WorkArea { get; }
static member WorkArea : System.Windows.Rect
Public Shared ReadOnly Property WorkArea As Rect

Property Value

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.

XAML attribute usage

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

Applies to