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