This example demonstrates how to customize the DocumentPreview control's toolbar.
In particular, it shows how you can remove a standard button from it, and add custom ones.
You can tie your custom logic to a button either in the BarManager.ItemClick event handler, or using the View Model commands.
See Also:
How to override existing export (send) command handlers in the DocumentPreview toolbar