WPF

Multithreaded WPF UX
In my last post, I talked about a hidden method on the Dispatcher associated with a WPF control to check if the current thread has access to the control. I thought that I would take a moment to explain how I actually used the CheckAccess() method. To start with, I have a combobox in a WPF window that I would like to load a list of categories into without freezing the window itself. To load the items into the combobox, which I'd like to do at runtime, I'll use the Loaded event on the combobox. <ComboBox...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Posted On Tuesday, January 15, 2008 8:53 AM | Feedback (4)

Hidden Methods - EditorBrowsable
Recently while exploring multi-threading with WPF, I came across a method on a WPF control's Dispatcher to check if the current thread has access to the control. myButton.Dispatcher.CheckAc... Now, the funny thing about this method is that it is a public method, but unavailble from Intellisense within Visual Studio. If manually typed in, it compiles and executes just fine, but there was no idication of that method existing. Now how could that be? Could I have missed something? Obviously I did...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Posted On Monday, January 14, 2008 9:13 PM | Feedback (0)