[MonoDevelop] Public Widgets using Stetic?

Chris Howie cdhowie at gmail.com
Tue Dec 9 13:35:14 EST 2008

On Mon, Dec 8, 2008 at 10:13 PM, Iggy <iggy.ma at gmail.com> wrote:
> I am trying to figure out how to make the widgets that I add using
> stetic public instead of private and I can't seem to figure it out. I
> dont see any public/private modifiers in the GUI properties. Does
> anybody know how to do this without writing properties to expose each
> private widget?

You should be using properties.  Exposing implementation fields as
public is extremely bad OO design and $DEITY will kill a kitten if you
do it.

Exposing widgets that are part of a larger widget to the outside using
any mechanism is probably not a good idea either.  Can you give an
idea of what you're trying to accomplish so we can suggest a better

Chris Howie

More information about the Monodevelop-list mailing list