Search code examples
c#wpfxpsdocumentviewerwindowless

How to display windowless XPS document in a WPF component?


I am currently using DocumentViewer to display an XPS document. It works fine, shows the XPS document in a window, with all the controls: Find on the bottom and Print, Zoom in/out & Page width/height etc on the top.

Is it possible to show just the (windowless) XPS document, without the DocumentViewer controls? Or maybe switch the Find,Print... buttons off?


Solution

  • See msdn on styling http://msdn.microsoft.com/en-us/library/aa970452.aspx