Overlay Icon

2 posts, 0 answers
  1. Stéphane
    Stéphane avatar
    6 posts
    Member since:
    Mar 2012

    Posted 15 May 2012 Link to this post

    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,
  2. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 18 May 2012 Link to this post

    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 >>

  3. UI for WPF is Visual Studio 2017 Ready
Back to Top