.net - C# WPF Aynchronous Manipulation -
i building application in wpf , having trouble manipulations blocking ui thread. method handles manipulation delta follows.
private void tilecanvas_manipulationdelta(object sender, manipulationdeltaeventargs e) { manipulationdelta md = e.deltamanipulation; vector trans = md.translation; canvas.setleft(tilecanvas, canvas.getleft(tilecanvas) + trans.x); }
how can optimise keep both manipulation , ui thread responsive? can done asynchronously? (it's slider element).
Comments
Post a Comment