Developer Support

Advocacy and Innovation

Tasks are (still) not threads and async is not parallel

Premier Developer consultant Ben Williams recently had the honor of having one of his blog posts reposted to Wintellect’s Dev Center as a guest post.  Here’s a blurb from that post, be sure to head over to Ben’s blog to check out the full technical deep-dive and download his sample WPF application. I talk to a lot of developers who...

How to find the focused ListBoxItem in WPF

One would expect that the WPF ListBox control would have some kind of FocusedIndex property to find out which item has the keyboard focus (and that dashed border around it) -- but it's not there.  It seems the workaround requires a few lines of code, which I present here. ListBox.SelectionMode = Single In a ListBox's default mode ...