c# - WPF forcing redraw of canvas -


okay, in windows forms can use .refresh() cause redraw event on element. there similar solution in wpf?

an explanation of i'm doing, i'm drawing maze on canvas object, , watch maze drawn (so can see progress) instead of waiting 28 min solution appear. drawing blocks on canvas series of rectangles. should refresh on rectangle or canvas?

here recent output: http://imgur.com/ftfov

i'd solution in c# if possible. thanks.

you want use dispatcher object. suggest take shawn wildermuth's article: build more responsive apps dispatcher (msdn magazine october 2007).


Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -