TextBlock.IContentHost.InputHitTest(Point) Method

Definition

此方法支援 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);
abstract member System.Windows.IContentHost.InputHitTest : System.Windows.Point -> System.Windows.IInputElement
override this.System.Windows.IContentHost.InputHitTest : System.Windows.Point -> System.Windows.IInputElement
Function InputHitTest (point As Point) As IInputElement Implements IContentHost.InputHitTest

Parameters

point
Point

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

Returns

IInputElement

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

Implements

Applies to