System.Windows.Forms.Design.ScrollableControlDesigner.GetHitTest Method

Indicates whether a mouse click at the specified point should be handled by the control.

Syntax

protected override bool GetHitTest (System.Drawing.Point point)

Parameters

point
Documentation for this section has not yet been entered.

Returns

true if a click at the specified point is to be handled by the control; otherwise, false.

Remarks

The ScrollableControlDesigner.GetHitTest(System.Drawing.Point) method determines whether a click at the specified point should be passed to the control, while the control is in design mode. You can override and implement this method to enable your control to receive clicks in the design-time environment.

Note:

You can pass a point in screen coordinates to the System.Windows.Forms.Control.PointToClient(System.Drawing.Point) method of the System.Windows.Forms.Control class to obtain the coordinates of the point relative to the upper-left corner of the control.

Requirements

Namespace: System.Windows.Forms.Design
Assembly: System.Design (in System.Design.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0