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

Text wrapping in a column header

1 Answer 67 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Szymon Wantuch
Top achievements
Rank 1
Szymon Wantuch asked on 23 Jun 2010, 03:01 PM
Hello,

What is the correct way to implement text wrapping in a column header? I have seen the example in this thread, but it is over one year old and it uses AlignmentContentPresenter which is marked as obsolete. I have also been putting my effort into using a textblock and it's text-wrapping functionality to do this, but to no avail.

Could you provide a correct way to do it?

Also, is it possible to create an "overheader" grouping a few columns, in a style of a pivot grid?

Best Regards,
Szymon Wantuch

1 Answer, 1 is accepted

Sort by
0
Accepted
Vlad
Telerik team
answered on 23 Jun 2010, 03:03 PM
Hi,

Indeed you can define TextBlock in the column Header and set desired properties - you need however to specify Width for this column.

Kind regards,
Vlad
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
GridView
Asked by
Szymon Wantuch
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or