This example illustrates how to show vertical border to the column wise summary rows in WPF / UWP DataGrid.
The vertical borders is not shows for each cell in summary rows when ShowSummaryInRow is disabled in WPF DataGrid / UWP DataGrid (SfDataGrid).
The summary rows will be displayed as shown in the following image.
To show the vertical borders for each cell in summary row, write style for BorderThickness of GridTableSummaryCell for GridTableSummaryRow, GridCaptionSummaryCell for CaptionSummaryRow, and GridGroupSummaryCell for GroupSummaryRows.
Refer to the following code for writing style for summary cells to show the vertical border.
<Style TargetType="syncfusion:GridTableSummaryCell">
<Setter Property="BorderThickness" Value="0,0,1,0"/>
</Style>
<Style TargetType="syncfusion:GridCaptionSummaryCell">
<Setter Property="BorderThickness" Value="0,0,1,1"/>
</Style>
<Style TargetType="syncfusion:GridGroupSummaryCell">
<Setter Property="BorderThickness" Value="0,0,1,1"/>
</Style>When the vertical border is applied, the summary rows will be appeared as shown in the following image.

