How to add properties in config panel?

Apr 29, 2009 at 10:10 AM
How do you add properties which you can modify in the config panel. With config panel I mean the menu you get when you go to webpart -> modify webpart. There you can select your user control. Now I want to set certain properties for a specific user control. Most likely it should be near the option "EnableTheming".

Thanks for reading, now reply :)
May 26, 2009 at 12:01 PM

Something like:

[Category("Available Forms"),





        WebDescription("Some description")]

        public string Layout


            get { return _layout; }

            set { _layout = value; }