Table of Contents

Method BeginInit

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

BeginInit()

Signals the View that initialization is starting. See ISupportInitialize.

public virtual void BeginInit()

Remarks

Views can opt-in to more sophisticated initialization by implementing overrides to BeginInit() and EndInit() which will be called when the SuperView is initialized.

If first-run-only initialization is preferred, overrides to ISupportInitializeNotification can be implemented too, in which case the ISupportInitialize methods will only be called if IsInitialized is false. This allows proper View inheritance hierarchies to override base class layout code optimally by doing so only on first run, instead of on every run.