Gets the dimensions (location and size, in pixels) of the window that contains this control.

Namespace: Ico.Gwx
Assembly: GwxRuntimeViewControl (in GwxRuntimeViewControl.dll) Version: 10.97.212.0 (10.97.212.00)

Syntax

C#
public Rect GetWindowBounds()
Visual Basic
Public Function GetWindowBounds As Rect
JScript
public function GetWindowBounds() : Rect

Return Value

The dimensions of the containing window (in pixels).

Remarks

This method returns Rect.Empty when this control is embedded in another application such as Internet Explorer or the Workbench.

See Also