Comments are closed for this post.
Posted by
Henrik
@
19 Nov 2007
00:43
Great series of WPF posts, please add more..
Posted by
David
@
23 Jan 2008
14:23
When I view almost any WPF application, including the click once application from this post, the text is blurry. I have wanted to start using WPF for a while, but if reading the text (a pretty important thing in most of the applications I design) makes my eyes hurt, I'm not likely to pick it up soon. Have you ever encountered this, and do you have any idea what the problem is?
Posted by
Josh
@
26 Jan 2008
04:42
Crikey David, have you just read this whole blog in a day? Thanks for taking the time to comment tho'
I'm not sure what you mean. The screenshots shown here are actual shots of the WPF app - the text is no blurrier than when you have cleartype enabled (which I do). Do you think that text is blurry?
Text will blur in WPF sometimes during an animation or for a split second after a transform but I've had no problems otherwise.
Posted by
David
@
27 Jan 2008
22:47
Not the whole blog no :) A WPF-ophile friend of mine pointed me to your 10 reasons. He has been trying to persuade me to take the plunge. I have seen a number of impressive things, but I am still not convinced it is worth the effort to climb the learning curve just yet.
About the blurry text - no, the text in your screenshots is not blurry. But when I run the app on my system (with ClearType on), it is. I will try to send you a screenshot.
Posted by
Per Gunnar
@
28 Mar 2008
05:54
ClearType is only for modern flat screens, and does not work in all cases. You can read more about it on Wikipedia.
Posted by
raffaeu
@
08 Jun 2009
13:06
Great sample especially for the grouping!
Posted by
Ed
@
12 Aug 2010
15:16
Yes, surely an WPF app can look good. And you can easily do thinks that are too hard with other approachs. Thats the most that I can say about WPF.
On the other hand, you need converters to format columns (!!!) even to align a number, you need to add an "x:" to a control's name just because it is defined in the same assembly (!?!?)... I could continue with more and more.
Now I am surprised that you need to work so hard to sort a ListView. Come on! The data is loaded, the columns have values, most of the values could have a default logic for sorting... but with WTF you have to do everything from zero to implement any sorting.
Yes, WPF has a lot of fresh and good ideas (user point of view is welcome), but people is overvaluating things that were solved before and now suck with WTF.
For now, I call it WTF instead of WPF
Posted by
Ed
@
06 Sep 2010
16:58
Here I have a little list of things that could be a real pain if you decide to use WTF:
1- Right align for numbers inside a Listview
2- Set focus on a Control of a UserControl
3- Show a description instead of a key on a Listview column
4- Iterate through the Listview "cells" to read values
5- Listview sort on a header's column click
6- Restrict the user entry inside a Textbox
7- Properly edit a Date field
8- Change the UI and app's thread culture
I mean, some simple things are weirdly complicated, while the "cool ones" are outstanding.
Posted by
Josh
@
06 Sep 2010
18:20
Are you sure all of those are tricky? I don't have time to test each but many of them sound reasonably straightforward. For example, I posted here some time ago about one easy way to add sorting to your ListViews:
http://www.thejoyofcode.com/sortable_listview_in_wpf.aspxAlso, WPF has come a long way since I wrote this series.
Posted by
Steve
@
23 Sep 2010
16:31
This is great stuff! I have a different scenario for Listview I've been unable to solve & wondering if anyone has come across this:
I would like a Listview that contains a Gridview, but with each row containing an expander in the 1st column which when clicked opens a user control directly below the row and stretches across the listview spanning any number of columns. I have done this successfully with the new accordion control but it doesn't have any column headers for sorting & resizing the columns. Any solutions for this would be very welcome!
Posted by
Anthony
@
31 Jan 2011
03:38
Hello, I have been looking all day for a sample close to your grouped list box with multiple columns (Reason #7 - List View) but having a hard time piecing together your code to simulate it against my data. Seems not all the code is there.
Do you have the full solution you could share? That would be very helpful. thanks..
Posted by
Anthony
@
31 Jan 2011
03:41
For example, the XAML for the listview does not seem to be producing the gridview style as i see no column definitions..
Posted by
Deeks
@
08 Sep 2011
00:47
I have to agree with Ed, when did grouping and sorting become such a chore? I have been working as a programmer nearly 20yrs and now all this XAML and extra code and cryptic referencing just for some eye candy? I am struggling to see the point. I will put money on it that if WPF survives you will see MS come out with simpler cleaner versions of it until its where it should be.