Below I have inserted a screen shot - I'm not sure how well you can see it, but you should be able to understand the question.
It is a grid with a couple of groupings and in the groupings are summaries. To show the summaries, the grid makes the grouped row a lot bigger (the dark blue area in my row). I do not want the row to get any bigger, I would rather the row stay the same size because I only want to show 1 summary. In the screen shot below, I have drawn a red line where I would like the summary to show up (the light blue area of my row) so that the group row does not get any bigger than a standard row. Is this possible?
Summary values are displayed in one of two ways depending upon the value of the FieldLayoutSettings.GroupBySummaryDisplayMode - included as part of the group by record's description (Text) or aligned to the cells in a row below the group by's description (SummaryCellsAlwaysBelowDescription). You may submit a suggestion for adding another option that will try to display the summary cells in the same row as the group by record's description assuming the summary cell wouldn't overlap the description. If you know for sure that the cell being summarized won't overlap then you could retemplate the GroupByRecordPresenter and rearrange the GroupBySummariesPresenter element within the template with respect to the ContentControl that is bound to the Description property of the record presenter.
Is there a way to make the dark blue area where the summaries are smaller? Change the height? Is there a way to customize it at all?
Yes as I mentioned you can retemplate the GroupByRecordPresenter. The default xaml is included with the product in the DefaultStyles directory.
I do not see anything related to the DataGrid in the default styles directory. Could you direct me specifically to the file that contains the default xaml or paste the default xaml in your response?
Thanks.
There is a DataPresenter subfolder under DefaultStyles that has a DataPresenterGeneric_Express.xaml file which has the default style/template for the GroupByRecordPresenter.