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

actionscript 3 - TweenLite does not work with object -

php - How can I edit my code to echo the data of child's element where my search term was found in, in XMLReader? -

c# - Global Variables vs. ASP.NET Session State -