Archives
-
Formating in WPF binding
Some time ago I wrote a post about how to format fields in a binding expression. It included the use of an IValueConverter to apply the format, now with .NET framework 3.5 SP1 that is not necessary anymore, because it provides a new parameter in the binding expression called StringFormat that allow you to format any kind of fields: -
Simulating command line parameters in Click Once applications
The impossibility of send command line arguments to an application in a standard way is one disappointed thing about ClickOnce. However we can send query string arguments in order to simulate command line arguments.
-
Multiselect ListView with checkboxes in WPF
The main idea to accomplish this is replace the item template in the ListView and the default behavior in the item selection.
-
Generic expression IComparer
This provides a generic IComparer using Linq expressions, the aim of the ExpressionComparer<T> is allow you sort collections or arrays of classes through its properties.