i created a wpf custom control with a dependency property of an enum type. i want the user of that control when editing the xaml in vs to see the optional values of the enum in the intellisense window. does anyone know how it can be done?
views:
1141answers:
3
A:
The question was asked also here:
There is an answer but it's not marked, maybe you can try the suggestion and come back with the result of your test.
marco.ragogna
2009-03-02 10:16:08
I've posted some steps to get this to work in the link above: http://stackoverflow.com/questions/596089
Dylan
2009-03-11 18:14:07
+1
A:
I believe it will work if you add an "XmlnsDefinition" attribute to the assembly containing the control. By the way, I ran into problems with this when trying to reference the control in the same project.
Daniel Pratt
2009-03-11 00:34:49
A:
checkout this link. You will idea about how to do that.
http://stackoverflow.com/questions/1857967/using-enum-as-a-dependency-property-in-wpf
Vinod
2009-12-18 05:01:55