开发者

WPF: Real time timeline control needed

开发者 https://www.devze.com 2022-12-31 18:39 出处:网络
I need to reflect progress of execution of numerous tasks in real time. I wondering is it any WPF\\Silverlight control which do this.

I need to reflect progress of execution of numerous tasks in real time.

I wondering is it any WPF\Silverlight control which do this.

Here what I found, but this controls don't meet my needs:

  1. http://blogs.msdn.com/llobo/archive/2010/04/30/sl-timeline-control-for-sharepoint.aspx
  2. http://timeline.codeplex.com/
  3. http://timelinecontrol.codeplex.com/wikipage?title=Screen%20Shots&ref开发者_StackOverflow中文版erringTitle=Home


If you are looking for a progress bar that updates in real time, I don't know of any 3rd party controls, but you can update a standard ProgressBar control based on work being done on a background thread using the WPF Dispatcher. I have implemented this pattern with multiple threads reporting back to multiple progress bars in a tree view simultaneously with no problems.

Here are a few articles I found that walk through this approach:

  • "WPF Multithreading Using the Background Worker and Reporting the Progress to the UI" (ElegantCode.com)
  • "Simple WPF Progress Window with Cancellation" (blog.quantumbitdesigns.com)
0

精彩评论

暂无评论...
验证码 换一张
取 消