PDC 05: WPF (aka "Avalon") - Wow, I am impressed...

Data binding everywhere (every control, every property bindable), data templates (that can also be changed on the fly, depending on e.g. the value of a certain property) – I just saw virtually all my GUI problems of the last years solved. Okay, there will be new problems, but this is such a huge step forward… impressive.

4 Comments

  • <quote>templates:that can also be changed on the fly, depending on e.g. the value of a certain property

    </quote>

    I think you mean through code-not declarative or you can give XAML example?

  • As far as I can remember it was through code by implementing a DataTemplateSelector (which was pretty straightforward, just a few lines)

  • BUT in code-not declarative,though I believe some kind of binding mechanism for templates could be useful more;-)

  • Hmm, while a declarative approach in XAML would be nice for certain (simple) scenarios, I wouldn't actually call it *more* useful. In fact, deciding which data template to be used will in many cases be connected to some sort of business logic (the example on the PDC was that the more money somebody pays to place an order on Ebay, the nicer the template gets) -- I wouldn't like to have any decision on the actual thresholds in the GUI layer.

Comments have been disabled for this content.