I currently have a DocumentViewer in a WPF window that displays an XPS file. I created my own Next Page and Previous Page buttons and set the DocumentViewer.Background property to be completely transparent.
All that remains of the DocumentViewer's own controls is the menu bar at the top (displaying zoom settings, printing, etc.) and the Find panel at the bottom. I would really like to remove (or hide) both of these columns, but I cannot figure out how to do this?
In addition, when a document is loaded, by default it has a zoom level that does not display the entire page on the screen, I need to change it to display 1 page at a time (in full); I am sure there is a way to do this, but then again, I have not yet found how to do this.
wpf xps documentviewer xpsdocument
Siyfion
source share