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

Change font color

Thread ID:





147176 Sep 3,2019 11:21 PM UTC Sep 5,2019 04:51 AM UTC Blazor 3
Tags: TreeView
Asked On September 3, 2019 11:21 PM UTC

Hi, can I change the color of the text? Ive been trying but I havent found the way.

Kanagambigai Murugan [Syncfusion]
Replied On September 4, 2019 06:18 AM UTC

Hi Raul, 

Good day to you. 

You can change the text color by adding custom CssClass to the component and enabling the following styles. 

/*To change the color of the node text */ 
    .mytree .e-list-item > .e-text-content .e-list-text { 
        color: red; 

Kindly check the above sample and get back to us if you need any further assistance. 

Kanagambigai M. 

Replied On September 4, 2019 08:03 PM UTC

Solved, thanks!

Kanagambigai Murugan [Syncfusion]
Replied On September 5, 2019 04:51 AM UTC

Hi Raul, 
We are glad to hear that your requirement has been achieved. Please get back to us if you need any further assistance. We will be happy to assist you. 
Kanagambigai M. 


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