I have a simple web part with a custom enum property (which SharePoint renders for me as a dropdown).
Is there a way to render friendly names for the enum values?
I have tried System.ComponentModel.DescriptionAttribute, but it does not seem to work. I also tried Microsoft.SharePoint.WebPartPages.FriendlyNameAttribute, but it cannot be applied to enum values.
I assume you’re using the ToolPart; why not just wire up your own dropdown instead of letting sharepoint bind the enum for you?