I have a static class with certain functions to give path of assets. Currently I am just creating wrapper around those function in all the viewmodels for binding. I was wondering if there was some way in windows phone 8.1 to bind the static function directly to the image source. In wpf Objectdataprovider would have been useful but it is not supported in windows store apps. I was unable to find any documentation as well.
<Rectangle.Fill>
<ImageBrush Stretch="Fill"
ImageSource="{Binding ImagePath"/>
</Rectangle.Fill>
Thanks in advance