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。