Difference between ISupportInitialize (BeginInit/EndInit) and SuspendLayout/ResumeLayout

Posted by Pato on Stack Overflow See other posts from Stack Overflow or by Pato
Published on 2009-05-18T14:04:09Z Indexed on 2010/06/09 2:22 UTC
Read the original article Hit count: 203

Hello All!

Could someone please explain what the difference is between using the ISupportInitialize interface methods (BeginInit/EndInit) and using SuspendLayout/ResumeLayout?

Is ISupportInitialize ONLY used during construction/"initial" initialization... or can it be used later when you want to add new child controls to an existing parent control?

Any particular differences?

I greatly appreciate your help!

Thank you,

Pato

© Stack Overflow or respective owner

Related posts about .NET

Related posts about winforms