RadTreeView MouseDouble Click on nodes

2 posts, 0 answers
  1. Firion
    Firion avatar
    4 posts
    Member since:
    Nov 2015

    Posted 17 Nov 2015 Link to this post

    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.
  2. Stefan
    Admin
    Stefan avatar
    2891 posts

    Posted 17 Nov 2015 Link to this post

    Hi Firion,

    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
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top