I need to load an image file to WPF's dynamic resource programmatically because the directory which contains the image files can be moved.
How can I load an image to WPF's dynamic resource which is used like this: Source="{DynamicResource ...}" in XAML?