20

Where can one find a list of default converters for WPF?


After looking into Google, I couldn't find any detailed list of what is actually included in WPF, particularly the MSDN docs. Only found:

1
  • I've always wondered about same thing and never could find an answer! thanks for posting this!
    – Maverik
    Commented Oct 19, 2012 at 16:33

1 Answer 1

30

In System.Windows.Control (PresentationFramework.dll)

  • AlternationConverter
  • BooleanToVisibilityConverter
  • BorderGapMaskConverter
  • DataGridLengthConverter
  • MenuScrollingVisibilityConverter

In System.Windows.Documents

  • ZoomPercentageConverter
  • JournalEntryListConverter

In Microsoft.Windows.Themes

  • ProgressBarBrushConverter
  • ProgressBarHighlightConverter

In System.Windows.Navigation

  • JournalEntryUnifiedViewConverter
9
  • 1
    Thanks, but do you have a source link? I just would like to be sure that there is no other converter hanging around without being caught =)
    – Damascus
    Commented Oct 19, 2012 at 15:29
  • 6
    Actually I just used Reflector and checked for IValueConverter implementations ;) That's all I found. I'm currently checking again to see if I didnt forget anyone ;)
    – Sisyphe
    Commented Oct 19, 2012 at 15:30
  • Edit : ok I triple checked, that's everything present in the .NET 4.0 framework.
    – Sisyphe
    Commented Oct 19, 2012 at 15:44
  • Nice stuff! Just out of curiosity, do you know if some converters were added to .NET 4.5 ?
    – Damascus
    Commented Oct 19, 2012 at 17:47
  • Let me check. Please consider flaggin as answer if you are satisfied with the list :) - Edit : NOthing new in .NET4.5 !
    – Sisyphe
    Commented Oct 19, 2012 at 17:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.