Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
4165
Drag And Drop Node In Same Tree Issue
posted

Hello,

I have a WinTree setup these three events so that I can take a node in this tree, drag it and drop in the same tree. The control has the AllowDrop = True.

 

 

 

 

 

 

 

private void utvDocPage_DragOver(object sender, DragEventArgs e)

{

e.Effect =

DragDropEffects.Copy;

}

 

 

private void utvDocPage_DragEnter(object sender, DragEventArgs e)

{

e.Effect =

DragDropEffects.Copy;

}

 

 

private void utvDocPage_SelectionDragStart(object sender, EventArgs e)

{

utvDocPage.DoDragDrop(utvDocPage.ActiveNode,

DragDropEffects.Copy);


}

The control will let me select a node, then drag that node but when I drop it the utvDocPage_DragDrop event will not fire.

Thanks.

Parents
No Data
Reply Children
No Data