This question is locked. New answers and comments are not allowed.
Hello,
I've several small checkbox columns within my gridview. Because the columns are to small for a meaningful header my idea was to use RenderTransform and rotate the header.
The problem is now that even if there is enough space for the header, the header content is truncated because the header didn't take care that the text is rotated. Does anybody know a solution for this problem?
Thanks
Uwe
I've several small checkbox columns within my gridview. Because the columns are to small for a meaningful header my idea was to use RenderTransform and rotate the header.
| <telGrid:GridViewDataColumn UniqueName="IsEnabled" DataMemberBinding="{Binding Path=IsEnabled}" IsFilterable="False"> |
| <telGrid:GridViewDataColumn.Header> |
| <telGridView:AlignmentContentPresenter Content="Enabled" RenderTransformOrigin="0.5,0.5"> |
| <telGridView:AlignmentContentPresenter.RenderTransform> |
| <RotateTransform Angle="90"/> |
| </telGridView:AlignmentContentPresenter.RenderTransform> |
| </telGridView:AlignmentContentPresenter> |
| </telGrid:GridViewDataColumn.Header> |
| </telGrid:GridViewDataColumn> |
The problem is now that even if there is enough space for the header, the header content is truncated because the header didn't take care that the text is rotated. Does anybody know a solution for this problem?
Thanks
Uwe