Ayende @ Rahien

Hi!
My name is Ayende Rahien
Founder of Hibernating Rhinos LTD and RavenDB.
You can reach me by phone or email:

ayende@ayende.com

@

Posts: 5,949 | Comments: 44,546

filter by tags archive

WPF is magic


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:

image

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.


Comments

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.

pb
pb

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

{Framework:Resolve}

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.

FUTURE POSTS

  1. The RavenDB Comic Strip: Part III – High availability & sleeping soundly - about one hour from now

There are posts all the way to May 28, 2015

RECENT SERIES

  1. The RavenDB Comic Strip (3):
    20 May 2015 - Part II – a team in trouble!
  2. Special Offer (2):
    27 May 2015 - 29% discount for all our products
  3. RavenDB Sharding (3):
    22 May 2015 - Adding a new shard to an existing cluster, splitting the shard
  4. Challenge (45):
    28 Apr 2015 - What is the meaning of this change?
  5. Interview question (2):
    30 Mar 2015 - fix the index
View all series

RECENT COMMENTS

Syndication

Main feed Feed Stats
Comments feed   Comments Feed Stats