ActionsPane.GetChildAtPoint 方法 (Point, GetChildAtPointSkip)

检索位于指定坐标的子控件,并且指定是否忽略特定类型的子控件。

命名空间:  Microsoft.Office.Tools
程序集:  Microsoft.Office.Tools.Common(在 Microsoft.Office.Tools.Common.dll 中)

语法

声明
Function GetChildAtPoint ( _
    pt As Point, _
    skipValue As GetChildAtPointSkip _
) As Control
Control GetChildAtPoint(
    Point pt,
    GetChildAtPointSkip skipValue
)

参数

  • pt
    类型:System.Drawing.Point
    一个 Point,它包含的坐标指定您要在何处查找控件。坐标相对于操作窗格的工作区的左上角来表示。

返回值

类型:System.Windows.Forms.Control
指定坐标处的子 Control

备注

此方法提供与 Control.GetChildAtPoint 方法相同的功能。有关使用此方法的更多信息,请参见Control.GetChildAtPoint

.NET Framework 安全性

请参见

参考

ActionsPane 接口

GetChildAtPoint 重载

Microsoft.Office.Tools 命名空间

其他资源

操作窗格概述