Maybe this topic has already been there but I didn't find it using the forum search...
How can I use some text that is rotated 90 degrees (i.e. rendered vertically instead of horizontally) in some column of the RadGridView, thus using more vertical but far less horizontal space in the header row? (The content cells would be checkboxes then)
I experimented with setting the header property to a TextBlock with a RotateTransform in it, but the text gets cropped to the length it would have in the header column without being rotated (using Width="Auto" on the column). I could set the Width property to some larger value that allows the entire text to be displayed, but then the column will use this width even when the text is rotated vertically and doesn't need that much space - so that isn't the way I want it, too.
Any suggestions how to get this working?
7 Answers, 1 is accepted
Please try this XAML and let me know in case it does not solve the issue.
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.
I had to tweak your example a little bit, but now it works as desired.
Thank you very much!
In order to resolve this issue, you can increase border's Height. Please check the following code snippet for a reference:
I hope this helps.
the Telerik team
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.
nevermind I found another way using Style
I have bidden the data dynamically rad grid view. and tried to rotate the header text and this done as by below to achive this. Now my header text is view partially (attached the image)...
Kindly guide how to set the size of header text for dynamic biding data
<telerik:RadGridView Exporting="gvData_Exporting" AutoGenerateColumns="False" Visibility="Visible" IsReadOnly="True"
AutoExpandGroups="False" FrozenColumnCount="7" FontSize="10"
x:Name="grdview" Margin="0,-58,0,53" Foreground="#FFF3F2F2" >
<Style TargetType="telerik1:GridViewHeaderCell" >
<Setter Property="RenderTransform" >
<RotateTransform Angle="-90" CenterX="20" />