从指定的输入元素获取 IsHitTestVisibleInChrome 附加属性的值。
命名空间: Microsoft.Windows.Shell
程序集: Microsoft.Windows.Shell(在 Microsoft.Windows.Shell.dll 中)
语法
声明
Public Shared Function GetIsHitTestVisibleInChrome ( _
inputElement As IInputElement _
) As Boolean
public static bool GetIsHitTestVisibleInChrome(
IInputElement inputElement
)
public:
static bool GetIsHitTestVisibleInChrome(
IInputElement^ inputElement
)
static member GetIsHitTestVisibleInChrome :
inputElement:IInputElement -> bool
public static function GetIsHitTestVisibleInChrome(
inputElement : IInputElement
) : boolean
参数
- inputElement
类型:System.Windows.IInputElement
从中读取属性值的输入元素。
返回值
类型:System.Boolean
IsHitTestVisibleInChrome 附加属性的值。
异常
异常 | 条件 |
---|---|
ArgumentNullException | inputElement 为 null。 |
ArgumentException | inputElement 不是 DependencyObject。 |
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。