A better web is coming [Silverlight 2 is on the way!]


This blog has moved to a new location and comments have been disabled.

All old posts, new posts, and comments can be found on The blog of dlaa.me.

See you there!

ListBoxScrollViewerIntro.png

Comments (4)
  1. jackbond says:

    Out of curiosity, what was involved in writing the ListBox control? Did you start with the full WPF ListBox code and start trimming?

  2. David Anson says:

    jackbond,

    Two of the goals for the Silverlight 2 controls were compact size and WPF-compatibility. As you note, one approach would have been to start with the WPF implementation of ListBox and try to trim the unnecessary stuff. However, it’s been my experience in the past that doing so isn’t always as effective as it might seem. What we did instead was to write the Silverlight 2 controls from scratch to be API-subset-compatible with WPF and with heavy inspiration from the corresponding WPF implementations. (For example, if you were to look at the ListBox code you’d see that many of the internal methods share the same names across both the Silverlight 2 and WPF implementations.) By doing things this way, we were able to target exactly the set of features Silverlight offers, use them just as they were intended to be used, and do so without taking on unnecessary architectural overhead.

    As an aside, I took a few additional steps to ensure WPF compatibility – but I can’t get into the details quite yet. Stay tuned… 🙂

  3. Delay blogged some SL2 controls info, Shawn Burke's SL2 article, Imran Shaik on SL, Flash and the

Comments are closed.