Archives / 2008
  • 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:

  • 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.