ComponentGlyph.GetHitTest Method (Point)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com 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
)

Parameters

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
Show: