.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

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -