Esempio n. 1
0
        private void StopDrag()
        {
            _dragTimer.Stop();
            _activeSplitter.HideOverlay();

            var difference = new Point(_initialContact.X - Cursor.Position.X, _initialContact.Y - Cursor.Position.Y);

            _activeSplitter.Move(difference);

            _isDragging = false;
        }
Esempio n. 2
0
        private void StopDrag()
        {
            _dragTimer.Stop();
            _activeSplitter.HideOverlay();

            if (CursorInDockPanel())
            {
                _activeSplitter.Move(SplitterDifference());
            }

            _isDragging = false;
        }