Are there any built-in IMultiValueConverts in WPF?

I am writing a MultiBinding containing two bindings - each returns a bool. Using MultiBindings, you need to specify IMultiValueConverter. In my case, this converter should take two bools and return AND from them. It's really easy to write, but do I need? This is similar to the most basic MultiValueConverter, and I do not want to write it if .NET already exists.

So - is there? And if so - what is built in IMultiValueConverters?

+4
source share
1 answer

Nothing comes to my mind that will suit you directly. Reflector says there are only three open IMultiValueConverters:

This answer is useless. But perhaps you will find something useful among the Kent Boogaart WPF library.

Greetings, Anwaka.

+2
source

Source: https://habr.com/ru/post/1301802/


All Articles