It's 5am on a Saturday. Yeah, RIA will do that to a person. Regardless, there are several things I'm catching up on from MIX '09 in Vegas that make me just think: *finally*. Here's a short list of what should have been in SL 2.0:
- ElementName Bindings (but where's RelativeSource={RelativeSource, FindAncestor ...} ?)
- <ResourceDictionary.MergedDictionaries>. It was impossible to manage complex resources/assets without this.
- PixelShaders. I know it's a .NET 3.5 SP1 Feature, but so awesome.
- <Style BasedOn={x:Null} />, BasedOn styles are an improvement, but in my opinion just the poor cousin of cascading styles. CSS concepts in a WPF/Silverlight application would be so welcome.
- Silverlight on the desktop. I mean Telesto can run anywhere right? Does this mean I'll see an Android port of Moonlight 3.0 *fingers crossed*?
That's enough speculation for now. I'll save the rest for the comments.
Update: Apparently RelativeSource is supported in Silverlight 3, see here for more details.
Comments
Daniel said on Sunday, March 22, 2009:
Charlie:
RelativeSource is supported in Silverlight 3: http://msdn.microsoft.com/en-us/library/system.windows.data.binding.relativesource(VS.96).aspx
It was the first thing I looked for, too.
Colin E. said on Monday, March 23, 2009:
Charlie said on Monday, March 23, 2009:
@Colin, I saw your post about CSS Selectors in WPF, interesting work. I’d really like to see how that could work in WPF. I always find that I am creating very narrowly scoped Styles for my design time elements.
@Daniel, Colin is right, FindAncestor is missing in the documentation page that you supplied. Nice use of Attached Properties to get it working Colin!