ARCed.UI.DockPanel.DockDragHandler.DockIndicator.TestDrop C# (CSharp) Method

TestDrop() public method

public TestDrop ( ) : void
return void
                public void TestDrop()
                {
                    Point pt = MousePosition;
                    this.DockPane = DockHelper.PaneAtPoint(pt, this.DockPanel);

                    if (TestDrop(this.PanelLeft, pt) != DockStyle.None)
                        this.HitTestResult = this.PanelLeft;
                    else if (TestDrop(this.PanelRight, pt) != DockStyle.None)
                        this.HitTestResult = this.PanelRight;
                    else if (TestDrop(this.PanelTop, pt) != DockStyle.None)
                        this.HitTestResult = this.PanelTop;
                    else if (TestDrop(this.PanelBottom, pt) != DockStyle.None)
                        this.HitTestResult = this.PanelBottom;
                    else if (TestDrop(this.PanelFill, pt) != DockStyle.None)
                        this.HitTestResult = this.PanelFill;
                    else if (TestDrop(this.PaneDiamond, pt) != DockStyle.None)
                        this.HitTestResult = this.PaneDiamond;
                    else
                        this.HitTestResult = null;

                    if (this.HitTestResult != null)
                    {
                        if (this.HitTestResult is PaneIndicator)
                            this.DragHandler.Outline.Show(this.DockPane, this.HitTestResult.Status);
                        else
                            this.DragHandler.Outline.Show(this.DockPanel, this.HitTestResult.Status, this.FullPanelEdge);
                    }
                }

Same methods

DockPanel.DockDragHandler.DockIndicator::TestDrop ( IHitTest hitTest, Point pt ) : DockStyle