C# Class WeifenLuo.WinFormsUI.Docking.DockPanel.DragHandlerBase

DragHandlerBase is the base class for drag handlers. The derived class should: 1. Define its public method BeginDrag. From within this public BeginDrag method, DragHandlerBase.BeginDrag should be called to initialize the mouse capture and message filtering. 2. Override the OnDragging and OnEndDrag methods.
Inheritance: System.Windows.Forms.NativeWindow, IMessageFilter
Show file Open project: dockpanelsuite/dockpanelsuite

Protected Methods

Method Description
BeginDrag ( ) : bool
DragHandlerBase ( ) : System.Drawing
OnDragging ( ) : void
OnEndDrag ( bool abort ) : void
OnPreFilterMessage ( Message &m ) : bool
WndProc ( Message &m ) : void

Private Methods

Method Description
EndDrag ( bool abort ) : void
IMessageFilter ( Message &m ) : bool

Method Details

BeginDrag() protected method

protected BeginDrag ( ) : bool
return bool

DragHandlerBase() protected method

protected DragHandlerBase ( ) : System.Drawing
return System.Drawing

OnDragging() protected abstract method

protected abstract OnDragging ( ) : void
return void

OnEndDrag() protected abstract method

protected abstract OnEndDrag ( bool abort ) : void
abort bool
return void

OnPreFilterMessage() protected method

protected OnPreFilterMessage ( Message &m ) : bool
m System.Windows.Forms.Message
return bool

WndProc() protected final method

protected final WndProc ( Message &m ) : void
m System.Windows.Forms.Message
return void