ComponentGlyph.GetHitTest Method (Point)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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

Namespace:   System.Windows.Forms.Design.Behavior
Assembly:  System.Design (in System.Design.dll)

public override Cursor GetHitTest(
	Point p


Type: System.Drawing.Point

A point to hit-test.

Return Value

Type: System.Windows.Forms.Cursor

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

The default implementation does nothing and returns null.

.NET Framework
Available since 2.0
Return to top