WPF: how to display enum property values in VS2008 XAML editor intellisense?

后端 未结 2 1661
孤独总比滥情好
孤独总比滥情好 2021-01-06 07:43

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

2条回答
  •  情话喂你
    2021-01-06 08:24

    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.

提交回复
热议问题