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.
Unfortunately, activation email could not send to your email. Please try again.

StackedHeader style

Thread ID:





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

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 05:46 AM

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.

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.