New to Telerik UI for Silverlight? Download free 30-day trial

Wrap the text in the column header

This article shows how you can wrap the text of the column header, i.e. to have a multi-line text in the header. The end result will look like this:

Wrap Column Header Text in RadGridView - Telerik's Silverlight DataGrid

We will take advantage of the fact that the Header property of the GridView column is of type Object so we can put everything in it. In this case this would be a TextBlock which has a convenient property TextWrapping

<telerik:GridViewDataColumn DataMemberBinding="{Binding Established}"  
                            Width="100" > 
        <TextBlock Text="Stadium Established Date" TextWrapping="Wrap" /> 
That is it, now you have a multi-line header.

See also

In this article
Not finding the help you need? Improve this article