WindowChrome.GetIsHitTestVisibleInChrome 方法

从指定的输入元素获取 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

参数

返回值

类型:System.Boolean
IsHitTestVisibleInChrome 附加属性的值。

异常

异常 条件
ArgumentNullException

inputElement 为 null。

ArgumentException

inputElement 不是 DependencyObject

.NET Framework 安全性

请参见

参考

WindowChrome 类

Microsoft.Windows.Shell 命名空间