3 Answers, 1 is accepted
0
Hello satyajit,
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.
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" /> |
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
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.
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.