Freigeben über


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

  • Anonymous
    February 24, 2008
    PingBack from http://msdnrss.thecoderblogs.com/2008/02/25/a-better-web-is-coming-silverlight-2-is-on-the-way/

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

  • Anonymous
    February 25, 2008
    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... :)

  • Anonymous
    February 25, 2008
    The comment has been removed