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

RadTreeListView

3 Answers 113 Views
OutlookBar
This is a migrated thread and some comments may be shown as answers.
satyajit
Top achievements
Rank 1
satyajit asked on 01 Feb 2010, 05:04 AM
Hi,
Currently we are using  RadTreeListView . Can anyone give me its style  
Thanks in advance

 

3 Answers, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 01 Feb 2010, 01:00 PM
Hello satyajit,

Please find attached a project.

If you have further  questions please do not hesitate to ask us
I hope this will help you.


Regards,
Dimitrina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Tomasz Izydorczyk
Top achievements
Rank 1
answered on 03 Mar 2010, 10:37 AM

Hi Dimitrina,

I have the same problem as satyajit. I found the styles in Navigation assembly but when tried to change something I was surprised because it didn't work :(

It's the same on your example (the same styles I found earlier).

I've tried to change Tree Lines color and replaced it inside RadTreeListViewItem template as below:

<Line x:Name="HorizontalLineElement" X2="8" Width="8" Stretch="Fill"  
                                        Stroke="Red" StrokeThickness="1"  
                                        HorizontalAlignment="Right" VerticalAlignment="Center"  
                                        IsHitTestVisible="False" Visibility="Collapsed"  
                                        StrokeEndLineCap="Square" />  
 
                                <Line x:Name="VerticalHeaderLineElement" Grid.RowSpan="2" Y2="10"  
                                        Stretch="Fill" Stroke="Red" StrokeThickness="1"  
                                        StrokeEndLineCap="Square" HorizontalAlignment="Center"  
                                        IsHitTestVisible="False" Visibility="Collapsed" /> 
but nothing has changed when rebuilt mine or yours project.

I've also tried to change Background property on that style, but no effect again. It looks that it still applies template from assembly not from user resources.

Any advice how to change style for RadTreeListViewItem?

Thanks in advance,

Tom

0
Miroslav
Telerik team
answered on 04 Mar 2010, 03:36 PM
Hello Tomasz Izydorczyk,

In the attached example the styles of the TreeList were included in the resources but item styles were not actually used.

When the ItemContainerStyle property is set it is correctly applied.

I am attaching the same example where the lines are "Red".

Please note that the TreeListView is a CTP and major changes are expected in it. It is best not to use it in production code at the time being.

Greetings,
Miroslav
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
OutlookBar
Asked by
satyajit
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Tomasz Izydorczyk
Top achievements
Rank 1
Miroslav
Telerik team
Share this question
or