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.

How to get the active node in Palettegroup

Thread ID:

Created:

Updated:

Platform:

Replies:

117457 Oct 24,2014 05:47 AM Oct 27,2014 03:07 AM Windows Forms 1
loading
Tags: Diagram
Julian Alvarez
Asked On October 24, 2014 05:47 AM

Hello, 

I'd like to get the active node in palette group for example when i click on a node.

Thank you.

Julian Alvarez

Ashok Kumar V [Syncfusion]
Replied On October 27, 2014 03:07 AM

Hi Julian,

Thanks for your interest in Syncfusion product.

We have created a simple sample which achieves your requirement of selecting/highlighting the Node in the palette. We suggest you to use paletteGroupView’s “SelectedNode” function to achieve your requirement. Please refer the below code snippet and sample for your reference.

Here is the code snippet:

[VB]

     If paletteGroupView1.Palette IsNot Nothing Then

        For Each nd As Node In paletteGroupView1.Palette.Nodes

            If textBox1.Text = nd.Name Then

                'To Highlight the selectedNode

                paletteGroupView1.SelectNode(nd)

            End If

        Next nd

    End If

Please let us know if any concern.

Regards,

Ashok Kumar. 


Attachment: VB_131252_39233759.zip

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.

;