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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Detect Node Unselect Event

Thread ID:





77844 Nov 19,2008 08:13 AM UTC Nov 20,2008 12:38 PM UTC WinForms 3
Tags: Diagram
Administrator [Syncfusion]
Asked On November 19, 2008 08:13 AM UTC

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


Administrator [Syncfusion]
Replied On 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?

Administrator [Syncfusion]
Replied On November 20, 2008 05:48 AM UTC

Hi Ameel,

The file is attached herewith that demonstrates the functionality.

Happy Coding!

- Ajeet


Administrator [Syncfusion]
Replied On November 20, 2008 12:38 PM UTC

thanks ^__^



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon