TextBlock.InputHitTestCore(Point) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回 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 。