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: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Change background color of parts of node Texts

Thread ID:

Created:

Updated:

Platform:

Replies:

144342 May 1,2019 06:17 PM UTC May 7,2019 12:46 PM UTC WinForms 5
loading
Tags: TreeViewAdv
Adam Bruss
Asked On May 1, 2019 06:17 PM UTC

Hello,

I'm trying to mimic the Visual Studio 2017 search feature where it highlights the matched text in the node labels. Can you provide a code snippet of how to color parts of tree node labels? See the image I attached for an example of Visual Studio doing it.

Here's an example:

I'm searching for 'foo' and the nodes are as follows.

foobar
fubar
syncfoo
fusionfoobuck
foofighters

Notice "foo" is highlighted in the nodes. I'd like to implement this using TreeViewAdv.

Thanks,
Adam

Attachment: 20190501_131214_2cba3b6c.zip

Sabaridass Ramamoorthy [Syncfusion]
Replied On May 2, 2019 12:50 PM UTC

Hi Adam, 
 
Currently we are checking the feasibilities to achieve your requirement and we will update you the prompt details on or before 6th May, 2019. 
 
We appreciate your patience until then. 
 
Regards, 
Sabaridass R 


Adam Bruss
Replied On May 2, 2019 02:13 PM UTC

Thanks for the prompt response.

Sabaridass Ramamoorthy [Syncfusion]
Replied On May 3, 2019 10:56 AM UTC

Hi Adam, 
 
Thanks for the update. 
 
As per the current behavior, it is not feasible to highlight the nodes only for searched characters in our TreeViewAdv control. However we are working find is there any other possibilities to achieve your requirement thorough work around. As promised, we will update you the details on 6th May, 2019. 
 
Regards, 
Sabaridass R 


Jagadeesan Pichaimuthu [Syncfusion]
Replied On May 6, 2019 01:08 PM UTC

Hi Adam, 
  
 
Sorry for the delay. 
  
  
Still we are working find is there any other possibilities to achieve your requirement thorough work around. As promised, we will update you the details on 7th May, 2019.  
 
 
Regards, 
Jagadeesan 


Sabaridass Ramamoorthy [Syncfusion]
Replied On May 7, 2019 12:46 PM UTC

Hi Adam,  
 
We analyzed your reported query “Change background color of parts of node Texts”. We are sorry to inform you that currently we don’t have support for highlight the searched characters only in the nodes of TreeViewAdv Control. Also we tried our best and there is no possibility to achieve your requirement by any work around solution.  
 
However we have logged a feature request for this reported issue and it can be available in any of our upcoming Volume release. Here we have provided the feedback link for this request. 
 
If you have any more specification replication procedure or a scenario to be tested you can add it as a comment in the portal. 
 
Regards,  
Sabaridass R 


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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

Live Chat Icon For mobile
Live Chat Icon