Tag
You are viewing help content for pre-release software. This document and the features it describes are subject to change. Switch to the current version.

ColumnBase.PrintTotalSummaryStyle Property

Gets or sets the style applied to printed total summary items displayed in this column. This is a dependency property.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v20.2.Core.dll

Declaration

public Style PrintTotalSummaryStyle { get; set; }
Public Property PrintTotalSummaryStyle As Style

Property Value

Type Description
Style

The style applied to printed total summary items displayed in this column.

Remarks

Target Type: TextEdit

Example

<Window xmlns:dxg="http://schemas.devexpress.com/winfx/2008/xaml/grid"
        xmlns:dxgt="http://schemas.devexpress.com/winfx/2008/xaml/grid/themekeys"
        xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors">
    <Window.Resources>
        <Style x:Key="customPrintTotalSummaryStyle" 
               BasedOn="{StaticResource {dxgt:TableViewThemeKey ResourceKey=DefaultPrintTotalSummaryStyle}}" 
               TargetType="dxe:TextEdit">
            <Setter Property="HorizontalContentAlignment" Value="Center" />
            <Setter Property="BorderBrush" Value="White" />
            <Setter Property="Background" Value="White"/>
            <Setter Property="BorderThickness" Value="1" />
        </Style>
    </Window.Resources>

    <dxg:GridControl ...>
    ...
        <dxg:GridControl.Columns>
            <dxg:GridColumn FieldName="FullName" 
                            PrintTotalSummaryStyle="{StaticResource customPrintTotalSummaryStyle}"/>
            ...
        </dxg:GridControl.Columns>
    </dxg:GridControl>
</Window>

Refer to the following topics for more information on how to print data:

See Also