Exposing User Control properties in the ToolPart

Mar 22, 2009 at 8:03 PM
Hello guys,

I saw a lot of conversation speakin about exposing User Control proporties in the ToolPart and I would like to know if somebody got it working somehow?

I would like of course to do this with SmartPart, I understand that it can be possible to do this it using a customSmartPart for each user control which would expose the properties needed but I would like to find a common way to do it.

Thx in advance
May 26, 2009 at 11:39 AM

Something like:


[Category("Available Forms"),





        WebDescription("Some description")]

        public string Layout


            get { return _layout; }

            set { _layout = value; }