how to generate dynamic image in XAML

May 6 2010 6:52 PM
Hi all,

I am a newbie in programming, and currently trying to learn about WPF (xaml and c#).
I am trying to generate dynamic images in xaml. basically, I want to have a condition statement with a mouse click (or other events action) that will draw additional image in the plane. So if I click a mouse, it will draw 2nd image. Click again, draw 3rd image *same image*.. and so on. Please kindly point out about this, whether I can do this in XAML, and which keyword I should explore in the web to start working on it.. ( up until now, I know that i can define a "image source" tag in xaml, but I don't have any clue how to make the same image generated by clicking the mouse)

Thank you for you who wants to share the knowledges.



Answers (2)