Finds the viewport, which is situated at the given position in the control.

Namespace:  SGP.XSpace
Assembly:  SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825

Syntax

C#
public XViewport ViewportFromPoint(
	int panelX,
	int panelY
)

Parameters

panelX
Type: System..::.Int32
The X-coordinate in the window.
panelY
Type: System..::.Int32
The Y-coordinate in the window.

Return Value

The found viewport XViewport or nullNothingnullptra null reference (Nothing in Visual Basic), when no viewport was found.

See Also