ColorConverter in Silverlight 2

April 29, 2008

Do you miss ColorConverter class in Silverlight? I do... Really... I today bind Background property to some color value received from JavaScript. JavaScript provides a value in string format, something like "#FFDEDEDE". The way to bind to background property is to prepare SolidColorBrush, and the way to SolidColrBrush lies via Color. And how one can make Color object from string? In full .NET framework there is a handy class, called ColorConverter which provides such functionality... In Silverlight System.Drawing doesn't exists, and so ColorConverter... And so my plan to convert string to System.Windows.Media.Color was ruined... To solve this I created class,...

Tech-Ed 2008 is over

April 8, 2008

Tech-Ed 2008 Israel is over, and I'd like to thanks Microsoft for making it happen. I'd also like to thanks all, who was on my and Tamir's "show". I hope that all attendees enjoy watching it like we enjoyed making it! Don't forget the survey ;) Also, great thanks to Tamir! Stay tuned on videos of how we put all this session together - hope it will here in day or two.   UPDATE #1: My video already posted here UPDATE #2: Tamir's video already posted here   Enjoy,...