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

Node Images

1 Answer 64 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Jon
Top achievements
Rank 1
Jon asked on 27 Dec 2008, 04:19 PM
Hi..
Doe the TreeView support node images like the Telerik.WinControls.UI.RadTreeView ?
thanks in advance

1 Answer, 1 is accepted

Sort by
0
Konstantin Petkov
Telerik team
answered on 29 Dec 2008, 07:50 AM
Hello Jon,

Yes, you can add images to RadTreeView nodes in WPF as well. You can use the DefaultImageSrc and ExpandedImageSrc properties of RadTreeViewItem like this:

            <telerik:RadTreeViewItem Header="Item1" DefaultImageSrc="Add.png" 
                    ExpandedImageSrc="close.png"
 

Please find a sample test WPF application attached.

Greetings,
Konstantin Petkov
the Telerik team

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