Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

List of default converters used by WPF?

Tags:

wpf

converter

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:

  • Does WPF have a set of default binding converters available?
  • some articles on TypeConverter.
like image 614
Damascus Avatar asked Oct 19 '12 15:10

Damascus


People also ask

What are converters in WPF?

The WPF converters acts as a bridge between the source and the target if the source and target have different data formats or need some conversion. For example, sometimes we need to convert data from one format to another format, when it flows from the source to the target or vice-versa the conversion is required.

What is a Converter in XAML?

In this article, I'm going to show you how you can use value converter in XAML to convert one format of data into another format. In our case, we'll convert a string value (value in the textbox) to a Boolean value (checked status of a checkbox).

Is WPF frontend or backend?

WPF uses XAML as its frontend language and C# as its backend languages. WPF was introduced as a part of . NET Framework 3.0 as the Windows library to build Windows client apps and the next generation of Windows Forms. The current version of WPF is 4.5.


1 Answers

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
like image 68
Sisyphe Avatar answered Oct 10 '22 22:10

Sisyphe