語言

WindowChrome.GetIsHitTestVisibleInChrome(IInputElement) 方法

定義

從指定的輸入元素取得附加屬性的 IsHitTestVisibleInChrome 值。

public:
 static bool GetIsHitTestVisibleInChrome(System::Windows::IInputElement ^ inputElement);
public static bool GetIsHitTestVisibleInChrome(System.Windows.IInputElement inputElement);
static member GetIsHitTestVisibleInChrome : System.Windows.IInputElement -> bool
Public Shared Function GetIsHitTestVisibleInChrome (inputElement As IInputElement) As Boolean

參數

inputElement
IInputElement

讀取屬性值的輸入元素。

傳回

附帶財產的 IsHitTestVisibleInChrome 價值。

例外狀況

inputElement 是 null。

inputElement 不是 DependencyObject。

適用於