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.
Unfortunately, activation email could not send to your email. Please try again.

Detect Node Unselect Event

Thread ID:

Created:

Updated:

Platform:

Replies:

77844 Nov 19,2008 03:13 AM Nov 20,2008 07:38 AM Windows Forms 3
loading
Tags: Diagram
Administrator [Syncfusion]
Asked On November 19, 2008 03:13 AM

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


Administrator [Syncfusion]
Replied On November 19, 2008 03:27 AM

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 12:48 AM

Hi Ameel,

The file is attached herewith that demonstrates the functionality.

Happy Coding!

- Ajeet



Test_VB_c17c27c5.zip

Administrator [Syncfusion]
Replied On November 20, 2008 07:38 AM

thanks ^__^

xD


CONFIRMATION

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.

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.

;