2X faster development
The ultimate UWP UI toolkit to boost your development speed.
SfDataGrid control allows you to print the data displayed in the DataGrid. You can refer here to know more about printing. You can show WaterMark in SfDataGrid 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. XAML By using rotate transformation, you can rotate the watermark text. Here, text is rotated at 45 degree. In the following code example, customized datatemplate is assigned to PrintPageHeaderTemplate. C#
The following screenshot displays the watermark in SfDataGrid. Figure 1: Print Preview of SfDataGrid with WithMark
Sample Links: |
2X faster development
The ultimate UWP UI toolkit to boost your development speed.
This page will automatically be redirected to the sign-in page in 10 seconds.