Skip to main content

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.v24.2.dll

NuGet Package: DevExpress.Wpf.Grid.Core

Declaration

public Style PrintBandHeaderStyle { get; set; }

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:

See Also