We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Detect Node Unselect Event

I know how to get NodeSelected event to work.

But I need to catch the event when Node is unselected.

Can you please explain how to do this?

I'm using VB .net 2008

thx


3 Replies

AD Administrator Syncfusion Team November 19, 2008 08:27 AM UTC

Right now, I'm working around by doing the following:


Private Sub Diagram1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Diagram1.MouseUp

Dim digNode As Node = Me.Diagram1.Controller.GetNodeAtPoint(Geometry.ConvertPoint(Me.Diagram1.Controller.MouseLocation))

If digNode Is Nothing Then

End If

End Sub


Anything more direct/proper than this?



AD Administrator Syncfusion Team November 20, 2008 05:48 AM UTC

Hi Ameel,

The file is attached herewith that demonstrates the functionality.

Happy Coding!

- Ajeet



Test_VB_c17c27c5.zip


AD Administrator Syncfusion Team November 20, 2008 12:38 PM UTC

thanks ^__^

xD


Loader.
Live Chat Icon For mobile
Up arrow icon