ComponentGlyph.GetHitTest(Point) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Indicates whether a mouse click at the specified point should be handled by the ComponentGlyph.
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
.
Remarks
The default implementation does nothing and returns null
.
Applies to
Samarbeid med oss på GitHub
Du finner kilden for dette innholdet på GitHub. Der du også kan opprette og se gjennom problemer og pull-forespørsler. Hvis du vil ha mer informasjon, kan du se vår bidragsyterveiledning.