C# Class ComponentFactory.Krypton.Navigator.DragFeedbackSolid

Provides drag feedback as solid windows overlaying hot areas.
Inheritance: DragFeedback
Show file Open project: ComponentFactory/Krypton

Public Methods

Method Description
Feedback ( Point screenPt, DragTarget target ) : DragTarget

Called to request feedback be shown for the specified target.

Quit ( ) : void

Called to cleanup when dragging has finished.

Start ( IPaletteDragDrop paletteDragDrop, IRenderer renderer, PageDragEndData pageDragEndData, DragTargetList dragTargets ) : void

Called to initialize the implementation when dragging starts.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Release unmanaged and optionally managed resources.

FindTarget ( Point screenPt, PageDragEndData dragEndData ) : DragTarget

Find the target the first matches the provided screen point.

Method Details

Dispose() protected method

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

Feedback() public method

Called to request feedback be shown for the specified target.
public Feedback ( Point screenPt, DragTarget target ) : DragTarget
screenPt Point Current screen point of mouse.
target DragTarget Target that needs feedback.
return DragTarget

FindTarget() protected method

Find the target the first matches the provided screen point.
protected FindTarget ( Point screenPt, PageDragEndData dragEndData ) : DragTarget
screenPt Point Point in screen coordinates.
dragEndData PageDragEndData Data to be dropped at destination.
return DragTarget

Quit() public method

Called to cleanup when dragging has finished.
public Quit ( ) : void
return void

Start() public method

Called to initialize the implementation when dragging starts.
public Start ( IPaletteDragDrop paletteDragDrop, IRenderer renderer, PageDragEndData pageDragEndData, DragTargetList dragTargets ) : void
paletteDragDrop IPaletteDragDrop Drawing palette.
renderer IRenderer Drawing renderer.
pageDragEndData PageDragEndData Drag data associated with drag operation.
dragTargets DragTargetList List of all drag targets.
return void