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.

TreeListView.PrintBandHeaderStyle Property

Gets or sets the style applied to printed band headers. This is a dependency property.

Namespace: DevExpress.Xpf.Grid

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

Declaration

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

Property Value

Type Description
Style

The style applied to printed band headers.

Remarks

Target Type: TextEdit

Example

<Window xmlns:dxg="http://schemas.devexpress.com/winfx/2008/xaml/grid"
        xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors">
    <dxg:GridControl ...>
    ...
        <dxg:GridControl.View>
            <dxg:TreeListView ...>
                <dxg:TreeListView.PrintBandHeaderStyle>
                    <Style TargetType="{x:Type dxe:TextEdit}">
                        <Setter Property="HorizontalContentAlignment" Value="Center"/>
                        <Setter Property="FontStyle" Value="Italic"/>
                        <Setter Property="Background" Value="Black"/>
                        <Setter Property="Foreground" Value="White"/>
                    </Style>
                </dxg:TreeListView.PrintBandHeaderStyle>
            </dxg:TreeListView>
        </dxg:GridControl.View>
    </dxg:GridControl>
</Window>

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

Implements

DevExpress.Xpf.Grid.ITableView.PrintBandHeaderStyle
See Also