Why do you hate me?

In an attempt to keep my skills up when I’m between jobs I decided to put in more work into my applications that I’ve been doing at home. Since the vast majority of companies are beginning to look for WPF and shockingly CAL I will be using these in my home applications. Note, I will be using these as they should be rather than just because they can. Since I plan on having a handful of applications that will all have the same look and feel CAL makes sense and I want WPF for the look (performance…pfft!).

That being said I am attempting to do something really simple. Get data from the database and display it in a simple table. Once the table is filled I want to give the user the ability to choose which columns they can view. Microsoft was nice enough to make the context menu items checkable very easy to design but what they didn’t do is make it so that I can modify the column visibility. From Microsoft themselves the solution is to set the column width to 0.

WHY!!!!

Is it so hard for you to add a stupid property that all it does is not render the column? Apparently it is, you know right next to threading the UI… So now I have to write a converter to bind the “visibility” property to the checkbox (how data binding was meant to be used) so that when the checkbox changes it changes the column’s visibility.

Thank you Microsoft for making yet another 10 second fix into a 3 hour task.

This entry was posted in Rants and tagged , , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>