RadTreeViewItem Foreground Property

7 posts, 1 answers
  1. jan willem fransen
    jan willem fransen avatar
    40 posts
    Member since:
    Dec 2005

    Posted 27 Oct 2008 Link to this post

    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 :)
  2. Valentin.Stoychev
    Admin
    Valentin.Stoychev avatar
    2198 posts

    Posted 27 Oct 2008 Link to this post

    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.
  3. jan willem fransen
    jan willem fransen avatar
    40 posts
    Member since:
    Dec 2005

    Posted 27 Oct 2008 Link to this post

    I'm using Telerik_RadControls_for_Silverlight_RC1_Trial, downloaded 16-10-2008.
  4. Answer
    Konstantin Petkov
    Admin
    Konstantin Petkov avatar
    1911 posts

    Posted 28 Oct 2008 Link to this post

    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.
  5. jan willem fransen
    jan willem fransen avatar
    40 posts
    Member since:
    Dec 2005

    Posted 28 Oct 2008 Link to this post

    Thanks!
  6. Amir
    Amir avatar
    13 posts
    Member since:
    Apr 2008

    Posted 28 Oct 2008 Link to this post

    I have same issue it is not working  for me with latest version either.
  7. Konstantin Petkov
    Admin
    Konstantin Petkov avatar
    1911 posts

    Posted 29 Oct 2008 Link to this post

    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.
Back to Top