This is a migrated thread and some comments may be shown as answers.

RadTreeView MouseDouble Click on nodes

1 Answer 317 Views
Treeview
This is a migrated thread and some comments may be shown as answers.
Firion
Top achievements
Rank 1
Firion asked on 17 Nov 2015, 08:21 AM
Hi, I want to know how to capture the double click event on the nodes? User click on nodes and open new form. Currently i use MouseClick event is able to capture but i tried on double click cant perform what i want.

Private Sub RadTreeView1_NodeMouseClick(sender As Object, e As Telerik.WinControls.UI.RadTreeViewEventArgs) Handles RadTreeView1.NodeMouseClick
            If e.Node.Name = "License" Then
                license = New License
                license.MdiParent = Me
                license.WindowState = FormWindowState.Maximized
                license.Show()
            End If
End Sub

Above is the code that i use on MouseClick Event, it work as my expectation. But i wish to make it ask Double Click event.

Thank you and appreciate your answer.

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 17 Nov 2015, 09:16 AM
Hi ,

Thank you for writing.

We have a specific event for the purpose, it is called: NodeMouseDoubleClick. Feel free to use it.

Regards,
Stefan
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Treeview
Asked by
Firion
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or