WindowChrome.SetIsHitTestVisibleInChrome(IInputElement, Boolean) WindowChrome.SetIsHitTestVisibleInChrome(IInputElement, Boolean) WindowChrome.SetIsHitTestVisibleInChrome(IInputElement, Boolean) WindowChrome.SetIsHitTestVisibleInChrome(IInputElement, Boolean) Method

定义

设置指定输入元素上的 System.Windows.Shell.WindowChrome.IsHitTestVisibleInChrome 附加属性的值。Sets the value of the System.Windows.Shell.WindowChrome.IsHitTestVisibleInChrome attached property on the specified input element.

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 IInputElement IInputElement IInputElement

要在其上设置 System.Windows.Shell.WindowChrome.IsHitTestVisibleInChrome 附加属性的元素。The element on which to set the System.Windows.Shell.WindowChrome.IsHitTestVisibleInChrome attached property.

hitTestVisible
Boolean Boolean Boolean Boolean

要设置的属性值。The property value to set.

异常

适用于