wpf-devexpress-dot-xpf-dot-grid-dot-dataviewbase-a9bdc35c.md
Gets or sets the style applied to the printed row indents. This is a dependency property.
Namespace : DevExpress.Xpf.Grid
Assembly : DevExpress.Xpf.Grid.v25.2.Core.dll
NuGet Package : DevExpress.Wpf.Grid.Core
public Style PrintRowIndentStyle { get; set; }
Public Property PrintRowIndentStyle As Style
| Type | Description |
|---|---|
| Style |
The style applied to the printed row indents.
|
Target Type : Control
<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="customPrintRowIndentStyle"
BasedOn="{StaticResource {dxgt:TreeListViewThemeKey ResourceKey=DefaultPrintRowIndentStyle}}"
TargetType="Control">
<Setter Property="Foreground" Value="Red" />
</Style>
</Window.Resources>
<dxg:GridControl ...>
...
<dxg:GridControl.View>
<dxg:TreeListView PrintRowIndentStyle="{StaticResource customPrintRowIndentStyle}"
.../>
</dxg:GridControl.View>
</dxg:GridControl>
</Window>
Refer to the following topics for more information on how to print data:
See Also