Eran Kampf
Eran Kampf
1 min read

WPF - I Simply Love It

WPF Icon

I have been playing a lot with WPF ever since the RC1 release and I simply love it.
Eyecandy user experience is finally easy to create without a significant amount of effort and code.

Just for example, lately I’ve been working on a new application which requires a slick widget-like user experience.
In order to display a rounded window with an image containing alpha layer in .Net 2.0 I had to spend significant time on interoping with unmanaged win32 API to get Layered Winodws working with .Net controls.

Now with WPF, its a simple matter of setting AllowTransperancy="True" and adding a rectangle or an image control on the window.

Check this sample out: WPFWidgetWindow.xaml (4.69 KB)

WPFWidgetWindow.png