SystemParameters.WorkArea Property

Definition

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

public:
 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.

Remarks

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