C# Class ComponentFactory.Krypton.Workspace.DragTargetWorkspace

Target within the workspace.
Inheritance: DragTarget
Exibir arquivo Open project: ComponentFactory/Krypton

Public Methods

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

Initialize a new instance of the DragTargetWorkspace class.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Release unmanaged and optionally managed resources.

ProcessDragEndData ( KryptonWorkspace workspace, KryptonWorkspaceCell target, PageDragEndData data ) : KryptonPage

Process the drag pages in the context of a target navigator.

Method Details

Dispose() protected method

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

DragTargetWorkspace() public method

Initialize a new instance of the DragTargetWorkspace class.
public DragTargetWorkspace ( 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

ProcessDragEndData() protected method

Process the drag pages in the context of a target navigator.
protected ProcessDragEndData ( KryptonWorkspace workspace, KryptonWorkspaceCell target, PageDragEndData data ) : KryptonPage
workspace KryptonWorkspace Target workspace instance.
target KryptonWorkspaceCell Target workspace cell instance.
data ComponentFactory.Krypton.Navigator.PageDragEndData Dragged page data.
return ComponentFactory.Krypton.Navigator.KryptonPage