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

Changing selection color: HOWTO - Copying the default template

Thread ID:





119284 Jun 1,2015 09:08 PM UTC Jun 2,2015 12:15 PM UTC WinRT 1
Tags: SfTreeNavigator
Joseph Fradley
Asked On June 1, 2015 09:08 PM UTC


I'd like to change the color of the selected node when selected from gray to something else. I didn't see any property to do this. I was going to just make a copy of the current template or style and then modify it. But I was unable to. When I try to copy the template by right clicking the SFTreeNavigator in the deign view and then selecting Make a Copy, I get a 'Copy Template Failed' error message.

How can I change this part of the control?

Thank You,

Sugapriya Mariappan [Syncfusion]
Replied On June 2, 2015 12:15 PM UTC

Hi Joseph,

Query: change the color of the selected node when selected from gray to something else

Please find the KB for your query from the following link
KB link: http://www.syncfusion.com/kb/2757/how-to-customize-the-style-of-winrt-sftreenavigator

We have prepared a sample with the code snippets in the above KB.

Please download the sample from below link
Sample link:SfTreeNavigator

In the sample, we have edited the SfTreeNavigatorItem Style to change the default control Background to pink, when the item gets selected.

Please let us know if you need any other assistance



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