14May/092
Write a Sortable ObservableCollection for WPF
You probably have had the need to sort an ObservableCollection at some point in one of your applications by either ascending or descending order. Of course, you can always use the ObservableCollection.OrderBy and ObservableCollection.OrderByDescending, but these methods just return a new collection of IOrderedEnumerable, which forces you have to rebind the DataContext/ItemsSource in your UI, [...]
11May/090
CSLA: Make GUIDs required with a custom validation rule
If you use CSLA and use GUIDs as your unique identifiers you may have need to make them required for a particular object’s property. It isn’t as difficult to do as you might think and I will show you how to accomplish this by writing a custom validation rule.
I have an object that has two [...]
.jpg)