コード例 #1
0
            protected override void OnEndDrag(UIElement dragElement, bool abort)
            {
                Target target         = Target;
                bool   isShiftKeyDown = GetIsShiftKeyDown(DockControl);

                DockControl.ClearValue(IsShiftKeyDownPropertyKey);
                ShowsDockControlGuide = false;
                PaneWithGuide         = null;
                Target = Target.Empty;
                RestoreCursor(dragElement as FrameworkElement);
                WindowHandler.EndDrag();
                if (!abort)
                {
                    Drop(target, isShiftKeyDown);
                }
            }