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

enumsintellisensepropertieswpfxaml

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?

Best Answer

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.

Related Topic