WPF forcing redraw of canvas
问题 Okay, in windows forms you can use .refresh() to cause a redraw event on an element. Is there a similar solution in WPF? An explanation of what I'm doing, I'm drawing a maze on a canvas object, and would like to watch as the maze is drawn (so I can see progress) instead of waiting 28 min for a solution to suddenly appear. I am drawing blocks on the canvas with a series of Rectangle s. Should the refresh be on the rectangle or the canvas? Here is a recent output: http://imgur.com/ftFOv I'd