C# Class AdvancedPageDragAndDrop.PageDragTreeView

TreeView customized to work with KryptonPage drag and drop.
Inheritance: System.Windows.Forms.TreeView, IDragTargetProvider
ファイルを表示 Open project: ComponentFactory/Krypton Class Usage Examples

Private Properties

Property Type Description
PageDragEnd void
PageDragMove void
PageDragQuit void
PageDragStart void

Public Methods

Method Description
GenerateDragTargets ( PageDragEndData dragEndData ) : DragTargetList

Generate a list of drag targets that are relevant to the provided end data.

PageDragTreeView ( ) : System

Initialize a new instance of the PageDragTreeView class.

Protected Methods

Method Description
OnMouseDown ( MouseEventArgs e ) : void

Raises the MouseDown event.

OnMouseMove ( MouseEventArgs e ) : void

Raises the MouseMove event.

OnMouseUp ( MouseEventArgs e ) : void

Raises the MouseUp event.

Private Methods

Method Description
PageDragEnd ( Point pt ) : void
PageDragMove ( Point pt ) : void
PageDragQuit ( ) : void
PageDragStart ( Point pt ) : void

Method Details

GenerateDragTargets() public method

Generate a list of drag targets that are relevant to the provided end data.
public GenerateDragTargets ( PageDragEndData dragEndData ) : DragTargetList
dragEndData ComponentFactory.Krypton.Navigator.PageDragEndData Pages data being dragged.
return DragTargetList

OnMouseDown() protected method

Raises the MouseDown event.
protected OnMouseDown ( MouseEventArgs e ) : void
e MouseEventArgs A MouseEventArgs that contains the event data.
return void

OnMouseMove() protected method

Raises the MouseMove event.
protected OnMouseMove ( MouseEventArgs e ) : void
e MouseEventArgs A MouseEventArgs that contains the event data.
return void

OnMouseUp() protected method

Raises the MouseUp event.
protected OnMouseUp ( MouseEventArgs e ) : void
e MouseEventArgs A MouseEventArgs that contains the event data.
return void

PageDragTreeView() public method

Initialize a new instance of the PageDragTreeView class.
public PageDragTreeView ( ) : System
return System