Main contents

.NET Category Archive

CheckBox.Checked Data Binding Bug in .NET Compact Framework

12 November 2008

Have I mentioned lately how much I like data binding, lately? I use it everywhere I can: it makes writing UI code much easier. Anyway, working on a project at work I ran into the following problem: Consider this code: this.checkBox1.DataBindings.Add(“Checked”, this.myBindingSource, “MyBooleanProperty”, [...] Read more »

Posted in .NET | 3 Comments »

The Missing .NET #8: Displaying Enums in Windows Forms

10 November 2008

The .NET framework is huge, but not so huge that it does everything for everyone; there are things that they in Redmond miss or don’t do for whatever reason but is still generally applicable to many developers. So, dear reader, I present to you a series of posts on stuff I find missing in .NET, [...] Read more »

Posted in .NET, Missing .NET | 3 Comments »

Keep it DRAFT-y

10 September 2008

The other day I was grabbing screenshots from an app I’m working on. I noticed a huge visual problem with a a list in the product: in a one-column ListView in Details view, each item’s text was truncated, as though the column’s width was just left to the default of 20 pixels (this is in [...] Read more »

Posted in .NET, Rants, Software | 1 Comment »

How to Save XAML as an Image

2 September 2008

Here’s a quick note to self that you may enjoy. I suck at art. Didn’t use to always, but it requires too much brain power. But I’m not bad at getting WPF to draw what I want. I had a logo in mind for this site and used WPF to generate it after unsuccessfully getting [...] Read more »

Posted in .NET, Note to self... | 2 Comments »

The Missing .NET #7: Displaying Enums in WPF

2 September 2008

Enums are here to stay and we have to deal with them in various ways; displaying them to the user is one way they have to be dealt with. I’ll give a treatment of how to display an enum in WPF in this post. You’ll see that displaying them in all situations is non-trivial. Read more »

Posted in .NET, Missing .NET | 10 Comments »