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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Detect Node Unselect Event

Thread ID:

Created:

Updated:

Platform:

Replies:

77844 Nov 19,2008 08:13 AM UTC Nov 20,2008 12:38 PM UTC WinForms 3
loading
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

thx


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



Test_VB_c17c27c5.zip

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

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.

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

;