Hello Patric,
This is more of a architecture's limitation. If you attempted the same with any other Silverlight control (such as Button) then you would get the same result. This is because even though you are changing the size - a layout pass has
not been performed. This is the reason we do not support such a functionality out-of-the-box.
However, I can suggest that you try this: wrap the export (and the dispose) in a Dispatcher Invoke. This will delay the export and may be a layout update pass will occur. I have tried this in a simple example and it works. Code below should help:
Another thing you can try is to force the LayoutUpdate:
I would like to note again that this is a framework's limitation and this is really a hacky way to go around it, so make sure you test this thoroughly before you ship your product.
All the best,
Petar Marchev
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>