C# Class ComponentFactory.Krypton.Navigator.DragFeedback

Base class for drag feedback implementations.
Inheritance: IDisposable
Show file Open project: ComponentFactory/Krypton Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void

Release managed and unmanaged resources.

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.

Method Details

Dispose() public method

Release managed and unmanaged resources.
public Dispose ( ) : void
return void

Dispose() protected method

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

Feedback() public abstract method

Called to request feedback be shown for the specified target.
public abstract Feedback ( Point screenPt, DragTarget target ) : DragTarget
screenPt Point Current screen point of mouse.
target DragTarget Target that needs feedback.
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