C#: Does SuspendLayout cascade to child controls?
Do I have to iterate the child of the control myself to call suspendlayout on them? and on their grand child? grand grand child?? grand grand grand child?
Thanks
C#: Does SuspendLayout cascade to child controls?
Do I have to iterate the child of the control myself to call suspendlayout on them? and on their grand child? grand grand child?? grand grand grand child?
Thanks
Yes; SuspendLayout stops the control being painted (or rather layout requests being processed), which by default trickles down the child structure.
In other words: there is "no-one" calling the paint routine anymore.