what causes PerformLayout method be serialized? RRS feed

  • Question

  • in dot net 2.0, initially you have a form, then drag a push button onto the designer surface of the form, some properties are serialized by the code generator. but for some other controls, Textbox, ToolStrip, for example, when being dragged onto the designer suface, an extra this.PerformLayout() is appended. actually it is the parent control's PerformLayout that is serialized, if you drag a Textbox onto a Panel, it is the panel's PerformLayout method that is serialized. so what makes this different behavior?



    Wednesday, February 7, 2007 8:42 AM