Edit

Share via


ControlBodyGlyph.GetHitTest(Point) Method

Definition

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

public:
 override System::Windows::Forms::Cursor ^ GetHitTest(System::Drawing::Point p);
public override System.Windows.Forms.Cursor GetHitTest (System.Drawing.Point p);
public override System.Windows.Forms.Cursor? GetHitTest (System.Drawing.Point p);
override this.GetHitTest : System.Drawing.Point -> System.Windows.Forms.Cursor
Public Overrides Function GetHitTest (p As Point) As Cursor

Parameters

p
Point

A point to hit test.

Returns

A Cursor if the Glyph is associated with p; otherwise, null.

Applies to