Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7650813
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T11:20:54+00:00 2026-05-31T11:20:54+00:00

The issue here is a bit abstract. We all know, for a background thread

  • 0

The issue here is a bit abstract. We all know, for a background thread to update some UI element.

Dispatcher.Invoke()

is the only option (Is it?). However, Dispatcher.Invoke() in itself delegates the update task to the UI thread. Considering scenarios where:

  • A background thread too often updates a UI.
  • Tens of thread update the same UI.

The Dispatcher object would keep on delegating the update task to the UI thread and the UI thread may go slow. What can be a possible solution? How could we solve such an issue in Windows Forms where the threading model was very similar to that of WPF? Does WPF provide any other threading technique?

regards,

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T11:20:55+00:00Added an answer on May 31, 2026 at 11:20 am

    First of all why there is need to update UI that frequent that human eye will not notice, ideally, even if any progress is updated with a gap of a second, it is acceptable. For example if you are writing a file and you are probably writing 4K bytes every 30 milliseconds, human eye will not notice and we dont care about performance on screen in milliseconds.

    Not only you will make UI thread busy, but Dispatcher.Invoke will also block your other thread till the execution is finished, Dispatcher.BeginInvoke will not block your other thread.

    UI Thread will probably finish updates in few milliseconds if its just updating few labels or progress on screen.

    Neither WPF nor any other platform can provide any better way because UI is a very complex and allowing access from multiple threads can lead to deadlocks so often that app may become non-responsive. This is the reason, every platform, be it java, objective-c or any UI framework, will need you to update UI only in UI’s creator thread.

    However, there is a way in WPF to also create multiple UI threads per window, but its quite complex as well. Games etc use something called double buffering, where they work on one buffer in background in separate thread, while previous buffer is still being updated on screen.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've got a bit of an odd issue here. Basically it only occurs in
hello fellow java developers. I'm having a bit of an issue here. I have
I'm having an issue here, I am trying to get all the titles from
I'm having a bit of a weird issue here, basically, im using hibernate together
Alright, so I'm having a bit of an issue here. Here is the loop.
I have an issue here a bit complex than I'm trying to resolve since
Having a bit of an issue here. I'm creating an application in Visual Studio
We have a bit of an issue here. We have upgraded from Delphi 2006
I have a bit of a ridiculous issue here and I must be missing
I have a bit of a strange issue here. I created a custom control

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.