NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Screen.GetWorkingArea (Control)

Retrieves the working area for the monitor that contains the largest region of the specified control.

[Visual Basic]
Overloads Public Shared Function GetWorkingArea( _
   ByVal ctl As Control _
) As Rectangle
[C#]
public static Rectangle GetWorkingArea(
   Control ctl
);
[C++]
public: static Rectangle GetWorkingArea(
   Control* ctl
);
[JScript]
public static function GetWorkingArea(
   ctl : Control
) : Rectangle;

Parameters

ctl
The Control for which to retrieve the working area.

Return Value

A Rectangle that specifies the working area for the appropriate monitor. If no monitor contains the specified control, the monitor closest to the control is returned.

See Also

Screen Class | Screen Members | System.WinForms Namespace | Screen.GetWorkingArea Overload List