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.

DataViewBase.PrintRowIndentStyle Property

Gets or sets the style applied to the printed row indents. This is a dependency property.

Namespace: DevExpress.Xpf.Grid

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

Declaration

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

Property Value

Type Description
Style

The style applied to the printed row indents.

Remarks

Target Type: Control

Example

<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