Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

DocumentViewer toolbar and context menu

How to hide the default toolbar and to disallow the default context menu of the DocumentViewer control?

like image 236
Michael Damatov Avatar asked Oct 14 '08 16:10

Michael Damatov


Video Answer


1 Answers

You can hide (or change) the toolbar by creating a control template for DocumentViewer without the toolbar.

start with the sample template from https://msdn.microsoft.com/en-us/library/aa970452(v=vs.100) and add and remove things until you are happy with the results.

like image 168
Nir Avatar answered Sep 29 '22 12:09

Nir