Hello,
Welcome to our Microsoft Q&A platform!
You could compare the source code of EqualConverter
class with the other converter class such as IntToBoolConverter. The EqualConverter
and NotEqualConverter
class don't return a value in the Convert and ConvertBack method.
The EqualConverter
function is not supported for now, you could report an issue or a feature request to the product team on github.
Source code link:
https://github.com/xamarin/XamarinCommunityToolkit/tree/main/src/CommunityToolkit/Xamarin.CommunityToolkit/Converters
Best Regards,
Jarvan Zhang
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
There isn't much in here that would say they have to be the same type to me, but the easiest way to see is to put them in your own converter and check out what happens using breakpoints.
EqualConverter & NotEqualConverter are part of the Xamarin Community Toolkit. I have not seen the code.