This is a migrated thread and some comments may be shown as answers.

RadTreeView with a border brush bind to default theme border bursh?

1 Answer 60 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Mat
Top achievements
Rank 1
Mat asked on 13 May 2014, 08:11 AM
Hello!

I am trying to change a color of RadTreeView border, but I can't find information on how to reference default border brush which is influenced by current theme.

1 Answer, 1 is accepted

Sort by
0
Pavel R. Pavlov
Telerik team
answered on 15 May 2014, 07:49 AM
Hello Mat,

I am not sure which border you refer to. This is why I suggest taking a look at this article to find out which element you need to customize. After that you can follow the steps described here in order to customize the corresponding UI element.

Another approach that may also work in your scenario is to create a custom Style targeting the RadTreeViewItem control and setting it through the ItemContainerStyle property of the RadTreeView. You can find more information on that matter in our documentation

However, if the RadTreeViewItem does not expose public property controlling the border that you refer to, you will need to use the first approach.

Regards,
Pavel R. Pavlov
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
Tags
TreeView
Asked by
Mat
Top achievements
Rank 1
Answers by
Pavel R. Pavlov
Telerik team
Share this question
or