RadTreeView skin

2 posts, 0 answers
  1. darkange69
    darkange69 avatar
    3 posts
    Member since:
    Aug 2007

    Posted 22 Jul 2008 Link to this post

    Is there a way to skin the radtreeview.

    I need, for each node, to display an image, some text and another image.
    For the general skin of the treeview, I need to have the same skin as a generic treeview (like the treeview at the left of this post).

    Is that possible?

    Thanks
  2. Nikolay
    Admin
    Nikolay avatar
    3997 posts

    Posted 24 Jul 2008 Link to this post

    Hi darkange69,

    I suggest that you use a StackPanel in the Header of the tree items. Inside the StackPanel you can place images and text, like:

    <telerik:RadTreeViewItem.Header> 
        <StackPanel Orientation="Horizontal">                         
              <Image Source="..."></Image> 
              <TextBlock>text</TextBlock>   
              <Image Source="..."></Image> 
        </StackPanel>     
    </telerik:RadTreeViewItem.Header> 

    Hope this helps.

    Regards,
    Nick
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top