C# Class ComponentFactory.Krypton.Navigator.DragTargetNavigatorTransfer

Target the entire navigator client area.
Inheritance: DragTarget
Mostra file Open project: ComponentFactory/Krypton

Public Methods

Method Description
DragTargetNavigatorTransfer ( Rectangle rect, KryptonNavigator navigator, KryptonPageFlags allowFlags ) : System

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

DragTargetNavigatorTransfer() public method

Initialize a new instance of the DragTargetNavigatorTransfer class.
public DragTargetNavigatorTransfer ( Rectangle rect, KryptonNavigator navigator, KryptonPageFlags allowFlags ) : System
rect System.Drawing.Rectangle Rectangle for hot and draw areas.
navigator KryptonNavigator Control instance 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 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 PageDragEndData Data to pass to the target to process drop.
return bool