This example demonstrates how to customize the DocumentViewerControl's toolbar (either BarManager or RibbonControl).
In particular, it shows how to remove standard commands from a Ribbon toolbar and add custom ones.
Question Comments
Added By: Julian Müller 1 at: 7/29/2015 10:54:25 PM
This example works fine if the CommandBarStyle is not set to Bar!
How can I remove buttons from the toolbar when the CommandBarStyle ist set to Bar?
<dxp:DocumentPreviewControl Name="preview" CommandBarStyle="Bars">...
Added By: Vasily (DevExpress Support) at: 7/30/2015 4:56:49 AMHi Julian ,
To process your recent post more efficiently, I created a separate ticket on your behalf: T273134: How to remove standard bar items and add custom ones to the DocumentPreviewControl toolbar. This ticket is currently in our processing queue. Our team will address it as soon as we have any updates.