ControlzEx.Microsoft.Windows.Shell.WindowChrome.SetIsHitTestVisibleInChrome C# (CSharp) Method

SetIsHitTestVisibleInChrome() private method

private SetIsHitTestVisibleInChrome ( IInputElement inputElement, bool hitTestVisible ) : void
inputElement IInputElement
hitTestVisible bool
return void
        public static void SetIsHitTestVisibleInChrome(IInputElement inputElement, bool hitTestVisible)
        {
            Verify.IsNotNull(inputElement, "inputElement");
            var dobj = inputElement as DependencyObject;
            if (dobj == null)
            {
                throw new ArgumentException("The element must be a DependencyObject", "inputElement");
            }
            dobj.SetValue(IsHitTestVisibleInChromeProperty, hitTestVisible);
        }