语言

TextBlock.InputHitTestCore(Point) 方法

定义

返回 IInputElement 在指定位置 Point 处 TextBlock。

protected:
 virtual System::Windows::IInputElement ^ InputHitTestCore(System::Windows::Point point);
protected virtual System.Windows.IInputElement InputHitTestCore(System.Windows.Point point);
abstract member InputHitTestCore : System.Windows.Point -> System.Windows.IInputElement
override this.InputHitTestCore : System.Windows.Point -> System.Windows.IInputElement
Protected Overridable Function InputHitTestCore (point As Point) As IInputElement

参数

point
Point

A Point,在坐标空间 TextBlock中返回相应的 IInputElement值。

返回

在 IInputElement 指定点处找到,或者 null 找不到此类 IInputElement 。

适用于