Feed on
Posts
Comments

Monthly Archive for January, 2008

Writing on Wikipedia

I abandoned the LGPL in favor of the Code Project Open License (CPOL) this morning (starting with the TreeView control), and I was pretty surprised that Googling for the license didn’t show up the license’s home page in the upper ranks.
As a result, I decided to write my first Wikipedia article in order to make […]

Read Full Post »

Newsletters available

I included a newsletter module into the blog - in case you would like to stay up-to-date about what’s going on here, you can now subscribe to a specific newsletter.
I’ll provide newsletter categories for all projects that are being released here, starting with the WPF TreeView, so this will be a convenient way to get […]

Read Full Post »

Kaxaml source on CodePlex

Robby Ingebretsen published the source code of his incredibly useful (and beautiful!) Kaxaml on CodePlex. I often prefer Kaxaml over Visual Studio because it combines a bunch of really smart features with a very nice UI that just makes it a pleasure to work with. I’m definitely looking forward to have a peek at its […]

Read Full Post »

A tutorial is now available on Code Project, so check the article for a detailed overview. And please leave your rating if you like the control http://www.codeproject.com/KB/WPF/versatile_treeview.aspx
 
Update: The latest version is currently only available through the download link below. I’ll update the CodeProject article once the current filtering mechanism has been rewritten:
Download: wpf-treeview.zip […]

Read Full Post »

In all my Windows Forms applications, I usually start with a common base class for forms and controls that provides a bunch of convenience properties, subscribes to common events, handles proper cleanup etc. I also implement an empty virtual InitControl method which can be overridden by deriving controls to initialize themselves.
As you can see in […]

Read Full Post »

Simplify MessageBox handling with WPF

This is really trivial, but I’ve always used a similar helper class for my WinForms apps, and it was something I immediately missed when starting my first WPF project. So I thought I should share it with you - a simple helper class to display message boxes without having to worry about a lot of […]

Read Full Post »

Multithreaded WPF Progress Dialog

With this WPF progress dialog, you can display a progress window and invoke a method on a background thread with just a few lines of code. Let’s say, you have a worker method called CountTo100, then all you need to get things running is this:

//create a dialog instance
ProgressDialog dlg = new ProgressDialog();
dlg.Owner = this;
dlg.DialogText = […]

Read Full Post »

This is a ReSharper code snippet I’ve been using quite a lot lately - it allows you to easily create a WPF dependency property along with event handlers, documentation, and initialization code. Here’s a sample:

#region MyStringProperty dependency property

/// <summary>
/// This is a sample string property.
/// </summary>
public static readonly DependencyProperty MyStringPropertyProperty;

//TODO: copy to static constructor
//register dependency […]

Read Full Post »

Explicitly update binding sources

In WPF data binding scenarios, the binding source is usually updated implicitly - if you, for example, edit the text of a bound TextBox control, the underlying binding source is updated a soon as the control loses focus.
This is something you might want to prevent sometimes - a common scenario is a model dialog that […]

Read Full Post »

hello world!

I always had the feeling that the world was waiting for something really big ever since the Internet was invented by the USA in the early 30’s. I have no clue what that might be, however - if you’re looking for the really big answers, then you should probably go here.
But: If you are looking […]

Read Full Post »