Beispiel #1
0
        private void OnDockspaceSeparatorMoveRect(object sender, SplitterMoveRectMenuArgs e)
        {
            if (!_dockspaceSlide.ContainsFocus)
            {
                _dockspaceSlide.Select();
                Application.DoEvents();
            }

            if (SplitterMoveRect != null)
            {
                SplitterMoveRect(sender, e);
            }
        }
Beispiel #2
0
        private void OnDockspacePageDropDownClicked(object sender, CancelDropDownEventArgs e)
        {
            // Click the drop down button should cause the slide out to be focused so that it
            // does not slide back again if you move the mouse away from the slide out area
            _dockspaceSlide?.Select();

            PageDropDownClicked?.Invoke(sender, e);
        }