BoldSignA modern eSignature application with affordable pricing. Sign up today for unlimited document usage!
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.
Hi Julian,
Thanks for your update.
Please note that diagram’s “PaletteGroupView”
also contains scroll bar, when more items are added to the GroupView. We
suggest you to use paletteGroupView’s “BringItemIntoView” function to achieve your
requirement. Please refer the below code snippet for your reference.
Here is the Code:
[VB]
If paletteGroupView1.Palette IsNot Nothing Then
Dim incr = 0
For Each nd As Node In
paletteGroupView1.Palette.Nodes
If textBox1.Text = nd.Name Then
'To select the Node/Highlight
paletteGroupView1.SelectNode(nd)
'To Bring Item into the View
paletteGroupView1.BringItemIntoView(incr)
End If
incr += 1
Next nd
End If
Please try the below
attached sample and let us know if any concern.
Regards,
Ashok Kumar.