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

Changing selection color: HOWTO - Copying the default template

Thread ID:

Created:

Updated:

Platform:

Replies:

119284 Jun 1,2015 05:08 PM Jun 2,2015 08:15 AM WinRT 1
loading
Tags: SfTreeNavigator
Joseph Fradley
Asked On June 1, 2015 05:08 PM

Hello,

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,
Joseph

Sugapriya Mariappan [Syncfusion]
Replied On June 2, 2015 08:15 AM

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

Regards,
M.Sugapriya

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.

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.

;