I have a solution with a couple of projects. In one project, is my model that has an enum called ModelEnum.
Then in my WPF project I have a ViewModel which has a Dic
replace
(model:ModelEnum)ModelEnum.Enum1].Value
with
(model:ModelEnum)Enum1]
Then try. I hope it will work.