wpf-devexpress-dot-xpf-dot-grid-dot-treelistview-e2148b16.md
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
public Style PrintBandHeaderStyle { get; set; }
Public Property PrintBandHeaderStyle As Style
| Type | Description |
|---|---|
| Style |
The style applied to printed band headers.
|
Target Type : TextEdit
<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