Completed
Last Updated: 15 Aug 2017 10:20 by ADMIN
ADMIN
Dess | Tech Support Engineer, Principal
Created on: 09 Feb 2017 11:20
Category: TreeView
Type: Bug Report
0
FIX. RadTreeView - setting the Handled argument to true in the TreeViewDragDropService.PreviewDragDrop event doesn't stop the basic logic to be performed in unbound treeview
To reproduce:

public RadForm1()
{
    InitializeComponent(); 

    for (int i = 0; i < 10; i++)
    {
        this.radTreeView1.Nodes.Add("Node1." + i); 
    }
    this.radTreeView1.AllowDragDrop = true; 
    
    this.radTreeView1.TreeViewElement.DragDropService.PreviewDragDrop+=DragDropService_PreviewDragDrop;
}

private void DragDropService_PreviewDragDrop(object sender, RadDropEventArgs e)
{
    e.Handled = true;
}
0 comments