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

Overlay Icon

1 Answer 63 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Stéphane
Top achievements
Rank 1
Stéphane asked on 15 May 2012, 12:58 PM
Hi,

I'm using RadControls for WPF (version 2012.1.326.40), and my question is about the RadTreeView.
Is it possible to show an overlay image over the RadTreeViewItem's DefaultImageSrc ?

Best regards,

1 Answer, 1 is accepted

Sort by
0
Petar Mladenov
Telerik team
answered on 18 May 2012, 06:25 AM
Hello Stephane,

 Could you please elaborate more on your exact requirement? Any sample pictures would be greatly appreciated. This way we would be better able to advice you.
Basically in databinding scenarios, you can define an ItemTemplate for the RadTreeViewItems and this way you will be able to place whatever you need in the RadTreeViewItem's Header. For example like so:

<DataTemplate x:key="template">
    <StackPanel orientation=horizontal>
            <telerik: RadButton />
            <Image />
            <telerik:RadComboBox />
            ......
 
<telerik:RadTreeView ItemTemplate ={StaticResource template}>
 .....

Greetings,
Petar Mladenov
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
TreeView
Asked by
Stéphane
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
Share this question
or