I have an image on a view and I want to create a property on ViewModel which I can bind into it. The problem is that I don’t know what type of object should I create on ViewModel. I can create a text object. I want to be able to do these:
- Set the source property of image ( an image from application resource)
- can change and resize the image during run time.
- set the image source to an image from hard disk.
Should I create only one object on ViewModel or can I create several objects and each of them bind to one parameter of image control?