We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Possible to add items to PDFViewerControl toolbar?

Thread ID:





145324 Jun 17,2019 07:48 PM UTC Jun 18,2019 04:18 PM UTC WPF 1
Tags: PdfViewer
David Frischknecht
Asked On June 17, 2019 07:48 PM UTC

I'm writing an app that uses the PDFViewerControl to show PDF files saved in a database.  One of the requirements is the ability to open a new Outlook message window with the PDF as an attachment.  Right now I have a context menu attached to the PDFViewerControl that allows the user to initiate the above action.  However, I would prefer adding a new button to the toolbar, preferably next to the save and print items.  Is it possible to do what I'm looking for?

Sathish Sivakumar [Syncfusion]
Replied On June 18, 2019 04:18 PM UTC

Hi David, 

Greetings from Syncfusion. 

We do not have support to add buttons in the built-in toolbar of PdfViewerControl. You can create and use your own toolbar to achieve the requirement by hiding our built-in toolbar. The below KB explains how to create and use the custom toolbar by adding our own buttons.  
Kindly check the sample available in the KB and let us know whether it meets your requirement. 



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon