opiswahn
opiswahn

Reputation: 465

Convert a xaml file to an bitmap

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

Answers (1)

Steve B
Steve B

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

Related Questions