I have created Custom property for string and drop down list .
Currently I'm trying to create radio button custom web part property.
Custom property name will be City
2 radio button will be
- Las vegas
- New york
You cannot create Radio Button type property directly as Custom Web part property.
The supported types are:
But here is a trick to do that. Because every WebPart Property have radio button in it.
So just overwrite the
GetToolParts() and prepare your custom.
Detail steps are given at Create rich web part properties controls using custom tool parts with a complete example code