RibbonWindow and Viewbox

Nov 5, 2010 at 11:47 PM


I have encountered the following issue. I'm using RibbonWindow with Ribbon and I'm adding content to the main part of the window. When I'm using the Viewbox control to resize some content, it is resized, hovewer, the quality is very poor. Pixels are large, there is no antialiasing etc. It looks like a resized low-res bitmap, but the whole content is vector-based.

It does not occur when I'm using the normal window and resizing content using the Viewbox control.

It can be easily reproduced for example by putting the Grid from Window.xaml in Fluent.Sample.Mvvm in a Viewbox.

How to be able to use both Viewbox and Ribbon in the same window?

Best regards,