This is a migrated thread and some comments may be shown as answers.

Customize print preview?

1 Answer 126 Views
Spreadsheet
This is a migrated thread and some comments may be shown as answers.
Steve
Top achievements
Rank 1
Steve asked on 20 Mar 2018, 07:10 AM
I would like get just the preview area of the print preview for sreadsheet, without the settings (so that I can provide my own settings UI). Is this possible?

1 Answer, 1 is accepted

Sort by
0
Tanya
Telerik team
answered on 22 Mar 2018, 01:04 PM
Hello Steve,

To customize the print preview, you will need to change its template definition. I created an example showing how this can be achieved using the NoXaml styling mechanism of the controls from UI for WPF. The style of PrintPreviewControl is in App.xaml and the code that defines the print options is commented out so you can modify it if needed. Please, find the sample project attached to this reply.

Hope this is helpful.

Regards,
Tanya
Progress Telerik
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which you to write beautiful native mobile apps using a single shared C# codebase.
Tags
Spreadsheet
Asked by
Steve
Top achievements
Rank 1
Answers by
Tanya
Telerik team
Share this question
or