ARCed.UI.DockPaneCaptionBase.OnMouseDown C# (CSharp) Method

OnMouseDown() protected method

protected OnMouseDown ( MouseEventArgs e ) : void
e MouseEventArgs
return void
        protected override void OnMouseDown(MouseEventArgs e)
        {
            base.OnMouseDown(e);

            if (e.Button == MouseButtons.Left &&
                this.DockPane.DockPanel.AllowEndUserDocking &&
                this.DockPane.AllowDockDragAndDrop &&
                !DockHelper.IsDockStateAutoHide(this.DockPane.DockState) &&
                this.DockPane.ActiveContent != null)
                this.DockPane.DockPanel.BeginDrag(this.DockPane);
        }