c# - What is equivalent to Application.DoEvents() in WPF applications -


from msdn, seems application.doevents() available in windows.forms. equivalent thing in wpf.

you shouldn't using in windows forms. don't perform long-running tasks on ui thread - use background thread , use dispatcher update ui required. use of application.doevents code smell. don't know whether there is equivalent in wpf, should try avoid if there is.


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -