C# Class ComponentFactory.Krypton.Workspace.DragTargetWorkspaceEdge

Target one of the four sides of the workspace control.
Inheritance: DragTargetWorkspace
Show file Open project: ComponentFactory/Krypton

Public Methods

Method Description
DragTargetWorkspaceEdge ( Rectangle screenRect, Rectangle hotRect, Rectangle drawRect, DragTargetHint hint, KryptonWorkspace workspace, KryptonPageFlags allowFlags ) : System

Initialize a new instance of the DragTargetWorkspaceEdge class.

PerformDrop ( Point screenPt, PageDragEndData data ) : bool

Perform the drop action associated with the target.

Method Details

DragTargetWorkspaceEdge() public method

Initialize a new instance of the DragTargetWorkspaceEdge class.
public DragTargetWorkspaceEdge ( Rectangle screenRect, Rectangle hotRect, Rectangle drawRect, DragTargetHint hint, KryptonWorkspace workspace, 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.
hint DragTargetHint Target hint which should be one of the edges.
workspace KryptonWorkspace Control instance for drop.
allowFlags KryptonPageFlags Only drop pages that have one of these flags defined.
return System

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