Skip to main content

TableView.PrintGroupRowTemplate Property

Gets or sets the template that defines the presentation of group rows when the grid is printed. This is a dependency property.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v14.2.dll

#Declaration

public DataTemplate PrintGroupRowTemplate { get; set; }

#Property Value

Type Description
DataTemplate

A DataTemplate object that defines the presentation of group rows when the grid is printed.

#Remarks

The templates supplied by the DXGrid for Silverlight, allow you to completely replace the look and feel of visual elements while maintaining their existing behavior.


<DataTemplate x:Key="CustomPrintGroupRowTemplate">
   <ContentControl Foreground="{Binding Path=Foreground, RelativeSource={RelativeSource TemplatedParent}}">   
       <Grid DataContext="{Binding Path=DataContext.Content, RelativeSource={RelativeSource TemplatedParent}}">

            ...

       </Grid>
   </ContentControl>
</DataTemplate>

To learn more, see Styles and Templates.

See Also