Mix:UK 07 - I'll be there!

Well, it's now official, I'll be at Mix:Uk 07!

Hope to get chatting with many of you about all things WPF / Silverlight. So much cross-over and so many differences!


DirectShow filters from MediaElement

I previously pointed to Jeremiah blog about his and Leslie's amazing win32 integration work.

Little did I realize that the trick I read a while ago to build your own DirectShow filter for a MediaElement control was also his!



On why you shouldn't really subclass through XAML

As I am reviewing some code at the moment, I have been looking for this blog entry from Rob for a while, and just found it again: Building a control which holds content: CustomControl vs. MarkupSubclassing vs. UserControl. Included in my specification references, but posting it so I can reuse it as a reference.

And the ever so useful Neil (when are you getting a blog back?) points me to an article by Kevin on the same subject: Don't subclass a Panel, unless you're making a Panel.

It always amazes me that people, after x years of OOD, still don't see a problem in using inheritance instead of combination / encapsulation.

Then again these guidelines postdate most of the uses I've seen so far so you can't really blame anyone.

Technorati Tags: , , ,