Closed P4bl3r closed 5 years ago
Duplicate of #84 although with more context. Maybe someone should create a PR for this? Or are there any design reasons for not implementing it this way?
Thanks @P4bl3r for the investigation! I'm going to close this issue as a duplicatre, but would you like to submit a PR to #84?
DataTriggerBehavior fails on InvalidCastException when Value is set to enum type.
Context here: https://stackoverflow.com/a/49308851/5405256
I have narrowed the problem down to TypeConverterHelper class and I do believe it can be fixed by adding an Convert method overload to TypeConverterHelper:
and updating the call in DataTriggerBehaviors Convert method to use the Type instead of Type.FullName