C#C
C#3y ago
Wicked Cat

✅ How to make a custom converter in .net 6.0 using wpf?

Hello, sorry I couldn't find anything useful using google so i'm asking here, sorry if it's obvious.

So i'm trying to make a converter class, but I can't use IValueConverter because System.Windows.Data doesn't exist. When I try making the class without IValueConverter and adding a reference to it in the xaml file it's not found. I'm quite lost but I've read that Windows.Data doesn't work with my version of .net?
Thanks everyone for the help
Was this page helpful?