Completed
Last Updated: 15 Aug 2017 10:20 by ADMIN
ADMIN
Dess | Tech Support Engineer, Sr.
Created on: 09 Feb 2017 10:48
Category: TreeView
Type: Bug Report
0
FIX. RadTreeView - setting the TreeViewDragDropService.ShowDragHint property to false doesn't hide the drag hint
To reproduce:
for (int i = 0; i < 10; i++)
{
   this.radTreeView1.Nodes.Add("Node1." + i);
}
this.radTreeView1.AllowDragDrop = true; 

this.radTreeView1.TreeViewElement.DragDropService.ShowDragHint = false;


Workaround: this.radTreeView1.TreeViewElement.DragDropService.PreviewDragHint += DragDropService_PreviewDragHint;

private void DragDropService_PreviewDragHint(object sender, PreviewDragHintEventArgs e)
{ 
    e.UseDefaultHint = false;
}
0 comments