When adding properties to a webpart, we add attributes such as:
[WebBrowsable(true),
WebDisplayName("Page Title"),
WebDescription("Title displayed on the page"),
Category("Test Properties"),
Personalizable(PersonalizationScope.Shared)]
However, if we need even more customization; we would have to over ride the ToolPart. In most examples online, I don't see any of the attributes as above when overriding the ToolPart.
- What is the permission scope when we override the toolpart this way?
- Am I still able to set the attribute above?
I want to keep most of the control private - for admin only and some I want to let the user set to personalized. I am just not sure I can still use the attribute above and it still works the same (ie.. PersonalizationScope.User).