Completed
Last Updated: 23 Apr 2020 16:12 by ADMIN
Release R2 2020 (LIB 2020.1.423)
Dickson
Created on: 14 Apr 2020 09:21
Category: UI for WinForms
Type: Feature Request
0
RadTreeView: Expose HideHintWindow and ShowHintWindow methods

You cannot implement custom logic that requires hiding a DragOverNode hint window. 

Workaround:

public class MyTreeViewDragDropService : TreeViewDragDropService
{
    public MyTreeViewDragDropService(RadTreeViewElement owner)
        : base(owner)
    {
    }

    public void HideHintWindow()
    {
        this.HintWindow.Hide();
    }
}

private void RadTreeView1_DragOverNode(object sender, RadTreeViewDragCancelEventArgs e)
{
    ((MyTreeViewDragDropService)this.radTreeView1.TreeViewElement.DragDropService).HideHintWindow();
}

 

0 comments