C# Class ComponentFactory.Krypton.Workspace.DragTargetWorkspaceCellTransfer

Target a transfer to the target workspace cell.
Inheritance: DragTargetWorkspace
Datei anzeigen Open project: ComponentFactory/Krypton

Public Methods

Method Description
DragTargetWorkspaceCellTransfer ( Rectangle screenRect, Rectangle hotRect, Rectangle drawRect, KryptonWorkspace workspace, KryptonWorkspaceCell cell, KryptonPageFlags allowFlags ) : System

Initialize a new instance of the DragTargetWorkspaceCellTransfer 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

DragTargetWorkspaceCellTransfer() public method

Initialize a new instance of the DragTargetWorkspaceCellTransfer class.
public DragTargetWorkspaceCellTransfer ( Rectangle screenRect, Rectangle hotRect, Rectangle drawRect, KryptonWorkspace workspace, KryptonWorkspaceCell cell, KryptonPageFlags allowFlags ) : 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.
workspace KryptonWorkspace Control instance for drop.
cell KryptonWorkspaceCell Workspace cell as target for drop.
allowFlags KryptonPageFlags Only drop pages that have one of these flags defined.
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