Here is the code I have so far. It gives me the "Windows SharePoint
Services cannot deserialize the web Part" error. What else do I need
to add to my project file for this to create a dropdown list in the
properties pane?
Private colorPicked As MyColors
Public Enum MyColors
Red = 0
Blue = 1
Green = 2
End Enum
<Browsable(True), Category("Select Color"), DefaultValue(""), _
WebPartStorage(Storage.Shared), FriendlyName("Color"), _
Description("")> _
Property BorderStyle() As MyColors
Get
Return colorPicked
End Get
Set(ByVal Value As MyColors)
colorPicked = Value
End Set
End Property