ControlBodyGlyph.GetHitTest(Point) 方法

定义

指示对指定点的鼠标单击是否应由 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

参数

p
Point

要进行命中测试的点。

返回

如果 Cursorp 关联,则为 Glyph;否则为 null

适用于