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 rectangle
s. 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
Post a Comment