Example #1
0
            public void BeginDrag(IDockDragSource dragSource)
            {
                DragSource = dragSource;

                if (!BeginDrag())
                {
                    DragSource = null;
                    return;
                }
                Outline   = new DockOutline();
                Indicator = new DockIndicator(this);
                Indicator.Show(false);
                //MessageBox.Show(DragSource.GetType().FullName);
                FloatOutlineBounds = DragSource.BeginDrag(StartMousePosition);
            }
            public void BeginDrag(IDockDragSource dragSource)
            {
                DragSource = dragSource;

                if (!BeginDrag())
                {
                    DragSource = null;
                    return;
                }

                Outline   = DockPanel.Extender.DockOutlineFactory.CreateDockOutline();
                Indicator = new DockIndicator(this);

                FloatOutlineBounds = DragSource.BeginDrag(StartMousePosition);
            }
            public void BeginDrag(IDockDragSource dragSource)
            {
                DragSource = dragSource;

                if (!BeginDrag())
                {
                    DragSource = null;
                    return;
                }

                Outline = new DockOutline();
                Indicator = new DockIndicator(this);
                Indicator.Show(false);

                FloatOutlineBounds = DragSource.BeginDrag(StartMousePosition);
            }
            public void BeginDrag(IDockDragSource dragSource)
            {
                Console.WriteLine("DockDragHandler:BeginDrag");
                DragSource = dragSource;

                if (!BeginDrag())
                {
                    DragSource = null;
                    return;
                }

                Console.WriteLine("DockOutline:new");
                Outline = new DockOutline();
                Console.WriteLine("DockIndicator:new");
                Indicator = new DockIndicator(this);
                Indicator.Show(false);

                FloatOutlineBounds = DragSource.BeginDrag(StartMousePosition);
            }
 public void BeginDrag(IDockDragSource dragSource)
 {
     this.DragSource = dragSource;
     if(!this.BeginDrag()){
         this.DragSource = null;
         return;
     }
     this.Outline = new DockOutline();
     this.Indicator = new DockIndicator(this);
     this.Indicator.Show(false);
     this.FloatOutlineBounds = this.DragSource.BeginDrag(this.StartMousePosition);
 }
            public void BeginDrag(IDockDragSource dragSource)
            {
                DragSource = dragSource;

                if (!BeginDrag())
                {
                    DragSource = null;
                    return;
                }

                Outline = DockPanel.Theme.Extender.DockOutlineFactory.CreateDockOutline();
                Indicator = DockPanel.Theme.Extender.DockIndicatorFactory.CreateDockIndicator(this);
                Indicator.Show(false);

                FloatOutlineBounds = DragSource.BeginDrag(StartMousePosition);
            }