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

RadTreeViewItem Foreground Property

6 Answers 77 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
jan willem fransen
Top achievements
Rank 1
jan willem fransen asked on 27 Oct 2008, 01:27 PM
The Foreground Property of the RadTreeViewItem does not work. Or at least, it doesn't do anything.

I think the expected behavior is that it would change the color of the text in the RadTreeViewItem, but it doesn't.

You can also see in your Demo application, at the Styling demo of the RadTreeView, you assigned the Foreground to "#046380" but the text is just black.

Now I worked around it by instead of this;

        RootItem.Header = "Image Server" 
        RootItem.Foreground = New SolidColorBrush With {.Color = Colors.White} 

I did this;

        RootItem.Header = New TextBlock With {.Text = "Image Server", .Foreground = New SolidColorBrush With {.Color = Colors.White}}  
 

But if you're gonna support the Foreground Property, then please do something useful with it, like, make the Header use it :)

6 Answers, 1 is accepted

Sort by
0
Valentin.Stoychev
Telerik team
answered on 27 Oct 2008, 03:01 PM
Hi jan willem fransen,

We had that problem before. Are you using the latest bits?

Best wishes,
Valentin.Stoychev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
jan willem fransen
Top achievements
Rank 1
answered on 27 Oct 2008, 07:50 PM
I'm using Telerik_RadControls_for_Silverlight_RC1_Trial, downloaded 16-10-2008.
0
Accepted
Konstantin Petkov
Telerik team
answered on 28 Oct 2008, 07:25 AM
Hello Jan,

I just tested that with the latest source and verified the issue is now fixed. You will find the bug fix included in the upcoming official release next week.

Please excuse us for the temporary inconvenience.

Regards,
Konstantin Petkov
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
jan willem fransen
Top achievements
Rank 1
answered on 28 Oct 2008, 09:57 AM
Thanks!
0
Amir
Top achievements
Rank 1
answered on 28 Oct 2008, 04:02 PM
I have same issue it is not working  for me with latest version either.
0
Konstantin Petkov
Telerik team
answered on 29 Oct 2008, 06:12 AM
Sorry, Amir. Please make sure you download and upgrade the tools as soon as we announce the public release of Q3 2008 next week. It will be available for download most probably on Tuesday or Wednesday.

Best wishes,
Konstantin Petkov
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
TreeView
Asked by
jan willem fransen
Top achievements
Rank 1
Answers by
Valentin.Stoychev
Telerik team
jan willem fransen
Top achievements
Rank 1
Konstantin Petkov
Telerik team
Amir
Top achievements
Rank 1
Share this question
or