Reputation: 16949
How can I programmatically draw a bitmap to a WPF Canvas? (or should I do something else entirely?) I will have about 40 moving images.
Upvotes: 0
Views: 5230
Reputation: 7150
I did something similar, but I wanted some logic on each image(object) so I created a UserControl with an image and just add the UserControl to the canvas.
Upvotes: 1
Reputation: 38434
If you need to dynamically create and modify bitmaps, then use a WritableBitmap. You can place these on a canvas.
Upvotes: 2