Example #1
0
        private static void OnIsDragMoveAreaChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            var element = d as UIElement;

            WindowChromeUtils.SetIsHitTestVisibleInChrome(element, true);
            if ((bool)e.NewValue)
            {
                WindowChromeUtils.SetIsHitTestVisibleInChrome(element, false);
            }
        }