I’m making a WPF application and I need a value convertor with more than 1 binding path, is that possible?
It works with 1 path so far:
Binding="{Binding Path=Price, Converter={StaticResource vPriceConvertor}}"
I wanna give the Price and the discount to the converter so he can calculate the endprice.
Value converters are intended… for value conversion. That’s why they’re value converters.
To do what you want, you should make a property
EndPricein view model, and calculate its value in view model. Why are you trying to bring a non-UI logic into UI??