wpf - Trouble displaying Enums in a Combobox in WF4 -


I am trying to follow the solutions of this post in my WF4 project:

And I 'we code' s

  & lt; ObjectDataProvider MethodName = "GetValues" Object Type = "{x: Type: Enum}" x is implemented x: Key = "DayOfWeekValues" & gt; & Lt; ObjectDataProvider.MethodParameters & gt; & Lt; X: Type Type name = "s: Deaf wake" /> & Lt; /ObjectDataProvider.MethodParameters> & Lt; / ObjectDataProvider & gt; & Lt; Combo box item source = "{binding source = {static resources off week value}}" />  

I'm getting the following error on TypeName = "s: DayOfWeek" property.

  Can not Conduct Nodes "Type (System.DayOfWeek)" from Old Parents "IList" to new parents "ObjectDateProvider" in  

What is any idea about this error?

Edit: In addition to the above error, I also get the following error on the ObjectDataProvider on MethodName = "GetValues" property.

  INCORRECT_PARAMETER_TYPE  

reconfigure the solution Do) or rebuild the project and it will work fine.


Comments