Method DoInsideLayout
DoInsideLayout(Action, bool)
Executes action
between calls to SuspendLayout()
and ResumeLayout(bool, bool).
public virtual void DoInsideLayout(Action action, bool layoutParent = true)
Parameters
action
ActionAction that will be executed.
layoutParent
boolSpecifies whether to call parent's PerformLayout(bool). Optional. By default is
true
.