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

[Solved] Vector image in Radtreeviewitem

1 Answer 105 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Henk
Top achievements
Rank 1
Henk asked on 23 Jun 2009, 01:30 PM
Hi,

In Radtreeviewitem you have a DefaultImageSrc pointing to some location for the image (png). Is it possible pointing to an vector image?(created in blend for example with some animation)

Regards,

Henk

1 Answer, 1 is accepted

Sort by
0
Valentin.Stoychev
Telerik team
answered on 24 Jun 2009, 05:47 AM
Hello Henk Boen,

I don't get your question clearly, but basically you can use any png or jpg image with the DefaultImgSrc property.

If you want to display a custom XAML instead of image you can define it in the header of the RadTreeViewITem like that:

 

 

<telerikNavigation:RadTreeViewItem>

 

 

 

<telerikNavigation:RadTreeViewItem.Header>

 

 

 

<StackPanel Orientation="Horizontal">

 

 

 

<TextBlock Text="1" ></TextBlock>

 

 

 

<TextBlock Text="2"></TextBlock>

 

 

 

</StackPanel>

 

 

 

</telerikNavigation:RadTreeViewItem.Header>

 

 

 

</telerikNavigation:RadTreeViewItem>

 

Please let us know if you need more info on that.

All the best,
Valentin.Stoychev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
TreeView
Asked by
Henk
Top achievements
Rank 1
Answers by
Valentin.Stoychev
Telerik team
Share this question
or