WindowChrome.SetIsHitTestVisibleInChrome(IInputElement, Boolean) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
設定指定輸入元素附加屬性的值 IsHitTestVisibleInChrome 。
public:
static void SetIsHitTestVisibleInChrome(System::Windows::IInputElement ^ inputElement, bool hitTestVisible);
public static void SetIsHitTestVisibleInChrome(System.Windows.IInputElement inputElement, bool hitTestVisible);
static member SetIsHitTestVisibleInChrome : System.Windows.IInputElement * bool -> unit
Public Shared Sub SetIsHitTestVisibleInChrome (inputElement As IInputElement, hitTestVisible As Boolean)
參數
- inputElement
- IInputElement
用來設定 IsHitTestVisibleInChrome 附加屬性的元素。
- hitTestVisible
- Boolean
要設定的房產價值。
例外狀況
inputElement 是 null。
inputElement 不是 DependencyObject。