Hi, I am using HierarchicalDataTemplate and custom ItemContainerStyle for the telerik treeview. It seems after the update to Q3 2013 the style is ignored. My items in the treeview are not stretched to whole available space any more.
Thanks in advance!
Cheers,
M
<
Style
TargetType
=
"telerik:RadTreeViewItem"
x:Name
=
"RadTreeItemStyle"
x:Key
=
"RadTreeItemStyle"
>
<
Setter
Property
=
"HorizontalContentAlignment"
Value
=
"Stretch"
/>
...
</
Style
>
Thanks in advance!
Cheers,
M
4 Answers, 1 is accepted
0
Steven
Top achievements
Rank 1
answered on 28 Oct 2013, 04:44 PM
Hi,
I too have just encountered this issue while upgrading to SL5 and the Windows 8 theme. Any workarounds possible to fix this?
Cheers,
Steven
I too have just encountered this issue while upgrading to SL5 and the Windows 8 theme. Any workarounds possible to fix this?
Cheers,
Steven
0
Hello Matej,Steven,
Petar Mladenov
Telerik
We tried to reproduce this issue with Q3 2013 dlls but we did not manage. Could you please check our project and let us know if we have missed something ? This way we would be better able to assit you.
Regards,Petar Mladenov
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
matteo
Top achievements
Rank 1
answered on 30 Oct 2013, 02:00 PM
Hello Petar,
thank you for your answer!
You example is missing something, because I wasn't clear enough in my original post. The control (TextBlock) defined in your DataTemplate also doesn't stretch horizontally. Please try putting the border around it, like in the code snippet here, and observe the result:
You should notice the border extends only to the space needed, but I would like it to extend to the whole available area (this was the old behavior).
Please see the picture attached. The screenshot on the bottom was taken while running the sample with previous version of Telerik binaries.
Regards!
thank you for your answer!
You example is missing something, because I wasn't clear enough in my original post. The control (TextBlock) defined in your DataTemplate also doesn't stretch horizontally. Please try putting the border around it, like in the code snippet here, and observe the result:
<
DataTemplate
x:Key
=
"Usertemplate"
>
<
Border
BorderBrush
=
"Black"
BorderThickness
=
"1"
>
<
TextBlock
Text
=
"{Binding Name}"
FontSize
=
"12"
FontWeight
=
"Bold"
Foreground
=
"Green"
/>
</
Border
>
</
DataTemplate
>
Please see the picture attached. The screenshot on the bottom was taken while running the sample with previous version of Telerik binaries.
Regards!
0
Hello matteo,
Petar Mladenov
Telerik
Thanks for your explanation. Actually yesterday we found a binding issue in our Style that most probably is the root cause of this wrong behavior. We will do our best to have this fixed for the next week's internal build as well as in the ServicePack next in mid November.
Please excuse us for the inconvenience caused.
Petar Mladenov
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>