TextBlock.IContentHost.InputHitTest(Point) 方法

定义

此方法支持 Windows Presentation Foundation (WPF)Windows Presentation Foundation (WPF) 基础结构,不能在代码中直接使用。This method supports the Windows Presentation Foundation (WPF)Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code. 改用类型安全的 InputHitTestCore(Point) 方法。Use the type-safe InputHitTestCore(Point) method instead.

 virtual System::Windows::IInputElement ^ System.Windows.IContentHost.InputHitTest(System::Windows::Point point) = System::Windows::IContentHost::InputHitTest;
System.Windows.IInputElement IContentHost.InputHitTest (System.Windows.Point point);

参数

point
Point

相对于内容宿主的鼠标坐标。Mouse coordinates relative to the content host.

返回

已命中的元素。The element that has been hit.

实现

适用于