Programmatically draw a bitmap to a WPF Canvas?
How can I programmatically draw a bitmap to a WPF Canvas? (or should I do something else entirely?) I will have about 4开发者_运维百科0 moving images.
If you need to dynamically create and modify bitmaps, then use a WritableBitmap. You can place these on a canvas.
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.
精彩评论