IDE functionality

  • Thread starter Thread starter Gene Vital
  • Start date Start date
G

Gene Vital

I have a project where I need to implement design time funtionality like
creating several textboxes on a form and allowing a user to poition
them, I guess you could say I am trying to build a small scale IDE. I
have searched the MSDN but I can't find any reference material on
creating design time controls.

Can someone shed some light on this ?
 
Windows forms or Web forms?

In either case, it should just automagically work with the designer.

For windows forms, you may want to change the OnPaint method to check the
DesignMode property if you want it to behave differently in design time.

For web forms, you should probably add a Designer attribute to your class,
and create a ControlDesigner subclass that overrides the GetDesignTimeHtml
method.
 
Back
Top