Reputation: 465
is it possible to convert a xaml-file to an image file of some sort? I have some xaml-files describing a GUI, and a want to get a 'preview' of them at runtime.
Greets,
Jürgen
Upvotes: 2
Views: 1052
Reputation: 37660
maybe the RenderTargetBitmap can help you ?
the idea is to render a visual element into a bitmap...
this blog post describes the use
Upvotes: 2