WPF Binding Converter

Das .Net-Framework kommt OFTB bereits mit einigen Konvertern daher: AlternationConverter, BooleanToVisibilityConverter, BorderGapMaskConverter, DataGridLengthConverter, MenuScrollingVisibilityConverter, ZoomPercentageConverter, JournalEntryListConverter, ProgressBarBrushConverter, ProgressBarHighlightConverter, JournalEntryUnifiedViewConverter (weitere Infos unter: http://asimsajjad.blogspot.de/2010/05/built-in-wpf-ivalueconverters.html)

Ein Konverter, den ich schon häufiger vermisst habe,  ist der BoolToOppositeBoolConverter-Converter, der einfach “True” in “False” konvertiert und umgekehrt: http://www.codeproject.com/Articles/24330/WPF-Bind-to-Opposite-Boolean-Value-Using-a-Convert

Weitere Konverter findet man hier: http://wpfconverters.codeplex.com/

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s