C# Class ComponentFactory.Krypton.Docking.DragTargetControlEdge

Target one of the four sides of a docking control.
Inheritance: DragTarget
显示文件 Open project: ComponentFactory/Krypton

Public Methods

Method Description
DragTargetControlEdge ( Rectangle screenRect, Rectangle hotRect, Rectangle drawRect, DragTargetHint hint, KryptonDockingControl controlElement, KryptonPageFlags allowFlags, bool outsideEdge ) : System

Initialize a new instance of the DragTargetControlEdge class.

IsMatch ( Point screenPt, PageDragEndData dragEndData ) : bool

Is this target a match for the provided screen position.

PerformDrop ( Point screenPt, PageDragEndData data ) : bool

Perform the drop action associated with the target.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Release unmanaged and optionally managed resources.

Method Details

Dispose() protected method

Release unmanaged and optionally managed resources.
protected Dispose ( bool disposing ) : void
disposing bool Called from Dispose method.
return void

DragTargetControlEdge() public method

Initialize a new instance of the DragTargetControlEdge class.
public DragTargetControlEdge ( Rectangle screenRect, Rectangle hotRect, Rectangle drawRect, DragTargetHint hint, KryptonDockingControl controlElement, KryptonPageFlags allowFlags, bool outsideEdge ) : System
screenRect System.Drawing.Rectangle Rectangle for screen area.
hotRect System.Drawing.Rectangle Rectangle for hot area.
drawRect System.Drawing.Rectangle Rectangle for draw area.
hint DragTargetHint Target hint which should be one of the edges.
controlElement KryptonDockingControl Workspace instance that contains cell.
allowFlags KryptonPageFlags Only drop pages that have one of these flags defined.
outsideEdge bool Add to the outside edge (otherwise the inner edge).
return System

IsMatch() public method

Is this target a match for the provided screen position.
public IsMatch ( Point screenPt, PageDragEndData dragEndData ) : bool
screenPt Point Position in screen coordinates.
dragEndData ComponentFactory.Krypton.Navigator.PageDragEndData Data to be dropped at destination.
return bool

PerformDrop() public method

Perform the drop action associated with the target.
public PerformDrop ( Point screenPt, PageDragEndData data ) : bool
screenPt Point Position in screen coordinates.
data ComponentFactory.Krypton.Navigator.PageDragEndData Data to pass to the target to process drop.
return bool