A newer version of this page is available. Switch to the current version.

TableView.GroupColumnSummaryContentStyle Property

Gets or sets the style applied to group summary items aligned by columns. This is a dependency property.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v19.1.dll


public Style GroupColumnSummaryContentStyle { get; set; }

Property Value

Type Description

A Style object that is the style applied to group summary items aligned by columns.


The TableView.GroupSummaryDisplayMode property specifies the position of group summaries within a group row. If this property is set to GroupSummaryDisplayMode.AlignByColumns, group summaries are displayed under the corresponding columns.

The GroupColumnSummaryContentStyle property is in effect if the TableView.GroupSummaryDisplayMode property is set to GroupSummaryDisplayMode.AlignByColumns. Otherwise, use the GridViewBase.GroupSummaryItemTemplate property.

The GridViewBase.GroupColumnSummaryElementStyle property allows you to specify individual text elements’ style.

The following code snippet uses the GroupColumnSummaryContentStyle property to customize the GroupColumnSummary’s style.

        <dxg:GridSummaryItem SummaryType="Sum" FieldName="UnitPrice" />
        <dxg:TableView GroupSummaryDisplayMode="AlignByColumns">
                <Style TargetType="dxg:GroupColumnSummaryControl">
                    <Setter Property="TextBlock.FontStyle" Value="Italic"/>
See Also