Ayende @ Rahien

My name is Oren Eini
Founder of Hibernating Rhinos LTD and RavenDB.
You can reach me by phone or email:


+972 52-548-6969

, @ Q c

Posts: 6,026 | Comments: 44,842

filter by tags archive

WPF is magic

time to read 1 min | 154 words

And I mean that in the kindest way possible. I am currently working with these wizards, and they (and the possibility WPF opens) keep surprising me.

I am well aware that this piece of code is par the course for WPF devs, but I have only dabbled in WPF, and seeing what it can do from visual perspective doesn't mean much until I have seen how clean the UI code looks like. I mean, just take a look at this:


All the information that I need to have about how to handle a piece of the UI is right there, and the infrastructure supports working in the way that I think is appropriate. The reason for this post is seeing how context menus works. I was extremely pleased to see how it all comes together in a single cohesive unit.


Frank Quednau

WPF is a great bonus for people who like to make maintainable apps and reduced LsOC.

Hadi Hariri

Commands are awesome.

Rajbeer Dhatt

So are you saying you are impressed with WPF? :)

Mike Brown

Welcome to the party. From what I've been reading the next version of XAML will be even more powerful with support for generics and a lot of other nice stuff.

Lucas Goodwin

Only drawback I've had with WPF is the lack of non-smoothed fonts. I'm one who doesn't like the blurry look of MSes font smoothing routines. A minor issue for the most part though.

Mike Brown

Lucas Goodwin try setting SnapToDevicePixels to true on the your root layout panel. This will address your issue.


I made a WPF app with 10 or 15 textboxes on it once and the perf on just typing characters was so bad it couldn't keep up with my typing. Which put a damper on WPF development for me along with there not being a good grid solution. Code looks nice though...

Glenn Block


I bet I know what that is doing you sneaky little devil :) Is that in your Rhino WPF or whatever?

Glenn Block

DataTemplates are awesome, Presentation Model is king. Death to code behing aaarghhh!

Only thing we need is commands going the other direction, i.e. from the Model to the view. Events don't cut it because I have to write code....

Comment preview

Comments have been closed on this topic.


No future posts left, oh my!


  1. Technical observations from my wife (3):
    13 Nov 2015 - Production issues
  2. Production postmortem (13):
    13 Nov 2015 - The case of the “it is slow on that machine (only)”
  3. Speaking (5):
    09 Nov 2015 - Community talk in Kiev, Ukraine–What does it take to be a good developer
  4. Find the bug (5):
    11 Sep 2015 - The concurrent memory buster
  5. Buffer allocation strategies (3):
    09 Sep 2015 - Bad usage patterns
View all series


Main feed Feed Stats
Comments feed   Comments Feed Stats