How to add WaterMark to WPF DataGrid while printing?
WPF DataGrid (SfDataGrid) control allows you to print the data displayed in the DataGrid. You can show WaterMark in DataGrid while printing, with the help of PrintPageHeaderTemplate. You can display the WaterMark in various alignments by customizing the PrintPageHeaderTemplate.
You can refer to the following code example to customize the PrintPageHeaderTemplate which shows PrintPageHeaderTemplate like WaterMark.
You can refer to the following code example to customize the PrintPageHeaderTemplate which shows PrintPageHeaderTemplate like WaterMark.
<DataTemplate x:Key="watermark">
<TextBlock Text="Syncfusion Software"
Foreground="Blue"
FontSize="40"
Opacity="0.40"
Height="70"
Width="1070"
Padding="220,0,0,0"
TextAlignment="Left"
MaxWidth="1070"
MaxHeight="150"
VerticalAlignment="Center">
<!--Rotated the Header into 45 degree-->
<TextBlock.RenderTransform>
<RotateTransform Angle="45"/>
</TextBlock.RenderTransform>
</TextBlock>
</DataTemplate>By using rotate transformation, you can rotate the watermark text. Here, text is rotated at 45 degrees. In the following code example, customized datatemplate is assigned to PrintPageHeaderTemplate.
// customized datatemplate "watermark" assigned to PrintPageHeaderTemplate
datagrid.PrintSettings.PrintPageHeaderTemplate = this.Resources["watermark"] as DataTemplate;The following screenshot displays the watermark in DataGrid.

Figure 1: Print Preview of DataGrid with WaterMark
Take a moment to peruse the WPF DataGrid - Printing documentation, where you can find about the printing with code examples.
Sample Links:
Conclusion
I hope you enjoyed learning about how to add WaterMark to DataGrid while printing.
You can refer to our WPF DataGrid feature tour page to know about its other groundbreaking feature representations and documentation, and how to quickly get started for configuration specifications. You can also explore our WPF DataGrid example to understand how to create and manipulate data.
For current customers, you can check out our components from the License and Downloads page. If you are new to Syncfusion, you can try our 30-day free trial to check out our other controls.
If you have any queries or require clarifications, please let us know in the comments section below. You can also contact us through our support forums, Direct-Trac, or feedback portal. We are always happy to assist you!