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

How to get the active node in Palettegroup

Hello, 

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

Thank you.

Julian Alvarez

1 Reply

AK Ashok Kumar V Syncfusion Team October 27, 2014 07:07 AM UTC

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

Loader.
Live Chat Icon For mobile
Up arrow icon