ControlzEx.Microsoft.Windows.Shell.WindowChrome.SetIsHitTestVisibleInChrome C# (CSharp) Метод

SetIsHitTestVisibleInChrome() приватный Метод

private SetIsHitTestVisibleInChrome ( IInputElement inputElement, bool hitTestVisible ) : void
inputElement IInputElement
hitTestVisible bool
Результат 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);
        }