We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

StackedHeader style

Thread ID:





105784 Nov 19,2012 11:08 AM UTC Dec 4,2012 10:46 AM UTC WPF 1
Tags: GridControl
Phil Steel
Asked On November 19, 2012 11:08 AM UTC

How do you style the GridDataStackedHeaderRow so it does not clip data? 


I need to display extra information in the StackedHeader but it is being clipped (looks like the panel template is a StackPanel). How do you make the StackedHeader stretch to its content height?

Kannan R [Syncfusion]
Replied On December 4, 2012 10:46 AM UTC

Hi Phil,


Thanks for your update,


Your requirement can be achieved in two ways, please find it in below


To set Row height

Row height can be set using below code snippet


Code Snippet[Xaml]:

  <syncfusion:GridDataControl Name="dataGrid"


When your requirement is to set height for first header row.

First header row height can be set by using below code snippet.


Code Snippet[C#]:


void dataGrid_Loaded(object sender, RoutedEventArgs e)
            this.dataGrid.Model.RowHeights[0] = 70;





We have also prepared sample based on our requirement and it can be downloaded from below location.


Sample Location:  105784Sample.zip


Please let us know if you have any queries,





This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon