Back to Devexpress

TreeListView.PrintBandHeaderStyle Property

wpf-devexpress-dot-xpf-dot-grid-dot-treelistview-e2148b16.md

latest2.5 KB
Original Source

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

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

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

Property Value

TypeDescription
Style

The style applied to printed band headers.

|

Remarks

Target Type : TextEdit

Example

xaml
<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

Appearance Customization

TreeListView Class

TreeListView Members

DevExpress.Xpf.Grid Namespace