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

Treelist to use Vector image defined in the Xaml

2 Answers 35 Views
TreeListView
This is a migrated thread and some comments may be shown as answers.
OmegaMan
Top achievements
Rank 1
OmegaMan asked on 05 Jul 2012, 03:30 PM
I would like the TreeListView to display a vector image for each Item state instead of a graphics file (png/jpg) and use for example, this path as defined in the Xaml.

Is that possible?
<Window.Resources>
   <Path x:Key="MyVectorImage" 
              x:Shared="False"
              Stroke="DarkGoldenRod"
              StrokeThickness="3"
              Data="M 10,20 C 10,25 40,35 40,17 H 28"
              Stretch="Fill"
              Width="100"
              Height="40"/>
</Window.Resources>

2 Answers, 1 is accepted

Sort by
0
Accepted
Vlad
Telerik team
answered on 06 Jul 2012, 05:16 AM
Hi,

Generally the entire UI of the treelist is with vector images and there will be no problem to use your own together with the component - declared in some DataTemplate or directly inserted in the control template using Blend. 

All the best,
Vlad
the Telerik team

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

0
OmegaMan
Top achievements
Rank 1
answered on 06 Jul 2012, 02:37 PM
I will explore the data template option. Thanks.

-Bill
Tags
TreeListView
Asked by
OmegaMan
Top achievements
Rank 1
Answers by
Vlad
Telerik team
OmegaMan
Top achievements
Rank 1
Share this question
or