diff --git a/Terminal.Gui/Core.cs b/Terminal.Gui/Core.cs index 32bb3f630..3dad2f01f 100644 --- a/Terminal.Gui/Core.cs +++ b/Terminal.Gui/Core.cs @@ -1283,6 +1283,19 @@ namespace Terminal.Gui { /// toplevel and then invoke with the /// new toplevel. /// + /// + /// TopLevels can also opt-in to more sophisticated initialization + /// by implementing . When they do + /// so, the and + /// methods will be called + /// before running the view. + /// If first-run-only initialization is preferred, the + /// can be implemented too, in which case the + /// methods will only be called if + /// is . 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. + /// /// public class Toplevel : View { ///