WPF RichTextBox Print / Preview - ApplicationCommands.PrintPreview?
I really love WPF RichTextBox and all the out-of-the-box functionality it uses ... but printing is what I ran into. I can print (from code) using PrintDialog and pass to RichTextBox as Visual (or using "Document").
But my question is, is there an easy way to use application commands:
- ApplicationCommands.Print
- ApplicationCommands.PrintPreview
With WPF RichTextBox? Also, how can I let the user change the page layout etc.
+1
source to share