I want to reuse some XAML fragment as image in some WPF application/library.
The background of the problem is following:
It\'s easy to reuse a bitmap image i
After some research, there is one more option: using a DrawingImage as Source for an image. The customary image source is a BitmapSource, however it can be "vector graphics" as well.
Here is an example:
produces such a nice vector image:

Yet another option might be using a DrawingBrush, like in this SO question: How to store and retrieve multiple shapes in XAML/WPF?.