Terminal.Gui.Toplevel.html 106 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142
  1. <!DOCTYPE html>
  2. <!--[if IE]><![endif]-->
  3. <html>
  4. <head>
  5. <meta charset="utf-8">
  6. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  7. <title>Class Toplevel
  8. </title>
  9. <meta name="viewport" content="width=device-width">
  10. <meta name="title" content="Class Toplevel
  11. ">
  12. <meta name="generator" content="docfx 2.59.4.0">
  13. <link rel="shortcut icon" href="../../favicon.ico">
  14. <link rel="stylesheet" href="../../styles/docfx.vendor.css">
  15. <link rel="stylesheet" href="../../styles/docfx.css">
  16. <link rel="stylesheet" href="../../styles/main.css">
  17. <link href="https://fonts.googleapis.com/css?family=Source Sans Pro" rel="stylesheet">
  18. <link href="https://fonts.googleapis.com/css?family=Source Code Pro" rel="stylesheet">
  19. <meta property="docfx:navrel" content="../../toc.html">
  20. <meta property="docfx:tocrel" content="toc.html">
  21. <meta property="docfx:rel" content="../../">
  22. </head> <body data-spy="scroll" data-target="#affix" data-offset="120">
  23. <div id="wrapper">
  24. <header>
  25. <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
  26. <div class="container">
  27. <div class="navbar-header">
  28. <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
  29. <span class="sr-only">Toggle navigation</span>
  30. <span class="icon-bar"></span>
  31. <span class="icon-bar"></span>
  32. <span class="icon-bar"></span>
  33. </button>
  34. <a class="navbar-brand" href="../../index.html">
  35. <img id="logo" class="svg" src="../../images/logo48.png" alt="">
  36. </a>
  37. </div>
  38. <div class="collapse navbar-collapse" id="navbar">
  39. <form class="navbar-form navbar-right" role="search" id="search">
  40. <div class="form-group">
  41. <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
  42. </div>
  43. </form>
  44. </div>
  45. </div>
  46. </nav>
  47. <div class="subnav navbar navbar-default">
  48. <div class="container hide-when-search" id="breadcrumb">
  49. <ul class="breadcrumb">
  50. <li></li>
  51. </ul>
  52. </div>
  53. </div>
  54. </header>
  55. <div class="container body-content">
  56. <div id="search-results">
  57. <div class="search-list">Search Results for <span></span></div>
  58. <div class="sr-items">
  59. <p><i class="glyphicon glyphicon-refresh index-loading"></i></p>
  60. </div>
  61. <ul id="pagination" data-first="First" data-prev="Previous" data-next="Next" data-last="Last"></ul>
  62. </div>
  63. </div>
  64. <div role="main" class="container body-content hide-when-search">
  65. <div class="sidenav hide-when-search">
  66. <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
  67. <div class="sidetoggle collapse" id="sidetoggle">
  68. <div id="sidetoc"></div>
  69. </div>
  70. </div>
  71. <div class="article row grid-right">
  72. <div class="col-md-10">
  73. <article class="content wrap" id="_content" data-uid="Terminal.Gui.Toplevel">
  74. <h1 id="Terminal_Gui_Toplevel" data-uid="Terminal.Gui.Toplevel" class="text-break">Class Toplevel
  75. </h1>
  76. <div class="markdown level0 summary">
  77. Toplevel views can be modally executed. They are used for both an application&apos;s main view (filling the entire screeN and
  78. for pop-up views such as <a class="xref" href="Terminal.Gui.Dialog.html">Dialog</a>, <a class="xref" href="Terminal.Gui.MessageBox.html">MessageBox</a>, and <a class="xref" href="Terminal.Gui.Wizard.html">Wizard</a>.
  79. </div>
  80. <div class="markdown level0 conceptual"></div>
  81. <div class="inheritance">
  82. <h5>Inheritance</h5>
  83. <div class="level0"><span class="xref">System.Object</span></div>
  84. <div class="level1"><a class="xref" href="Terminal.Gui.Responder.html">Responder</a></div>
  85. <div class="level2"><a class="xref" href="Terminal.Gui.View.html">View</a></div>
  86. <div class="level3"><span class="xref">Toplevel</span></div>
  87. <div class="level4"><a class="xref" href="Terminal.Gui.Border.ToplevelContainer.html">Border.ToplevelContainer</a></div>
  88. <div class="level4"><a class="xref" href="Terminal.Gui.Window.html">Window</a></div>
  89. </div>
  90. <div class="implements">
  91. <h5>Implements</h5>
  92. <div><span class="xref">System.IDisposable</span></div>
  93. <div><span class="xref">System.ComponentModel.ISupportInitializeNotification</span></div>
  94. <div><span class="xref">System.ComponentModel.ISupportInitialize</span></div>
  95. </div>
  96. <h5 id="Terminal_Gui_Toplevel_remarks"><strong>Remarks</strong></h5>
  97. <div class="markdown level0 remarks">
  98. <p>
  99. Toplevels can be modally executing views, started by calling <a class="xref" href="Terminal.Gui.Application.html#Terminal_Gui_Application_Run_Terminal_Gui_Toplevel_System_Func_System_Exception_System_Boolean__">Run(Toplevel, Func&lt;Exception, Boolean&gt;)</a>.
  100. They return control to the caller when <a class="xref" href="Terminal.Gui.Application.html#Terminal_Gui_Application_RequestStop_Terminal_Gui_Toplevel_">RequestStop(Toplevel)</a> has
  101. been called (which sets the <a class="xref" href="Terminal.Gui.Toplevel.html#Terminal_Gui_Toplevel_Running">Running</a> property to <code>false</code>).
  102. </p>
  103. <p>
  104. A Toplevel is created when an application initializes Terminal.Gui by calling <a class="xref" href="Terminal.Gui.Application.html#Terminal_Gui_Application_Init_Terminal_Gui_ConsoleDriver_Terminal_Gui_IMainLoopDriver_">Init(ConsoleDriver, IMainLoopDriver)</a>.
  105. The application Toplevel can be accessed via <a class="xref" href="Terminal.Gui.Application.html#Terminal_Gui_Application_Top">Top</a>. Additional Toplevels can be created
  106. and run (e.g. <a class="xref" href="Terminal.Gui.Dialog.html">Dialog</a>s. To run a Toplevel, create the <a class="xref" href="Terminal.Gui.Toplevel.html">Toplevel</a> and
  107. call <a class="xref" href="Terminal.Gui.Application.html#Terminal_Gui_Application_Run_Terminal_Gui_Toplevel_System_Func_System_Exception_System_Boolean__">Run(Toplevel, Func&lt;Exception, Boolean&gt;)</a>.
  108. </p>
  109. <p>
  110. Toplevels can also opt-in to more sophisticated initialization
  111. by implementing <span class="xref">System.ComponentModel.ISupportInitialize</span>. When they do
  112. so, the <span class="xref">System.ComponentModel.ISupportInitialize.BeginInit()</span> and
  113. <span class="xref">System.ComponentModel.ISupportInitialize.EndInit()</span> methods will be called
  114. before running the view.
  115. If first-run-only initialization is preferred, the <span class="xref">System.ComponentModel.ISupportInitializeNotification</span>
  116. can be implemented too, in which case the <span class="xref">System.ComponentModel.ISupportInitialize</span>
  117. methods will only be called if <span class="xref">System.ComponentModel.ISupportInitializeNotification.IsInitialized</span>
  118. is <span class="xref">false</span>. This allows proper <a class="xref" href="Terminal.Gui.View.html">View</a> inheritance hierarchies
  119. to override base class layout code optimally by doing so only on first run,
  120. instead of on every run.
  121. </p>
  122. </div>
  123. <div class="inheritedMembers">
  124. <h5>Inherited Members</h5>
  125. <div>
  126. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Added">View.Added</a>
  127. </div>
  128. <div>
  129. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Removed">View.Removed</a>
  130. </div>
  131. <div>
  132. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Enter">View.Enter</a>
  133. </div>
  134. <div>
  135. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Leave">View.Leave</a>
  136. </div>
  137. <div>
  138. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_MouseEnter">View.MouseEnter</a>
  139. </div>
  140. <div>
  141. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_MouseLeave">View.MouseLeave</a>
  142. </div>
  143. <div>
  144. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_MouseClick">View.MouseClick</a>
  145. </div>
  146. <div>
  147. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_CanFocusChanged">View.CanFocusChanged</a>
  148. </div>
  149. <div>
  150. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_EnabledChanged">View.EnabledChanged</a>
  151. </div>
  152. <div>
  153. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_VisibleChanged">View.VisibleChanged</a>
  154. </div>
  155. <div>
  156. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_HotKeyChanged">View.HotKeyChanged</a>
  157. </div>
  158. <div>
  159. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_HotKey">View.HotKey</a>
  160. </div>
  161. <div>
  162. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_HotKeySpecifier">View.HotKeySpecifier</a>
  163. </div>
  164. <div>
  165. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Shortcut">View.Shortcut</a>
  166. </div>
  167. <div>
  168. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ShortcutTag">View.ShortcutTag</a>
  169. </div>
  170. <div>
  171. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ShortcutAction">View.ShortcutAction</a>
  172. </div>
  173. <div>
  174. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Data">View.Data</a>
  175. </div>
  176. <div>
  177. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Driver">View.Driver</a>
  178. </div>
  179. <div>
  180. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Subviews">View.Subviews</a>
  181. </div>
  182. <div>
  183. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TabIndexes">View.TabIndexes</a>
  184. </div>
  185. <div>
  186. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TabIndex">View.TabIndex</a>
  187. </div>
  188. <div>
  189. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TabStop">View.TabStop</a>
  190. </div>
  191. <div>
  192. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Id">View.Id</a>
  193. </div>
  194. <div>
  195. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_IsCurrentTop">View.IsCurrentTop</a>
  196. </div>
  197. <div>
  198. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_WantMousePositionReports">View.WantMousePositionReports</a>
  199. </div>
  200. <div>
  201. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_WantContinuousButtonPressed">View.WantContinuousButtonPressed</a>
  202. </div>
  203. <div>
  204. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Frame">View.Frame</a>
  205. </div>
  206. <div>
  207. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutStyle">View.LayoutStyle</a>
  208. </div>
  209. <div>
  210. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Bounds">View.Bounds</a>
  211. </div>
  212. <div>
  213. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_X">View.X</a>
  214. </div>
  215. <div>
  216. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Y">View.Y</a>
  217. </div>
  218. <div>
  219. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Width">View.Width</a>
  220. </div>
  221. <div>
  222. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Height">View.Height</a>
  223. </div>
  224. <div>
  225. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ForceValidatePosDim">View.ForceValidatePosDim</a>
  226. </div>
  227. <div>
  228. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetMinWidthHeight_Terminal_Gui_Size__">View.GetMinWidthHeight(Size)</a>
  229. </div>
  230. <div>
  231. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetMinWidthHeight">View.SetMinWidthHeight()</a>
  232. </div>
  233. <div>
  234. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TextFormatter">View.TextFormatter</a>
  235. </div>
  236. <div>
  237. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SuperView">View.SuperView</a>
  238. </div>
  239. <div>
  240. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_UpdateTextFormatterText">View.UpdateTextFormatterText()</a>
  241. </div>
  242. <div>
  243. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ProcessResizeView">View.ProcessResizeView()</a>
  244. </div>
  245. <div>
  246. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetNeedsDisplay">View.SetNeedsDisplay()</a>
  247. </div>
  248. <div>
  249. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearLayoutNeeded">View.ClearLayoutNeeded()</a>
  250. </div>
  251. <div>
  252. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetNeedsDisplay_Terminal_Gui_Rect_">View.SetNeedsDisplay(Rect)</a>
  253. </div>
  254. <div>
  255. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetChildNeedsDisplay">View.SetChildNeedsDisplay()</a>
  256. </div>
  257. <div>
  258. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Add_Terminal_Gui_View___">View.Add(View[])</a>
  259. </div>
  260. <div>
  261. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_BringSubviewToFront_Terminal_Gui_View_">View.BringSubviewToFront(View)</a>
  262. </div>
  263. <div>
  264. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SendSubviewToBack_Terminal_Gui_View_">View.SendSubviewToBack(View)</a>
  265. </div>
  266. <div>
  267. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SendSubviewBackwards_Terminal_Gui_View_">View.SendSubviewBackwards(View)</a>
  268. </div>
  269. <div>
  270. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_BringSubviewForward_Terminal_Gui_View_">View.BringSubviewForward(View)</a>
  271. </div>
  272. <div>
  273. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Clear">View.Clear()</a>
  274. </div>
  275. <div>
  276. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Clear_Terminal_Gui_Rect_">View.Clear(Rect)</a>
  277. </div>
  278. <div>
  279. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ScreenToView_System_Int32_System_Int32_">View.ScreenToView(Int32, Int32)</a>
  280. </div>
  281. <div>
  282. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClipToBounds">View.ClipToBounds()</a>
  283. </div>
  284. <div>
  285. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetClip_Terminal_Gui_Rect_">View.SetClip(Rect)</a>
  286. </div>
  287. <div>
  288. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_DrawFrame_Terminal_Gui_Rect_System_Int32_System_Boolean_">View.DrawFrame(Rect, Int32, Boolean)</a>
  289. </div>
  290. <div>
  291. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_DrawHotString_NStack_ustring_Terminal_Gui_Attribute_Terminal_Gui_Attribute_">View.DrawHotString(ustring, Attribute, Attribute)</a>
  292. </div>
  293. <div>
  294. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_DrawHotString_NStack_ustring_System_Boolean_Terminal_Gui_ColorScheme_">View.DrawHotString(ustring, Boolean, ColorScheme)</a>
  295. </div>
  296. <div>
  297. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Move_System_Int32_System_Int32_System_Boolean_">View.Move(Int32, Int32, Boolean)</a>
  298. </div>
  299. <div>
  300. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_HasFocus">View.HasFocus</a>
  301. </div>
  302. <div>
  303. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnAdded_Terminal_Gui_View_">View.OnAdded(View)</a>
  304. </div>
  305. <div>
  306. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnRemoved_Terminal_Gui_View_">View.OnRemoved(View)</a>
  307. </div>
  308. <div>
  309. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnEnter_Terminal_Gui_View_">View.OnEnter(View)</a>
  310. </div>
  311. <div>
  312. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnLeave_Terminal_Gui_View_">View.OnLeave(View)</a>
  313. </div>
  314. <div>
  315. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Focused">View.Focused</a>
  316. </div>
  317. <div>
  318. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_MostFocused">View.MostFocused</a>
  319. </div>
  320. <div>
  321. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ColorScheme">View.ColorScheme</a>
  322. </div>
  323. <div>
  324. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_AddRune_System_Int32_System_Int32_System_Rune_">View.AddRune(Int32, Int32, Rune)</a>
  325. </div>
  326. <div>
  327. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearNeedsDisplay">View.ClearNeedsDisplay()</a>
  328. </div>
  329. <div>
  330. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_DrawContent">View.DrawContent</a>
  331. </div>
  332. <div>
  333. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnDrawContent_Terminal_Gui_Rect_">View.OnDrawContent(Rect)</a>
  334. </div>
  335. <div>
  336. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_DrawContentComplete">View.DrawContentComplete</a>
  337. </div>
  338. <div>
  339. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnDrawContentComplete_Terminal_Gui_Rect_">View.OnDrawContentComplete(Rect)</a>
  340. </div>
  341. <div>
  342. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetFocus">View.SetFocus()</a>
  343. </div>
  344. <div>
  345. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_KeyPress">View.KeyPress</a>
  346. </div>
  347. <div>
  348. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_InvokeKeybindings_Terminal_Gui_KeyEvent_">View.InvokeKeybindings(KeyEvent)</a>
  349. </div>
  350. <div>
  351. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_AddKeyBinding_Terminal_Gui_Key_Terminal_Gui_Command___">View.AddKeyBinding(Key, Command[])</a>
  352. </div>
  353. <div>
  354. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ReplaceKeyBinding_Terminal_Gui_Key_Terminal_Gui_Key_">View.ReplaceKeyBinding(Key, Key)</a>
  355. </div>
  356. <div>
  357. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ContainsKeyBinding_Terminal_Gui_Key_">View.ContainsKeyBinding(Key)</a>
  358. </div>
  359. <div>
  360. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearKeybindings">View.ClearKeybindings()</a>
  361. </div>
  362. <div>
  363. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearKeybinding_Terminal_Gui_Key_">View.ClearKeybinding(Key)</a>
  364. </div>
  365. <div>
  366. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearKeybinding_Terminal_Gui_Command___">View.ClearKeybinding(Command[])</a>
  367. </div>
  368. <div>
  369. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_AddCommand_Terminal_Gui_Command_System_Func_System_Nullable_System_Boolean___">View.AddCommand(Command, Func&lt;Nullable&lt;Boolean&gt;&gt;)</a>
  370. </div>
  371. <div>
  372. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetSupportedCommands">View.GetSupportedCommands()</a>
  373. </div>
  374. <div>
  375. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetKeyFromCommand_Terminal_Gui_Command___">View.GetKeyFromCommand(Command[])</a>
  376. </div>
  377. <div>
  378. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ProcessHotKey_Terminal_Gui_KeyEvent_">View.ProcessHotKey(KeyEvent)</a>
  379. </div>
  380. <div>
  381. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_KeyDown">View.KeyDown</a>
  382. </div>
  383. <div>
  384. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_KeyUp">View.KeyUp</a>
  385. </div>
  386. <div>
  387. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_EnsureFocus">View.EnsureFocus()</a>
  388. </div>
  389. <div>
  390. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusFirst">View.FocusFirst()</a>
  391. </div>
  392. <div>
  393. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusLast">View.FocusLast()</a>
  394. </div>
  395. <div>
  396. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusPrev">View.FocusPrev()</a>
  397. </div>
  398. <div>
  399. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusNext">View.FocusNext()</a>
  400. </div>
  401. <div>
  402. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutStarted">View.LayoutStarted</a>
  403. </div>
  404. <div>
  405. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutComplete">View.LayoutComplete</a>
  406. </div>
  407. <div>
  408. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Initialized">View.Initialized</a>
  409. </div>
  410. <div>
  411. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutSubviews">View.LayoutSubviews()</a>
  412. </div>
  413. <div>
  414. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Text">View.Text</a>
  415. </div>
  416. <div>
  417. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_AutoSize">View.AutoSize</a>
  418. </div>
  419. <div>
  420. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_PreserveTrailingSpaces">View.PreserveTrailingSpaces</a>
  421. </div>
  422. <div>
  423. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TextAlignment">View.TextAlignment</a>
  424. </div>
  425. <div>
  426. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_VerticalTextAlignment">View.VerticalTextAlignment</a>
  427. </div>
  428. <div>
  429. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TextDirection">View.TextDirection</a>
  430. </div>
  431. <div>
  432. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_IsInitialized">View.IsInitialized</a>
  433. </div>
  434. <div>
  435. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_IsAdded">View.IsAdded</a>
  436. </div>
  437. <div>
  438. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Enabled">View.Enabled</a>
  439. </div>
  440. <div>
  441. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Visible">View.Visible</a>
  442. </div>
  443. <div>
  444. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Border">View.Border</a>
  445. </div>
  446. <div>
  447. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ToString">View.ToString()</a>
  448. </div>
  449. <div>
  450. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetAutoSize">View.GetAutoSize()</a>
  451. </div>
  452. <div>
  453. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetHotKeySpecifierLength_System_Boolean_">View.GetHotKeySpecifierLength(Boolean)</a>
  454. </div>
  455. <div>
  456. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetTextFormatterBoundsSize">View.GetTextFormatterBoundsSize()</a>
  457. </div>
  458. <div>
  459. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetBoundsTextFormatterSize">View.GetBoundsTextFormatterSize()</a>
  460. </div>
  461. <div>
  462. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseEnter_Terminal_Gui_MouseEvent_">View.OnMouseEnter(MouseEvent)</a>
  463. </div>
  464. <div>
  465. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseLeave_Terminal_Gui_MouseEvent_">View.OnMouseLeave(MouseEvent)</a>
  466. </div>
  467. <div>
  468. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseEvent_Terminal_Gui_MouseEvent_">View.OnMouseEvent(MouseEvent)</a>
  469. </div>
  470. <div>
  471. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseClick_Terminal_Gui_View_MouseEventArgs_">View.OnMouseClick(View.MouseEventArgs)</a>
  472. </div>
  473. <div>
  474. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnCanFocusChanged">View.OnCanFocusChanged()</a>
  475. </div>
  476. <div>
  477. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnEnabledChanged">View.OnEnabledChanged()</a>
  478. </div>
  479. <div>
  480. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnVisibleChanged">View.OnVisibleChanged()</a>
  481. </div>
  482. <div>
  483. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Dispose_System_Boolean_">View.Dispose(Boolean)</a>
  484. </div>
  485. <div>
  486. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_BeginInit">View.BeginInit()</a>
  487. </div>
  488. <div>
  489. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_EndInit">View.EndInit()</a>
  490. </div>
  491. <div>
  492. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetWidth_System_Int32_System_Int32__">View.SetWidth(Int32, Int32)</a>
  493. </div>
  494. <div>
  495. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetHeight_System_Int32_System_Int32__">View.SetHeight(Int32, Int32)</a>
  496. </div>
  497. <div>
  498. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetCurrentWidth_System_Int32__">View.GetCurrentWidth(Int32)</a>
  499. </div>
  500. <div>
  501. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetCurrentHeight_System_Int32__">View.GetCurrentHeight(Int32)</a>
  502. </div>
  503. <div>
  504. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetNormalColor">View.GetNormalColor()</a>
  505. </div>
  506. <div>
  507. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetTopSuperView">View.GetTopSuperView()</a>
  508. </div>
  509. <div>
  510. <a class="xref" href="Terminal.Gui.Responder.html#Terminal_Gui_Responder_Dispose">Responder.Dispose()</a>
  511. </div>
  512. <div>
  513. <span class="xref">System.Object.Equals(System.Object)</span>
  514. </div>
  515. <div>
  516. <span class="xref">System.Object.Equals(System.Object, System.Object)</span>
  517. </div>
  518. <div>
  519. <span class="xref">System.Object.GetHashCode()</span>
  520. </div>
  521. <div>
  522. <span class="xref">System.Object.GetType()</span>
  523. </div>
  524. <div>
  525. <span class="xref">System.Object.MemberwiseClone()</span>
  526. </div>
  527. <div>
  528. <span class="xref">System.Object.ReferenceEquals(System.Object, System.Object)</span>
  529. </div>
  530. </div>
  531. <h6><strong>Namespace</strong>: <a class="xref" href="Terminal.Gui.html">Terminal.Gui</a></h6>
  532. <h6><strong>Assembly</strong>: Terminal.Gui.dll</h6>
  533. <h5 id="Terminal_Gui_Toplevel_syntax">Syntax</h5>
  534. <div class="codewrapper">
  535. <pre><code class="lang-csharp hljs">public class Toplevel : View, IDisposable, ISupportInitializeNotification, ISupportInitialize</code></pre>
  536. </div>
  537. <h3 id="constructors">Constructors
  538. </h3>
  539. <span class="small pull-right mobile-hide">
  540. <span class="divider">|</span>
  541. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Toplevel__ctor.md&amp;value=---%0Auid%3A%20Terminal.Gui.Toplevel.%23ctor%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  542. </span>
  543. <span class="small pull-right mobile-hide">
  544. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Toplevel.cs/#L212">View Source</a>
  545. </span>
  546. <a id="Terminal_Gui_Toplevel__ctor_" data-uid="Terminal.Gui.Toplevel.#ctor*"></a>
  547. <h4 id="Terminal_Gui_Toplevel__ctor" data-uid="Terminal.Gui.Toplevel.#ctor">Toplevel()</h4>
  548. <div class="markdown level1 summary">
  549. Initializes a new instance of the <a class="xref" href="Terminal.Gui.Toplevel.html">Toplevel</a> class with <a class="xref" href="Terminal.Gui.LayoutStyle.html#Terminal_Gui_LayoutStyle_Computed">Computed</a> layout,
  550. defaulting to full screen.
  551. </div>
  552. <div class="markdown level1 conceptual"></div>
  553. <h5 class="decalaration">Declaration</h5>
  554. <div class="codewrapper">
  555. <pre><code class="lang-csharp hljs">public Toplevel()</code></pre>
  556. </div>
  557. <span class="small pull-right mobile-hide">
  558. <span class="divider">|</span>
  559. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Toplevel__ctor_Terminal_Gui_Rect_.md&amp;value=---%0Auid%3A%20Terminal.Gui.Toplevel.%23ctor(Terminal.Gui.Rect)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  560. </span>
  561. <span class="small pull-right mobile-hide">
  562. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Toplevel.cs/#L203">View Source</a>
  563. </span>
  564. <a id="Terminal_Gui_Toplevel__ctor_" data-uid="Terminal.Gui.Toplevel.#ctor*"></a>
  565. <h4 id="Terminal_Gui_Toplevel__ctor_Terminal_Gui_Rect_" data-uid="Terminal.Gui.Toplevel.#ctor(Terminal.Gui.Rect)">Toplevel(Rect)</h4>
  566. <div class="markdown level1 summary">
  567. Initializes a new instance of the <a class="xref" href="Terminal.Gui.Toplevel.html">Toplevel</a> class with the specified <a class="xref" href="Terminal.Gui.LayoutStyle.html#Terminal_Gui_LayoutStyle_Absolute">Absolute</a> layout.
  568. </div>
  569. <div class="markdown level1 conceptual"></div>
  570. <h5 class="decalaration">Declaration</h5>
  571. <div class="codewrapper">
  572. <pre><code class="lang-csharp hljs">public Toplevel(Rect frame)</code></pre>
  573. </div>
  574. <h5 class="parameters">Parameters</h5>
  575. <table class="table table-bordered table-striped table-condensed">
  576. <thead>
  577. <tr>
  578. <th>Type</th>
  579. <th>Name</th>
  580. <th>Description</th>
  581. </tr>
  582. </thead>
  583. <tbody>
  584. <tr>
  585. <td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
  586. <td><span class="parametername">frame</span></td>
  587. <td>A superview-relative rectangle specifying the location and size for the new Toplevel</td>
  588. </tr>
  589. </tbody>
  590. </table>
  591. <h3 id="properties">Properties
  592. </h3>
  593. <span class="small pull-right mobile-hide">
  594. <span class="divider">|</span>
  595. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Toplevel_CanFocus.md&amp;value=---%0Auid%3A%20Terminal.Gui.Toplevel.CanFocus%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  596. </span>
  597. <span class="small pull-right mobile-hide">
  598. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Toplevel.cs/#L316">View Source</a>
  599. </span>
  600. <a id="Terminal_Gui_Toplevel_CanFocus_" data-uid="Terminal.Gui.Toplevel.CanFocus*"></a>
  601. <h4 id="Terminal_Gui_Toplevel_CanFocus" data-uid="Terminal.Gui.Toplevel.CanFocus">CanFocus</h4>
  602. <div class="markdown level1 summary">
  603. Gets or sets a value indicating whether this <a class="xref" href="Terminal.Gui.Toplevel.html">Toplevel</a> can focus.
  604. </div>
  605. <div class="markdown level1 conceptual"></div>
  606. <h5 class="decalaration">Declaration</h5>
  607. <div class="codewrapper">
  608. <pre><code class="lang-csharp hljs">public override bool CanFocus { get; }</code></pre>
  609. </div>
  610. <h5 class="propertyValue">Property Value</h5>
  611. <table class="table table-bordered table-striped table-condensed">
  612. <thead>
  613. <tr>
  614. <th>Type</th>
  615. <th>Description</th>
  616. </tr>
  617. </thead>
  618. <tbody>
  619. <tr>
  620. <td><span class="xref">System.Boolean</span></td>
  621. <td><code>true</code> if can focus; otherwise, <code>false</code>.</td>
  622. </tr>
  623. </tbody>
  624. </table>
  625. <h5 class="overrides">Overrides</h5>
  626. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_CanFocus">View.CanFocus</a></div>
  627. <span class="small pull-right mobile-hide">
  628. <span class="divider">|</span>
  629. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Toplevel_IsMdiChild.md&amp;value=---%0Auid%3A%20Terminal.Gui.Toplevel.IsMdiChild%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  630. </span>
  631. <span class="small pull-right mobile-hide">
  632. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Toplevel.cs/#L364">View Source</a>
  633. </span>
  634. <a id="Terminal_Gui_Toplevel_IsMdiChild_" data-uid="Terminal.Gui.Toplevel.IsMdiChild*"></a>
  635. <h4 id="Terminal_Gui_Toplevel_IsMdiChild" data-uid="Terminal.Gui.Toplevel.IsMdiChild">IsMdiChild</h4>
  636. <div class="markdown level1 summary">
  637. Gets or sets if this Toplevel is a Mdi child.
  638. </div>
  639. <div class="markdown level1 conceptual"></div>
  640. <h5 class="decalaration">Declaration</h5>
  641. <div class="codewrapper">
  642. <pre><code class="lang-csharp hljs">public bool IsMdiChild { get; }</code></pre>
  643. </div>
  644. <h5 class="propertyValue">Property Value</h5>
  645. <table class="table table-bordered table-striped table-condensed">
  646. <thead>
  647. <tr>
  648. <th>Type</th>
  649. <th>Description</th>
  650. </tr>
  651. </thead>
  652. <tbody>
  653. <tr>
  654. <td><span class="xref">System.Boolean</span></td>
  655. <td></td>
  656. </tr>
  657. </tbody>
  658. </table>
  659. <span class="small pull-right mobile-hide">
  660. <span class="divider">|</span>
  661. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Toplevel_IsMdiContainer.md&amp;value=---%0Auid%3A%20Terminal.Gui.Toplevel.IsMdiContainer%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  662. </span>
  663. <span class="small pull-right mobile-hide">
  664. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Toplevel.cs/#L359">View Source</a>
  665. </span>
  666. <a id="Terminal_Gui_Toplevel_IsMdiContainer_" data-uid="Terminal.Gui.Toplevel.IsMdiContainer*"></a>
  667. <h4 id="Terminal_Gui_Toplevel_IsMdiContainer" data-uid="Terminal.Gui.Toplevel.IsMdiContainer">IsMdiContainer</h4>
  668. <div class="markdown level1 summary">
  669. Gets or sets if this Toplevel is a Mdi container.
  670. </div>
  671. <div class="markdown level1 conceptual"></div>
  672. <h5 class="decalaration">Declaration</h5>
  673. <div class="codewrapper">
  674. <pre><code class="lang-csharp hljs">public bool IsMdiContainer { get; set; }</code></pre>
  675. </div>
  676. <h5 class="propertyValue">Property Value</h5>
  677. <table class="table table-bordered table-striped table-condensed">
  678. <thead>
  679. <tr>
  680. <th>Type</th>
  681. <th>Description</th>
  682. </tr>
  683. </thead>
  684. <tbody>
  685. <tr>
  686. <td><span class="xref">System.Boolean</span></td>
  687. <td></td>
  688. </tr>
  689. </tbody>
  690. </table>
  691. <span class="small pull-right mobile-hide">
  692. <span class="divider">|</span>
  693. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Toplevel_MenuBar.md&amp;value=---%0Auid%3A%20Terminal.Gui.Toplevel.MenuBar%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  694. </span>
  695. <span class="small pull-right mobile-hide">
  696. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Toplevel.cs/#L349">View Source</a>
  697. </span>
  698. <a id="Terminal_Gui_Toplevel_MenuBar_" data-uid="Terminal.Gui.Toplevel.MenuBar*"></a>
  699. <h4 id="Terminal_Gui_Toplevel_MenuBar" data-uid="Terminal.Gui.Toplevel.MenuBar">MenuBar</h4>
  700. <div class="markdown level1 summary">
  701. Gets or sets the menu for this Toplevel.
  702. </div>
  703. <div class="markdown level1 conceptual"></div>
  704. <h5 class="decalaration">Declaration</h5>
  705. <div class="codewrapper">
  706. <pre><code class="lang-csharp hljs">public virtual MenuBar MenuBar { get; set; }</code></pre>
  707. </div>
  708. <h5 class="propertyValue">Property Value</h5>
  709. <table class="table table-bordered table-striped table-condensed">
  710. <thead>
  711. <tr>
  712. <th>Type</th>
  713. <th>Description</th>
  714. </tr>
  715. </thead>
  716. <tbody>
  717. <tr>
  718. <td><a class="xref" href="Terminal.Gui.MenuBar.html">MenuBar</a></td>
  719. <td></td>
  720. </tr>
  721. </tbody>
  722. </table>
  723. <span class="small pull-right mobile-hide">
  724. <span class="divider">|</span>
  725. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Toplevel_Modal.md&amp;value=---%0Auid%3A%20Terminal.Gui.Toplevel.Modal%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  726. </span>
  727. <span class="small pull-right mobile-hide">
  728. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Toplevel.cs/#L344">View Source</a>
  729. </span>
  730. <a id="Terminal_Gui_Toplevel_Modal_" data-uid="Terminal.Gui.Toplevel.Modal*"></a>
  731. <h4 id="Terminal_Gui_Toplevel_Modal" data-uid="Terminal.Gui.Toplevel.Modal">Modal</h4>
  732. <div class="markdown level1 summary">
  733. Determines whether the <a class="xref" href="Terminal.Gui.Toplevel.html">Toplevel</a> is modal or not.
  734. If set to <code>false</code> (the default):
  735. <ul><li><a class="xref" href="Terminal.Gui.Toplevel.html#Terminal_Gui_Toplevel_ProcessKey_Terminal_Gui_KeyEvent_">ProcessKey(KeyEvent)</a> events will propagate keys upwards.</li><li>The Toplevel will act as an embedded view (not a modal/pop-up).</li></ul>
  736. If set to <code>true</code>:
  737. <ul><li><a class="xref" href="Terminal.Gui.Toplevel.html#Terminal_Gui_Toplevel_ProcessKey_Terminal_Gui_KeyEvent_">ProcessKey(KeyEvent)</a> events will NOT propogate keys upwards.</li><li>The Toplevel will and look like a modal (pop-up) (e.g. see <a class="xref" href="Terminal.Gui.Dialog.html">Dialog</a>.</li></ul>
  738. </div>
  739. <div class="markdown level1 conceptual"></div>
  740. <h5 class="decalaration">Declaration</h5>
  741. <div class="codewrapper">
  742. <pre><code class="lang-csharp hljs">public bool Modal { get; set; }</code></pre>
  743. </div>
  744. <h5 class="propertyValue">Property Value</h5>
  745. <table class="table table-bordered table-striped table-condensed">
  746. <thead>
  747. <tr>
  748. <th>Type</th>
  749. <th>Description</th>
  750. </tr>
  751. </thead>
  752. <tbody>
  753. <tr>
  754. <td><span class="xref">System.Boolean</span></td>
  755. <td></td>
  756. </tr>
  757. </tbody>
  758. </table>
  759. <span class="small pull-right mobile-hide">
  760. <span class="divider">|</span>
  761. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Toplevel_Running.md&amp;value=---%0Auid%3A%20Terminal.Gui.Toplevel.Running%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  762. </span>
  763. <span class="small pull-right mobile-hide">
  764. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Toplevel.cs/#L44">View Source</a>
  765. </span>
  766. <a id="Terminal_Gui_Toplevel_Running_" data-uid="Terminal.Gui.Toplevel.Running*"></a>
  767. <h4 id="Terminal_Gui_Toplevel_Running" data-uid="Terminal.Gui.Toplevel.Running">Running</h4>
  768. <div class="markdown level1 summary">
  769. Gets or sets whether the <a class="xref" href="Terminal.Gui.MainLoop.html">MainLoop</a> for this <a class="xref" href="Terminal.Gui.Toplevel.html">Toplevel</a> is running or not.
  770. </div>
  771. <div class="markdown level1 conceptual"></div>
  772. <h5 class="decalaration">Declaration</h5>
  773. <div class="codewrapper">
  774. <pre><code class="lang-csharp hljs">public bool Running { get; set; }</code></pre>
  775. </div>
  776. <h5 class="propertyValue">Property Value</h5>
  777. <table class="table table-bordered table-striped table-condensed">
  778. <thead>
  779. <tr>
  780. <th>Type</th>
  781. <th>Description</th>
  782. </tr>
  783. </thead>
  784. <tbody>
  785. <tr>
  786. <td><span class="xref">System.Boolean</span></td>
  787. <td></td>
  788. </tr>
  789. </tbody>
  790. </table>
  791. <span class="small pull-right mobile-hide">
  792. <span class="divider">|</span>
  793. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Toplevel_StatusBar.md&amp;value=---%0Auid%3A%20Terminal.Gui.Toplevel.StatusBar%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  794. </span>
  795. <span class="small pull-right mobile-hide">
  796. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Toplevel.cs/#L354">View Source</a>
  797. </span>
  798. <a id="Terminal_Gui_Toplevel_StatusBar_" data-uid="Terminal.Gui.Toplevel.StatusBar*"></a>
  799. <h4 id="Terminal_Gui_Toplevel_StatusBar" data-uid="Terminal.Gui.Toplevel.StatusBar">StatusBar</h4>
  800. <div class="markdown level1 summary">
  801. Gets or sets the status bar for this Toplevel.
  802. </div>
  803. <div class="markdown level1 conceptual"></div>
  804. <h5 class="decalaration">Declaration</h5>
  805. <div class="codewrapper">
  806. <pre><code class="lang-csharp hljs">public virtual StatusBar StatusBar { get; set; }</code></pre>
  807. </div>
  808. <h5 class="propertyValue">Property Value</h5>
  809. <table class="table table-bordered table-striped table-condensed">
  810. <thead>
  811. <tr>
  812. <th>Type</th>
  813. <th>Description</th>
  814. </tr>
  815. </thead>
  816. <tbody>
  817. <tr>
  818. <td><a class="xref" href="Terminal.Gui.StatusBar.html">StatusBar</a></td>
  819. <td></td>
  820. </tr>
  821. </tbody>
  822. </table>
  823. <h3 id="methods">Methods
  824. </h3>
  825. <span class="small pull-right mobile-hide">
  826. <span class="divider">|</span>
  827. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Toplevel_Add_Terminal_Gui_View_.md&amp;value=---%0Auid%3A%20Terminal.Gui.Toplevel.Add(Terminal.Gui.View)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  828. </span>
  829. <span class="small pull-right mobile-hide">
  830. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Toplevel.cs/#L553">View Source</a>
  831. </span>
  832. <a id="Terminal_Gui_Toplevel_Add_" data-uid="Terminal.Gui.Toplevel.Add*"></a>
  833. <h4 id="Terminal_Gui_Toplevel_Add_Terminal_Gui_View_" data-uid="Terminal.Gui.Toplevel.Add(Terminal.Gui.View)">Add(View)</h4>
  834. <div class="markdown level1 summary"></div>
  835. <div class="markdown level1 conceptual"></div>
  836. <h5 class="decalaration">Declaration</h5>
  837. <div class="codewrapper">
  838. <pre><code class="lang-csharp hljs">public override void Add(View view)</code></pre>
  839. </div>
  840. <h5 class="parameters">Parameters</h5>
  841. <table class="table table-bordered table-striped table-condensed">
  842. <thead>
  843. <tr>
  844. <th>Type</th>
  845. <th>Name</th>
  846. <th>Description</th>
  847. </tr>
  848. </thead>
  849. <tbody>
  850. <tr>
  851. <td><a class="xref" href="Terminal.Gui.View.html">View</a></td>
  852. <td><span class="parametername">view</span></td>
  853. <td></td>
  854. </tr>
  855. </tbody>
  856. </table>
  857. <h5 class="overrides">Overrides</h5>
  858. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Add_Terminal_Gui_View_">View.Add(View)</a></div>
  859. <span class="small pull-right mobile-hide">
  860. <span class="divider">|</span>
  861. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Toplevel_Create.md&amp;value=---%0Auid%3A%20Terminal.Gui.Toplevel.Create%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  862. </span>
  863. <span class="small pull-right mobile-hide">
  864. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Toplevel.cs/#L307">View Source</a>
  865. </span>
  866. <a id="Terminal_Gui_Toplevel_Create_" data-uid="Terminal.Gui.Toplevel.Create*"></a>
  867. <h4 id="Terminal_Gui_Toplevel_Create" data-uid="Terminal.Gui.Toplevel.Create">Create()</h4>
  868. <div class="markdown level1 summary">
  869. Convenience factory method that creates a new Toplevel with the current terminal dimensions.
  870. </div>
  871. <div class="markdown level1 conceptual"></div>
  872. <h5 class="decalaration">Declaration</h5>
  873. <div class="codewrapper">
  874. <pre><code class="lang-csharp hljs">public static Toplevel Create()</code></pre>
  875. </div>
  876. <h5 class="returns">Returns</h5>
  877. <table class="table table-bordered table-striped table-condensed">
  878. <thead>
  879. <tr>
  880. <th>Type</th>
  881. <th>Description</th>
  882. </tr>
  883. </thead>
  884. <tbody>
  885. <tr>
  886. <td><a class="xref" href="Terminal.Gui.Toplevel.html">Toplevel</a></td>
  887. <td>The created Toplevel.</td>
  888. </tr>
  889. </tbody>
  890. </table>
  891. <span class="small pull-right mobile-hide">
  892. <span class="divider">|</span>
  893. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Toplevel_GetTopMdiChild_System_Type_System_String___.md&amp;value=---%0Auid%3A%20Terminal.Gui.Toplevel.GetTopMdiChild(System.Type%2CSystem.String%5B%5D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  894. </span>
  895. <span class="small pull-right mobile-hide">
  896. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Toplevel.cs/#L940">View Source</a>
  897. </span>
  898. <a id="Terminal_Gui_Toplevel_GetTopMdiChild_" data-uid="Terminal.Gui.Toplevel.GetTopMdiChild*"></a>
  899. <h4 id="Terminal_Gui_Toplevel_GetTopMdiChild_System_Type_System_String___" data-uid="Terminal.Gui.Toplevel.GetTopMdiChild(System.Type,System.String[])">GetTopMdiChild(Type, String[])</h4>
  900. <div class="markdown level1 summary">
  901. Gets the current visible Toplevel Mdi child that matches the arguments pattern.
  902. </div>
  903. <div class="markdown level1 conceptual"></div>
  904. <h5 class="decalaration">Declaration</h5>
  905. <div class="codewrapper">
  906. <pre><code class="lang-csharp hljs">public View GetTopMdiChild(Type type = null, string[] exclude = null)</code></pre>
  907. </div>
  908. <h5 class="parameters">Parameters</h5>
  909. <table class="table table-bordered table-striped table-condensed">
  910. <thead>
  911. <tr>
  912. <th>Type</th>
  913. <th>Name</th>
  914. <th>Description</th>
  915. </tr>
  916. </thead>
  917. <tbody>
  918. <tr>
  919. <td><span class="xref">System.Type</span></td>
  920. <td><span class="parametername">type</span></td>
  921. <td>The type.</td>
  922. </tr>
  923. <tr>
  924. <td><span class="xref">System.String</span>[]</td>
  925. <td><span class="parametername">exclude</span></td>
  926. <td>The strings to exclude.</td>
  927. </tr>
  928. </tbody>
  929. </table>
  930. <h5 class="returns">Returns</h5>
  931. <table class="table table-bordered table-striped table-condensed">
  932. <thead>
  933. <tr>
  934. <th>Type</th>
  935. <th>Description</th>
  936. </tr>
  937. </thead>
  938. <tbody>
  939. <tr>
  940. <td><a class="xref" href="Terminal.Gui.View.html">View</a></td>
  941. <td>The matched view.</td>
  942. </tr>
  943. </tbody>
  944. </table>
  945. <span class="small pull-right mobile-hide">
  946. <span class="divider">|</span>
  947. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Toplevel_MouseEvent_Terminal_Gui_MouseEvent_.md&amp;value=---%0Auid%3A%20Terminal.Gui.Toplevel.MouseEvent(Terminal.Gui.MouseEvent)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  948. </span>
  949. <span class="small pull-right mobile-hide">
  950. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Toplevel.cs/#L772">View Source</a>
  951. </span>
  952. <a id="Terminal_Gui_Toplevel_MouseEvent_" data-uid="Terminal.Gui.Toplevel.MouseEvent*"></a>
  953. <h4 id="Terminal_Gui_Toplevel_MouseEvent_Terminal_Gui_MouseEvent_" data-uid="Terminal.Gui.Toplevel.MouseEvent(Terminal.Gui.MouseEvent)">MouseEvent(MouseEvent)</h4>
  954. <div class="markdown level1 summary"></div>
  955. <div class="markdown level1 conceptual"></div>
  956. <h5 class="decalaration">Declaration</h5>
  957. <div class="codewrapper">
  958. <pre><code class="lang-csharp hljs">public override bool MouseEvent(MouseEvent mouseEvent)</code></pre>
  959. </div>
  960. <h5 class="parameters">Parameters</h5>
  961. <table class="table table-bordered table-striped table-condensed">
  962. <thead>
  963. <tr>
  964. <th>Type</th>
  965. <th>Name</th>
  966. <th>Description</th>
  967. </tr>
  968. </thead>
  969. <tbody>
  970. <tr>
  971. <td><a class="xref" href="Terminal.Gui.MouseEvent.html">MouseEvent</a></td>
  972. <td><span class="parametername">mouseEvent</span></td>
  973. <td></td>
  974. </tr>
  975. </tbody>
  976. </table>
  977. <h5 class="returns">Returns</h5>
  978. <table class="table table-bordered table-striped table-condensed">
  979. <thead>
  980. <tr>
  981. <th>Type</th>
  982. <th>Description</th>
  983. </tr>
  984. </thead>
  985. <tbody>
  986. <tr>
  987. <td><span class="xref">System.Boolean</span></td>
  988. <td></td>
  989. </tr>
  990. </tbody>
  991. </table>
  992. <h5 class="overrides">Overrides</h5>
  993. <div><a class="xref" href="Terminal.Gui.Responder.html#Terminal_Gui_Responder_MouseEvent_Terminal_Gui_MouseEvent_">Responder.MouseEvent(MouseEvent)</a></div>
  994. <span class="small pull-right mobile-hide">
  995. <span class="divider">|</span>
  996. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Toplevel_MoveNext.md&amp;value=---%0Auid%3A%20Terminal.Gui.Toplevel.MoveNext%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  997. </span>
  998. <span class="small pull-right mobile-hide">
  999. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Toplevel.cs/#L853">View Source</a>
  1000. </span>
  1001. <a id="Terminal_Gui_Toplevel_MoveNext_" data-uid="Terminal.Gui.Toplevel.MoveNext*"></a>
  1002. <h4 id="Terminal_Gui_Toplevel_MoveNext" data-uid="Terminal.Gui.Toplevel.MoveNext">MoveNext()</h4>
  1003. <div class="markdown level1 summary">
  1004. Move to the next Mdi child from the <a class="xref" href="Terminal.Gui.Application.html#Terminal_Gui_Application_MdiTop">MdiTop</a>.
  1005. </div>
  1006. <div class="markdown level1 conceptual"></div>
  1007. <h5 class="decalaration">Declaration</h5>
  1008. <div class="codewrapper">
  1009. <pre><code class="lang-csharp hljs">public virtual void MoveNext()</code></pre>
  1010. </div>
  1011. <span class="small pull-right mobile-hide">
  1012. <span class="divider">|</span>
  1013. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Toplevel_MovePrevious.md&amp;value=---%0Auid%3A%20Terminal.Gui.Toplevel.MovePrevious%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1014. </span>
  1015. <span class="small pull-right mobile-hide">
  1016. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Toplevel.cs/#L861">View Source</a>
  1017. </span>
  1018. <a id="Terminal_Gui_Toplevel_MovePrevious_" data-uid="Terminal.Gui.Toplevel.MovePrevious*"></a>
  1019. <h4 id="Terminal_Gui_Toplevel_MovePrevious" data-uid="Terminal.Gui.Toplevel.MovePrevious">MovePrevious()</h4>
  1020. <div class="markdown level1 summary">
  1021. Move to the previous Mdi child from the <a class="xref" href="Terminal.Gui.Application.html#Terminal_Gui_Application_MdiTop">MdiTop</a>.
  1022. </div>
  1023. <div class="markdown level1 conceptual"></div>
  1024. <h5 class="decalaration">Declaration</h5>
  1025. <div class="codewrapper">
  1026. <pre><code class="lang-csharp hljs">public virtual void MovePrevious()</code></pre>
  1027. </div>
  1028. <span class="small pull-right mobile-hide">
  1029. <span class="divider">|</span>
  1030. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Toplevel_OnAlternateBackwardKeyChanged_Terminal_Gui_Key_.md&amp;value=---%0Auid%3A%20Terminal.Gui.Toplevel.OnAlternateBackwardKeyChanged(Terminal.Gui.Key)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1031. </span>
  1032. <span class="small pull-right mobile-hide">
  1033. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Toplevel.cs/#L282">View Source</a>
  1034. </span>
  1035. <a id="Terminal_Gui_Toplevel_OnAlternateBackwardKeyChanged_" data-uid="Terminal.Gui.Toplevel.OnAlternateBackwardKeyChanged*"></a>
  1036. <h4 id="Terminal_Gui_Toplevel_OnAlternateBackwardKeyChanged_Terminal_Gui_Key_" data-uid="Terminal.Gui.Toplevel.OnAlternateBackwardKeyChanged(Terminal.Gui.Key)">OnAlternateBackwardKeyChanged(Key)</h4>
  1037. <div class="markdown level1 summary">
  1038. Virtual method to invoke the <a class="xref" href="Terminal.Gui.Toplevel.html#Terminal_Gui_Toplevel_AlternateBackwardKeyChanged">AlternateBackwardKeyChanged</a> event.
  1039. </div>
  1040. <div class="markdown level1 conceptual"></div>
  1041. <h5 class="decalaration">Declaration</h5>
  1042. <div class="codewrapper">
  1043. <pre><code class="lang-csharp hljs">public virtual void OnAlternateBackwardKeyChanged(Key oldKey)</code></pre>
  1044. </div>
  1045. <h5 class="parameters">Parameters</h5>
  1046. <table class="table table-bordered table-striped table-condensed">
  1047. <thead>
  1048. <tr>
  1049. <th>Type</th>
  1050. <th>Name</th>
  1051. <th>Description</th>
  1052. </tr>
  1053. </thead>
  1054. <tbody>
  1055. <tr>
  1056. <td><a class="xref" href="Terminal.Gui.Key.html">Key</a></td>
  1057. <td><span class="parametername">oldKey</span></td>
  1058. <td></td>
  1059. </tr>
  1060. </tbody>
  1061. </table>
  1062. <span class="small pull-right mobile-hide">
  1063. <span class="divider">|</span>
  1064. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Toplevel_OnAlternateForwardKeyChanged_Terminal_Gui_Key_.md&amp;value=---%0Auid%3A%20Terminal.Gui.Toplevel.OnAlternateForwardKeyChanged(Terminal.Gui.Key)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1065. </span>
  1066. <span class="small pull-right mobile-hide">
  1067. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Toplevel.cs/#L267">View Source</a>
  1068. </span>
  1069. <a id="Terminal_Gui_Toplevel_OnAlternateForwardKeyChanged_" data-uid="Terminal.Gui.Toplevel.OnAlternateForwardKeyChanged*"></a>
  1070. <h4 id="Terminal_Gui_Toplevel_OnAlternateForwardKeyChanged_Terminal_Gui_Key_" data-uid="Terminal.Gui.Toplevel.OnAlternateForwardKeyChanged(Terminal.Gui.Key)">OnAlternateForwardKeyChanged(Key)</h4>
  1071. <div class="markdown level1 summary">
  1072. Virtual method to invoke the <a class="xref" href="Terminal.Gui.Toplevel.html#Terminal_Gui_Toplevel_AlternateForwardKeyChanged">AlternateForwardKeyChanged</a> event.
  1073. </div>
  1074. <div class="markdown level1 conceptual"></div>
  1075. <h5 class="decalaration">Declaration</h5>
  1076. <div class="codewrapper">
  1077. <pre><code class="lang-csharp hljs">public virtual void OnAlternateForwardKeyChanged(Key oldKey)</code></pre>
  1078. </div>
  1079. <h5 class="parameters">Parameters</h5>
  1080. <table class="table table-bordered table-striped table-condensed">
  1081. <thead>
  1082. <tr>
  1083. <th>Type</th>
  1084. <th>Name</th>
  1085. <th>Description</th>
  1086. </tr>
  1087. </thead>
  1088. <tbody>
  1089. <tr>
  1090. <td><a class="xref" href="Terminal.Gui.Key.html">Key</a></td>
  1091. <td><span class="parametername">oldKey</span></td>
  1092. <td></td>
  1093. </tr>
  1094. </tbody>
  1095. </table>
  1096. <span class="small pull-right mobile-hide">
  1097. <span class="divider">|</span>
  1098. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Toplevel_OnKeyDown_Terminal_Gui_KeyEvent_.md&amp;value=---%0Auid%3A%20Terminal.Gui.Toplevel.OnKeyDown(Terminal.Gui.KeyEvent)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1099. </span>
  1100. <span class="small pull-right mobile-hide">
  1101. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Toplevel.cs/#L371">View Source</a>
  1102. </span>
  1103. <a id="Terminal_Gui_Toplevel_OnKeyDown_" data-uid="Terminal.Gui.Toplevel.OnKeyDown*"></a>
  1104. <h4 id="Terminal_Gui_Toplevel_OnKeyDown_Terminal_Gui_KeyEvent_" data-uid="Terminal.Gui.Toplevel.OnKeyDown(Terminal.Gui.KeyEvent)">OnKeyDown(KeyEvent)</h4>
  1105. <div class="markdown level1 summary"></div>
  1106. <div class="markdown level1 conceptual"></div>
  1107. <h5 class="decalaration">Declaration</h5>
  1108. <div class="codewrapper">
  1109. <pre><code class="lang-csharp hljs">public override bool OnKeyDown(KeyEvent keyEvent)</code></pre>
  1110. </div>
  1111. <h5 class="parameters">Parameters</h5>
  1112. <table class="table table-bordered table-striped table-condensed">
  1113. <thead>
  1114. <tr>
  1115. <th>Type</th>
  1116. <th>Name</th>
  1117. <th>Description</th>
  1118. </tr>
  1119. </thead>
  1120. <tbody>
  1121. <tr>
  1122. <td><a class="xref" href="Terminal.Gui.KeyEvent.html">KeyEvent</a></td>
  1123. <td><span class="parametername">keyEvent</span></td>
  1124. <td></td>
  1125. </tr>
  1126. </tbody>
  1127. </table>
  1128. <h5 class="returns">Returns</h5>
  1129. <table class="table table-bordered table-striped table-condensed">
  1130. <thead>
  1131. <tr>
  1132. <th>Type</th>
  1133. <th>Description</th>
  1134. </tr>
  1135. </thead>
  1136. <tbody>
  1137. <tr>
  1138. <td><span class="xref">System.Boolean</span></td>
  1139. <td></td>
  1140. </tr>
  1141. </tbody>
  1142. </table>
  1143. <h5 class="overrides">Overrides</h5>
  1144. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnKeyDown_Terminal_Gui_KeyEvent_">View.OnKeyDown(KeyEvent)</a></div>
  1145. <span class="small pull-right mobile-hide">
  1146. <span class="divider">|</span>
  1147. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Toplevel_OnKeyUp_Terminal_Gui_KeyEvent_.md&amp;value=---%0Auid%3A%20Terminal.Gui.Toplevel.OnKeyUp(Terminal.Gui.KeyEvent)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1148. </span>
  1149. <span class="small pull-right mobile-hide">
  1150. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Toplevel.cs/#L389">View Source</a>
  1151. </span>
  1152. <a id="Terminal_Gui_Toplevel_OnKeyUp_" data-uid="Terminal.Gui.Toplevel.OnKeyUp*"></a>
  1153. <h4 id="Terminal_Gui_Toplevel_OnKeyUp_Terminal_Gui_KeyEvent_" data-uid="Terminal.Gui.Toplevel.OnKeyUp(Terminal.Gui.KeyEvent)">OnKeyUp(KeyEvent)</h4>
  1154. <div class="markdown level1 summary"></div>
  1155. <div class="markdown level1 conceptual"></div>
  1156. <h5 class="decalaration">Declaration</h5>
  1157. <div class="codewrapper">
  1158. <pre><code class="lang-csharp hljs">public override bool OnKeyUp(KeyEvent keyEvent)</code></pre>
  1159. </div>
  1160. <h5 class="parameters">Parameters</h5>
  1161. <table class="table table-bordered table-striped table-condensed">
  1162. <thead>
  1163. <tr>
  1164. <th>Type</th>
  1165. <th>Name</th>
  1166. <th>Description</th>
  1167. </tr>
  1168. </thead>
  1169. <tbody>
  1170. <tr>
  1171. <td><a class="xref" href="Terminal.Gui.KeyEvent.html">KeyEvent</a></td>
  1172. <td><span class="parametername">keyEvent</span></td>
  1173. <td></td>
  1174. </tr>
  1175. </tbody>
  1176. </table>
  1177. <h5 class="returns">Returns</h5>
  1178. <table class="table table-bordered table-striped table-condensed">
  1179. <thead>
  1180. <tr>
  1181. <th>Type</th>
  1182. <th>Description</th>
  1183. </tr>
  1184. </thead>
  1185. <tbody>
  1186. <tr>
  1187. <td><span class="xref">System.Boolean</span></td>
  1188. <td></td>
  1189. </tr>
  1190. </tbody>
  1191. </table>
  1192. <h5 class="overrides">Overrides</h5>
  1193. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnKeyUp_Terminal_Gui_KeyEvent_">View.OnKeyUp(KeyEvent)</a></div>
  1194. <span class="small pull-right mobile-hide">
  1195. <span class="divider">|</span>
  1196. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Toplevel_OnLoaded.md&amp;value=---%0Auid%3A%20Terminal.Gui.Toplevel.OnLoaded%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1197. </span>
  1198. <span class="small pull-right mobile-hide">
  1199. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Toplevel.cs/#L168">View Source</a>
  1200. </span>
  1201. <a id="Terminal_Gui_Toplevel_OnLoaded_" data-uid="Terminal.Gui.Toplevel.OnLoaded*"></a>
  1202. <h4 id="Terminal_Gui_Toplevel_OnLoaded" data-uid="Terminal.Gui.Toplevel.OnLoaded">OnLoaded()</h4>
  1203. <div class="markdown level1 summary">
  1204. Called from <a class="xref" href="Terminal.Gui.Application.html#Terminal_Gui_Application_Begin_Terminal_Gui_Toplevel_">Begin(Toplevel)</a> before the <a class="xref" href="Terminal.Gui.Toplevel.html">Toplevel</a> redraws for the first time.
  1205. </div>
  1206. <div class="markdown level1 conceptual"></div>
  1207. <h5 class="decalaration">Declaration</h5>
  1208. <div class="codewrapper">
  1209. <pre><code class="lang-csharp hljs">public virtual void OnLoaded()</code></pre>
  1210. </div>
  1211. <span class="small pull-right mobile-hide">
  1212. <span class="divider">|</span>
  1213. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Toplevel_OnQuitKeyChanged_Terminal_Gui_Key_.md&amp;value=---%0Auid%3A%20Terminal.Gui.Toplevel.OnQuitKeyChanged(Terminal.Gui.Key)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1214. </span>
  1215. <span class="small pull-right mobile-hide">
  1216. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Toplevel.cs/#L297">View Source</a>
  1217. </span>
  1218. <a id="Terminal_Gui_Toplevel_OnQuitKeyChanged_" data-uid="Terminal.Gui.Toplevel.OnQuitKeyChanged*"></a>
  1219. <h4 id="Terminal_Gui_Toplevel_OnQuitKeyChanged_Terminal_Gui_Key_" data-uid="Terminal.Gui.Toplevel.OnQuitKeyChanged(Terminal.Gui.Key)">OnQuitKeyChanged(Key)</h4>
  1220. <div class="markdown level1 summary">
  1221. Virtual method to invoke the <a class="xref" href="Terminal.Gui.Toplevel.html#Terminal_Gui_Toplevel_QuitKeyChanged">QuitKeyChanged</a> event.
  1222. </div>
  1223. <div class="markdown level1 conceptual"></div>
  1224. <h5 class="decalaration">Declaration</h5>
  1225. <div class="codewrapper">
  1226. <pre><code class="lang-csharp hljs">public virtual void OnQuitKeyChanged(Key oldKey)</code></pre>
  1227. </div>
  1228. <h5 class="parameters">Parameters</h5>
  1229. <table class="table table-bordered table-striped table-condensed">
  1230. <thead>
  1231. <tr>
  1232. <th>Type</th>
  1233. <th>Name</th>
  1234. <th>Description</th>
  1235. </tr>
  1236. </thead>
  1237. <tbody>
  1238. <tr>
  1239. <td><a class="xref" href="Terminal.Gui.Key.html">Key</a></td>
  1240. <td><span class="parametername">oldKey</span></td>
  1241. <td></td>
  1242. </tr>
  1243. </tbody>
  1244. </table>
  1245. <span class="small pull-right mobile-hide">
  1246. <span class="divider">|</span>
  1247. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Toplevel_PositionCursor.md&amp;value=---%0Auid%3A%20Terminal.Gui.Toplevel.PositionCursor%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1248. </span>
  1249. <span class="small pull-right mobile-hide">
  1250. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Toplevel.cs/#L916">View Source</a>
  1251. </span>
  1252. <a id="Terminal_Gui_Toplevel_PositionCursor_" data-uid="Terminal.Gui.Toplevel.PositionCursor*"></a>
  1253. <h4 id="Terminal_Gui_Toplevel_PositionCursor" data-uid="Terminal.Gui.Toplevel.PositionCursor">PositionCursor()</h4>
  1254. <div class="markdown level1 summary"></div>
  1255. <div class="markdown level1 conceptual"></div>
  1256. <h5 class="decalaration">Declaration</h5>
  1257. <div class="codewrapper">
  1258. <pre><code class="lang-csharp hljs">public override void PositionCursor()</code></pre>
  1259. </div>
  1260. <h5 class="overrides">Overrides</h5>
  1261. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_PositionCursor">View.PositionCursor()</a></div>
  1262. <span class="small pull-right mobile-hide">
  1263. <span class="divider">|</span>
  1264. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Toplevel_PositionToplevel_Terminal_Gui_Toplevel_.md&amp;value=---%0Auid%3A%20Terminal.Gui.Toplevel.PositionToplevel(Terminal.Gui.Toplevel)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1265. </span>
  1266. <span class="small pull-right mobile-hide">
  1267. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Toplevel.cs/#L684">View Source</a>
  1268. </span>
  1269. <a id="Terminal_Gui_Toplevel_PositionToplevel_" data-uid="Terminal.Gui.Toplevel.PositionToplevel*"></a>
  1270. <h4 id="Terminal_Gui_Toplevel_PositionToplevel_Terminal_Gui_Toplevel_" data-uid="Terminal.Gui.Toplevel.PositionToplevel(Terminal.Gui.Toplevel)">PositionToplevel(Toplevel)</h4>
  1271. <div class="markdown level1 summary">
  1272. Virtual method enabling implementation of specific positions for inherited <a class="xref" href="Terminal.Gui.Toplevel.html">Toplevel</a> views.
  1273. </div>
  1274. <div class="markdown level1 conceptual"></div>
  1275. <h5 class="decalaration">Declaration</h5>
  1276. <div class="codewrapper">
  1277. <pre><code class="lang-csharp hljs">public virtual void PositionToplevel(Toplevel top)</code></pre>
  1278. </div>
  1279. <h5 class="parameters">Parameters</h5>
  1280. <table class="table table-bordered table-striped table-condensed">
  1281. <thead>
  1282. <tr>
  1283. <th>Type</th>
  1284. <th>Name</th>
  1285. <th>Description</th>
  1286. </tr>
  1287. </thead>
  1288. <tbody>
  1289. <tr>
  1290. <td><a class="xref" href="Terminal.Gui.Toplevel.html">Toplevel</a></td>
  1291. <td><span class="parametername">top</span></td>
  1292. <td>The toplevel.</td>
  1293. </tr>
  1294. </tbody>
  1295. </table>
  1296. <span class="small pull-right mobile-hide">
  1297. <span class="divider">|</span>
  1298. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Toplevel_ProcessColdKey_Terminal_Gui_KeyEvent_.md&amp;value=---%0Auid%3A%20Terminal.Gui.Toplevel.ProcessColdKey(Terminal.Gui.KeyEvent)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1299. </span>
  1300. <span class="small pull-right mobile-hide">
  1301. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Toplevel.cs/#L495">View Source</a>
  1302. </span>
  1303. <a id="Terminal_Gui_Toplevel_ProcessColdKey_" data-uid="Terminal.Gui.Toplevel.ProcessColdKey*"></a>
  1304. <h4 id="Terminal_Gui_Toplevel_ProcessColdKey_Terminal_Gui_KeyEvent_" data-uid="Terminal.Gui.Toplevel.ProcessColdKey(Terminal.Gui.KeyEvent)">ProcessColdKey(KeyEvent)</h4>
  1305. <div class="markdown level1 summary"></div>
  1306. <div class="markdown level1 conceptual"></div>
  1307. <h5 class="decalaration">Declaration</h5>
  1308. <div class="codewrapper">
  1309. <pre><code class="lang-csharp hljs">public override bool ProcessColdKey(KeyEvent keyEvent)</code></pre>
  1310. </div>
  1311. <h5 class="parameters">Parameters</h5>
  1312. <table class="table table-bordered table-striped table-condensed">
  1313. <thead>
  1314. <tr>
  1315. <th>Type</th>
  1316. <th>Name</th>
  1317. <th>Description</th>
  1318. </tr>
  1319. </thead>
  1320. <tbody>
  1321. <tr>
  1322. <td><a class="xref" href="Terminal.Gui.KeyEvent.html">KeyEvent</a></td>
  1323. <td><span class="parametername">keyEvent</span></td>
  1324. <td></td>
  1325. </tr>
  1326. </tbody>
  1327. </table>
  1328. <h5 class="returns">Returns</h5>
  1329. <table class="table table-bordered table-striped table-condensed">
  1330. <thead>
  1331. <tr>
  1332. <th>Type</th>
  1333. <th>Description</th>
  1334. </tr>
  1335. </thead>
  1336. <tbody>
  1337. <tr>
  1338. <td><span class="xref">System.Boolean</span></td>
  1339. <td></td>
  1340. </tr>
  1341. </tbody>
  1342. </table>
  1343. <h5 class="overrides">Overrides</h5>
  1344. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ProcessColdKey_Terminal_Gui_KeyEvent_">View.ProcessColdKey(KeyEvent)</a></div>
  1345. <span class="small pull-right mobile-hide">
  1346. <span class="divider">|</span>
  1347. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Toplevel_ProcessKey_Terminal_Gui_KeyEvent_.md&amp;value=---%0Auid%3A%20Terminal.Gui.Toplevel.ProcessKey(Terminal.Gui.KeyEvent)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1348. </span>
  1349. <span class="small pull-right mobile-hide">
  1350. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Toplevel.cs/#L409">View Source</a>
  1351. </span>
  1352. <a id="Terminal_Gui_Toplevel_ProcessKey_" data-uid="Terminal.Gui.Toplevel.ProcessKey*"></a>
  1353. <h4 id="Terminal_Gui_Toplevel_ProcessKey_Terminal_Gui_KeyEvent_" data-uid="Terminal.Gui.Toplevel.ProcessKey(Terminal.Gui.KeyEvent)">ProcessKey(KeyEvent)</h4>
  1354. <div class="markdown level1 summary"></div>
  1355. <div class="markdown level1 conceptual"></div>
  1356. <h5 class="decalaration">Declaration</h5>
  1357. <div class="codewrapper">
  1358. <pre><code class="lang-csharp hljs">public override bool ProcessKey(KeyEvent keyEvent)</code></pre>
  1359. </div>
  1360. <h5 class="parameters">Parameters</h5>
  1361. <table class="table table-bordered table-striped table-condensed">
  1362. <thead>
  1363. <tr>
  1364. <th>Type</th>
  1365. <th>Name</th>
  1366. <th>Description</th>
  1367. </tr>
  1368. </thead>
  1369. <tbody>
  1370. <tr>
  1371. <td><a class="xref" href="Terminal.Gui.KeyEvent.html">KeyEvent</a></td>
  1372. <td><span class="parametername">keyEvent</span></td>
  1373. <td></td>
  1374. </tr>
  1375. </tbody>
  1376. </table>
  1377. <h5 class="returns">Returns</h5>
  1378. <table class="table table-bordered table-striped table-condensed">
  1379. <thead>
  1380. <tr>
  1381. <th>Type</th>
  1382. <th>Description</th>
  1383. </tr>
  1384. </thead>
  1385. <tbody>
  1386. <tr>
  1387. <td><span class="xref">System.Boolean</span></td>
  1388. <td></td>
  1389. </tr>
  1390. </tbody>
  1391. </table>
  1392. <h5 class="overrides">Overrides</h5>
  1393. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ProcessKey_Terminal_Gui_KeyEvent_">View.ProcessKey(KeyEvent)</a></div>
  1394. <span class="small pull-right mobile-hide">
  1395. <span class="divider">|</span>
  1396. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Toplevel_Redraw_Terminal_Gui_Rect_.md&amp;value=---%0Auid%3A%20Terminal.Gui.Toplevel.Redraw(Terminal.Gui.Rect)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1397. </span>
  1398. <span class="small pull-right mobile-hide">
  1399. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Toplevel.cs/#L716">View Source</a>
  1400. </span>
  1401. <a id="Terminal_Gui_Toplevel_Redraw_" data-uid="Terminal.Gui.Toplevel.Redraw*"></a>
  1402. <h4 id="Terminal_Gui_Toplevel_Redraw_Terminal_Gui_Rect_" data-uid="Terminal.Gui.Toplevel.Redraw(Terminal.Gui.Rect)">Redraw(Rect)</h4>
  1403. <div class="markdown level1 summary"></div>
  1404. <div class="markdown level1 conceptual"></div>
  1405. <h5 class="decalaration">Declaration</h5>
  1406. <div class="codewrapper">
  1407. <pre><code class="lang-csharp hljs">public override void Redraw(Rect bounds)</code></pre>
  1408. </div>
  1409. <h5 class="parameters">Parameters</h5>
  1410. <table class="table table-bordered table-striped table-condensed">
  1411. <thead>
  1412. <tr>
  1413. <th>Type</th>
  1414. <th>Name</th>
  1415. <th>Description</th>
  1416. </tr>
  1417. </thead>
  1418. <tbody>
  1419. <tr>
  1420. <td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
  1421. <td><span class="parametername">bounds</span></td>
  1422. <td></td>
  1423. </tr>
  1424. </tbody>
  1425. </table>
  1426. <h5 class="overrides">Overrides</h5>
  1427. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Redraw_Terminal_Gui_Rect_">View.Redraw(Rect)</a></div>
  1428. <span class="small pull-right mobile-hide">
  1429. <span class="divider">|</span>
  1430. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Toplevel_Remove_Terminal_Gui_View_.md&amp;value=---%0Auid%3A%20Terminal.Gui.Toplevel.Remove(Terminal.Gui.View)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1431. </span>
  1432. <span class="small pull-right mobile-hide">
  1433. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Toplevel.cs/#L570">View Source</a>
  1434. </span>
  1435. <a id="Terminal_Gui_Toplevel_Remove_" data-uid="Terminal.Gui.Toplevel.Remove*"></a>
  1436. <h4 id="Terminal_Gui_Toplevel_Remove_Terminal_Gui_View_" data-uid="Terminal.Gui.Toplevel.Remove(Terminal.Gui.View)">Remove(View)</h4>
  1437. <div class="markdown level1 summary"></div>
  1438. <div class="markdown level1 conceptual"></div>
  1439. <h5 class="decalaration">Declaration</h5>
  1440. <div class="codewrapper">
  1441. <pre><code class="lang-csharp hljs">public override void Remove(View view)</code></pre>
  1442. </div>
  1443. <h5 class="parameters">Parameters</h5>
  1444. <table class="table table-bordered table-striped table-condensed">
  1445. <thead>
  1446. <tr>
  1447. <th>Type</th>
  1448. <th>Name</th>
  1449. <th>Description</th>
  1450. </tr>
  1451. </thead>
  1452. <tbody>
  1453. <tr>
  1454. <td><a class="xref" href="Terminal.Gui.View.html">View</a></td>
  1455. <td><span class="parametername">view</span></td>
  1456. <td></td>
  1457. </tr>
  1458. </tbody>
  1459. </table>
  1460. <h5 class="overrides">Overrides</h5>
  1461. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Remove_Terminal_Gui_View_">View.Remove(View)</a></div>
  1462. <span class="small pull-right mobile-hide">
  1463. <span class="divider">|</span>
  1464. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Toplevel_RemoveAll.md&amp;value=---%0Auid%3A%20Terminal.Gui.Toplevel.RemoveAll%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1465. </span>
  1466. <span class="small pull-right mobile-hide">
  1467. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Toplevel.cs/#L579">View Source</a>
  1468. </span>
  1469. <a id="Terminal_Gui_Toplevel_RemoveAll_" data-uid="Terminal.Gui.Toplevel.RemoveAll*"></a>
  1470. <h4 id="Terminal_Gui_Toplevel_RemoveAll" data-uid="Terminal.Gui.Toplevel.RemoveAll">RemoveAll()</h4>
  1471. <div class="markdown level1 summary"></div>
  1472. <div class="markdown level1 conceptual"></div>
  1473. <h5 class="decalaration">Declaration</h5>
  1474. <div class="codewrapper">
  1475. <pre><code class="lang-csharp hljs">public override void RemoveAll()</code></pre>
  1476. </div>
  1477. <h5 class="overrides">Overrides</h5>
  1478. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_RemoveAll">View.RemoveAll()</a></div>
  1479. <span class="small pull-right mobile-hide">
  1480. <span class="divider">|</span>
  1481. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Toplevel_RequestStop.md&amp;value=---%0Auid%3A%20Terminal.Gui.Toplevel.RequestStop%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1482. </span>
  1483. <span class="small pull-right mobile-hide">
  1484. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Toplevel.cs/#L870">View Source</a>
  1485. </span>
  1486. <a id="Terminal_Gui_Toplevel_RequestStop_" data-uid="Terminal.Gui.Toplevel.RequestStop*"></a>
  1487. <h4 id="Terminal_Gui_Toplevel_RequestStop" data-uid="Terminal.Gui.Toplevel.RequestStop">RequestStop()</h4>
  1488. <div class="markdown level1 summary">
  1489. Stops and closes this <a class="xref" href="Terminal.Gui.Toplevel.html">Toplevel</a>. If this Toplevel is the top-most Toplevel,
  1490. <a class="xref" href="Terminal.Gui.Application.html#Terminal_Gui_Application_RequestStop_Terminal_Gui_Toplevel_">RequestStop(Toplevel)</a> will be called, causing the application to exit.
  1491. </div>
  1492. <div class="markdown level1 conceptual"></div>
  1493. <h5 class="decalaration">Declaration</h5>
  1494. <div class="codewrapper">
  1495. <pre><code class="lang-csharp hljs">public virtual void RequestStop()</code></pre>
  1496. </div>
  1497. <span class="small pull-right mobile-hide">
  1498. <span class="divider">|</span>
  1499. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Toplevel_RequestStop_Terminal_Gui_Toplevel_.md&amp;value=---%0Auid%3A%20Terminal.Gui.Toplevel.RequestStop(Terminal.Gui.Toplevel)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1500. </span>
  1501. <span class="small pull-right mobile-hide">
  1502. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Toplevel.cs/#L910">View Source</a>
  1503. </span>
  1504. <a id="Terminal_Gui_Toplevel_RequestStop_" data-uid="Terminal.Gui.Toplevel.RequestStop*"></a>
  1505. <h4 id="Terminal_Gui_Toplevel_RequestStop_Terminal_Gui_Toplevel_" data-uid="Terminal.Gui.Toplevel.RequestStop(Terminal.Gui.Toplevel)">RequestStop(Toplevel)</h4>
  1506. <div class="markdown level1 summary">
  1507. Stops and closes the <a class="xref" href="Terminal.Gui.Toplevel.html">Toplevel</a> specified by <code data-dev-comment-type="paramref" class="paramref">top</code>. If <code data-dev-comment-type="paramref" class="paramref">top</code> is the top-most Toplevel,
  1508. <a class="xref" href="Terminal.Gui.Application.html#Terminal_Gui_Application_RequestStop_Terminal_Gui_Toplevel_">RequestStop(Toplevel)</a> will be called, causing the application to exit.
  1509. </div>
  1510. <div class="markdown level1 conceptual"></div>
  1511. <h5 class="decalaration">Declaration</h5>
  1512. <div class="codewrapper">
  1513. <pre><code class="lang-csharp hljs">public virtual void RequestStop(Toplevel top)</code></pre>
  1514. </div>
  1515. <h5 class="parameters">Parameters</h5>
  1516. <table class="table table-bordered table-striped table-condensed">
  1517. <thead>
  1518. <tr>
  1519. <th>Type</th>
  1520. <th>Name</th>
  1521. <th>Description</th>
  1522. </tr>
  1523. </thead>
  1524. <tbody>
  1525. <tr>
  1526. <td><a class="xref" href="Terminal.Gui.Toplevel.html">Toplevel</a></td>
  1527. <td><span class="parametername">top</span></td>
  1528. <td>The toplevel to request stop.</td>
  1529. </tr>
  1530. </tbody>
  1531. </table>
  1532. <span class="small pull-right mobile-hide">
  1533. <span class="divider">|</span>
  1534. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Toplevel_ShowChild_Terminal_Gui_Toplevel_.md&amp;value=---%0Auid%3A%20Terminal.Gui.Toplevel.ShowChild(Terminal.Gui.Toplevel)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1535. </span>
  1536. <span class="small pull-right mobile-hide">
  1537. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Toplevel.cs/#L964">View Source</a>
  1538. </span>
  1539. <a id="Terminal_Gui_Toplevel_ShowChild_" data-uid="Terminal.Gui.Toplevel.ShowChild*"></a>
  1540. <h4 id="Terminal_Gui_Toplevel_ShowChild_Terminal_Gui_Toplevel_" data-uid="Terminal.Gui.Toplevel.ShowChild(Terminal.Gui.Toplevel)">ShowChild(Toplevel)</h4>
  1541. <div class="markdown level1 summary">
  1542. Shows the Mdi child indicated by <code data-dev-comment-type="paramref" class="paramref">top</code>, setting it as <a class="xref" href="Terminal.Gui.Application.html#Terminal_Gui_Application_Current">Current</a>.
  1543. </div>
  1544. <div class="markdown level1 conceptual"></div>
  1545. <h5 class="decalaration">Declaration</h5>
  1546. <div class="codewrapper">
  1547. <pre><code class="lang-csharp hljs">public virtual bool ShowChild(Toplevel top = null)</code></pre>
  1548. </div>
  1549. <h5 class="parameters">Parameters</h5>
  1550. <table class="table table-bordered table-striped table-condensed">
  1551. <thead>
  1552. <tr>
  1553. <th>Type</th>
  1554. <th>Name</th>
  1555. <th>Description</th>
  1556. </tr>
  1557. </thead>
  1558. <tbody>
  1559. <tr>
  1560. <td><a class="xref" href="Terminal.Gui.Toplevel.html">Toplevel</a></td>
  1561. <td><span class="parametername">top</span></td>
  1562. <td>The Toplevel.</td>
  1563. </tr>
  1564. </tbody>
  1565. </table>
  1566. <h5 class="returns">Returns</h5>
  1567. <table class="table table-bordered table-striped table-condensed">
  1568. <thead>
  1569. <tr>
  1570. <th>Type</th>
  1571. <th>Description</th>
  1572. </tr>
  1573. </thead>
  1574. <tbody>
  1575. <tr>
  1576. <td><span class="xref">System.Boolean</span></td>
  1577. <td><code>true</code> if the toplevel can be shown or <code>false</code> if not.</td>
  1578. </tr>
  1579. </tbody>
  1580. </table>
  1581. <span class="small pull-right mobile-hide">
  1582. <span class="divider">|</span>
  1583. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Toplevel_WillPresent.md&amp;value=---%0Auid%3A%20Terminal.Gui.Toplevel.WillPresent%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1584. </span>
  1585. <span class="small pull-right mobile-hide">
  1586. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Toplevel.cs/#L845">View Source</a>
  1587. </span>
  1588. <a id="Terminal_Gui_Toplevel_WillPresent_" data-uid="Terminal.Gui.Toplevel.WillPresent*"></a>
  1589. <h4 id="Terminal_Gui_Toplevel_WillPresent" data-uid="Terminal.Gui.Toplevel.WillPresent">WillPresent()</h4>
  1590. <div class="markdown level1 summary">
  1591. Invoked by <a class="xref" href="Terminal.Gui.Application.html#Terminal_Gui_Application_Begin_Terminal_Gui_Toplevel_">Begin(Toplevel)</a> as part of <a class="xref" href="Terminal.Gui.Application.html#Terminal_Gui_Application_Run_Terminal_Gui_Toplevel_System_Func_System_Exception_System_Boolean__">Run(Toplevel, Func&lt;Exception, Boolean&gt;)</a>
  1592. after the views have been laid out, and before the views are drawn for the first time.
  1593. </div>
  1594. <div class="markdown level1 conceptual"></div>
  1595. <h5 class="decalaration">Declaration</h5>
  1596. <div class="codewrapper">
  1597. <pre><code class="lang-csharp hljs">public virtual void WillPresent()</code></pre>
  1598. </div>
  1599. <h3 id="events">Events
  1600. </h3>
  1601. <span class="small pull-right mobile-hide">
  1602. <span class="divider">|</span>
  1603. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Toplevel_Activate.md&amp;value=---%0Auid%3A%20Terminal.Gui.Toplevel.Activate%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1604. </span>
  1605. <span class="small pull-right mobile-hide">
  1606. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Toplevel.cs/#L71">View Source</a>
  1607. </span>
  1608. <h4 id="Terminal_Gui_Toplevel_Activate" data-uid="Terminal.Gui.Toplevel.Activate">Activate</h4>
  1609. <div class="markdown level1 summary">
  1610. Invoked when the Toplevel <a class="xref" href="Terminal.Gui.Application.RunState.html">Application.RunState</a> becomes the <a class="xref" href="Terminal.Gui.Application.html#Terminal_Gui_Application_Current">Current</a> Toplevel.
  1611. </div>
  1612. <div class="markdown level1 conceptual"></div>
  1613. <h5 class="decalaration">Declaration</h5>
  1614. <div class="codewrapper">
  1615. <pre><code class="lang-csharp hljs">public event Action&lt;Toplevel&gt; Activate</code></pre>
  1616. </div>
  1617. <h5 class="eventType">Event Type</h5>
  1618. <table class="table table-bordered table-striped table-condensed">
  1619. <thead>
  1620. <tr>
  1621. <th>Type</th>
  1622. <th>Description</th>
  1623. </tr>
  1624. </thead>
  1625. <tbody>
  1626. <tr>
  1627. <td><span class="xref">System.Action</span>&lt;<a class="xref" href="Terminal.Gui.Toplevel.html">Toplevel</a>&gt;</td>
  1628. <td></td>
  1629. </tr>
  1630. </tbody>
  1631. </table>
  1632. <span class="small pull-right mobile-hide">
  1633. <span class="divider">|</span>
  1634. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Toplevel_AllChildClosed.md&amp;value=---%0Auid%3A%20Terminal.Gui.Toplevel.AllChildClosed%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1635. </span>
  1636. <span class="small pull-right mobile-hide">
  1637. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Toplevel.cs/#L88">View Source</a>
  1638. </span>
  1639. <h4 id="Terminal_Gui_Toplevel_AllChildClosed" data-uid="Terminal.Gui.Toplevel.AllChildClosed">AllChildClosed</h4>
  1640. <div class="markdown level1 summary">
  1641. Invoked when the last child of the Toplevel <a class="xref" href="Terminal.Gui.Application.RunState.html">Application.RunState</a> is closed from
  1642. by <span class="xref">Terminal.Gui.Application.End(Terminal.Gui.View)</span>.
  1643. </div>
  1644. <div class="markdown level1 conceptual"></div>
  1645. <h5 class="decalaration">Declaration</h5>
  1646. <div class="codewrapper">
  1647. <pre><code class="lang-csharp hljs">public event Action AllChildClosed</code></pre>
  1648. </div>
  1649. <h5 class="eventType">Event Type</h5>
  1650. <table class="table table-bordered table-striped table-condensed">
  1651. <thead>
  1652. <tr>
  1653. <th>Type</th>
  1654. <th>Description</th>
  1655. </tr>
  1656. </thead>
  1657. <tbody>
  1658. <tr>
  1659. <td><span class="xref">System.Action</span></td>
  1660. <td></td>
  1661. </tr>
  1662. </tbody>
  1663. </table>
  1664. <span class="small pull-right mobile-hide">
  1665. <span class="divider">|</span>
  1666. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Toplevel_AlternateBackwardKeyChanged.md&amp;value=---%0Auid%3A%20Terminal.Gui.Toplevel.AlternateBackwardKeyChanged%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1667. </span>
  1668. <span class="small pull-right mobile-hide">
  1669. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Toplevel.cs/#L276">View Source</a>
  1670. </span>
  1671. <h4 id="Terminal_Gui_Toplevel_AlternateBackwardKeyChanged" data-uid="Terminal.Gui.Toplevel.AlternateBackwardKeyChanged">AlternateBackwardKeyChanged</h4>
  1672. <div class="markdown level1 summary">
  1673. Invoked when the <a class="xref" href="Terminal.Gui.Application.html#Terminal_Gui_Application_AlternateBackwardKey">AlternateBackwardKey</a> is changed.
  1674. </div>
  1675. <div class="markdown level1 conceptual"></div>
  1676. <h5 class="decalaration">Declaration</h5>
  1677. <div class="codewrapper">
  1678. <pre><code class="lang-csharp hljs">public event Action&lt;Key&gt; AlternateBackwardKeyChanged</code></pre>
  1679. </div>
  1680. <h5 class="eventType">Event Type</h5>
  1681. <table class="table table-bordered table-striped table-condensed">
  1682. <thead>
  1683. <tr>
  1684. <th>Type</th>
  1685. <th>Description</th>
  1686. </tr>
  1687. </thead>
  1688. <tbody>
  1689. <tr>
  1690. <td><span class="xref">System.Action</span>&lt;<a class="xref" href="Terminal.Gui.Key.html">Key</a>&gt;</td>
  1691. <td></td>
  1692. </tr>
  1693. </tbody>
  1694. </table>
  1695. <span class="small pull-right mobile-hide">
  1696. <span class="divider">|</span>
  1697. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Toplevel_AlternateForwardKeyChanged.md&amp;value=---%0Auid%3A%20Terminal.Gui.Toplevel.AlternateForwardKeyChanged%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1698. </span>
  1699. <span class="small pull-right mobile-hide">
  1700. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Toplevel.cs/#L261">View Source</a>
  1701. </span>
  1702. <h4 id="Terminal_Gui_Toplevel_AlternateForwardKeyChanged" data-uid="Terminal.Gui.Toplevel.AlternateForwardKeyChanged">AlternateForwardKeyChanged</h4>
  1703. <div class="markdown level1 summary">
  1704. Invoked when the <a class="xref" href="Terminal.Gui.Application.html#Terminal_Gui_Application_AlternateForwardKey">AlternateForwardKey</a> is changed.
  1705. </div>
  1706. <div class="markdown level1 conceptual"></div>
  1707. <h5 class="decalaration">Declaration</h5>
  1708. <div class="codewrapper">
  1709. <pre><code class="lang-csharp hljs">public event Action&lt;Key&gt; AlternateForwardKeyChanged</code></pre>
  1710. </div>
  1711. <h5 class="eventType">Event Type</h5>
  1712. <table class="table table-bordered table-striped table-condensed">
  1713. <thead>
  1714. <tr>
  1715. <th>Type</th>
  1716. <th>Description</th>
  1717. </tr>
  1718. </thead>
  1719. <tbody>
  1720. <tr>
  1721. <td><span class="xref">System.Action</span>&lt;<a class="xref" href="Terminal.Gui.Key.html">Key</a>&gt;</td>
  1722. <td></td>
  1723. </tr>
  1724. </tbody>
  1725. </table>
  1726. <span class="small pull-right mobile-hide">
  1727. <span class="divider">|</span>
  1728. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Toplevel_ChildClosed.md&amp;value=---%0Auid%3A%20Terminal.Gui.Toplevel.ChildClosed%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1729. </span>
  1730. <span class="small pull-right mobile-hide">
  1731. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Toplevel.cs/#L82">View Source</a>
  1732. </span>
  1733. <h4 id="Terminal_Gui_Toplevel_ChildClosed" data-uid="Terminal.Gui.Toplevel.ChildClosed">ChildClosed</h4>
  1734. <div class="markdown level1 summary">
  1735. Invoked when a child of the Toplevel <a class="xref" href="Terminal.Gui.Application.RunState.html">Application.RunState</a> is closed by
  1736. <span class="xref">Terminal.Gui.Application.End(Terminal.Gui.View)</span>.
  1737. </div>
  1738. <div class="markdown level1 conceptual"></div>
  1739. <h5 class="decalaration">Declaration</h5>
  1740. <div class="codewrapper">
  1741. <pre><code class="lang-csharp hljs">public event Action&lt;Toplevel&gt; ChildClosed</code></pre>
  1742. </div>
  1743. <h5 class="eventType">Event Type</h5>
  1744. <table class="table table-bordered table-striped table-condensed">
  1745. <thead>
  1746. <tr>
  1747. <th>Type</th>
  1748. <th>Description</th>
  1749. </tr>
  1750. </thead>
  1751. <tbody>
  1752. <tr>
  1753. <td><span class="xref">System.Action</span>&lt;<a class="xref" href="Terminal.Gui.Toplevel.html">Toplevel</a>&gt;</td>
  1754. <td></td>
  1755. </tr>
  1756. </tbody>
  1757. </table>
  1758. <span class="small pull-right mobile-hide">
  1759. <span class="divider">|</span>
  1760. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Toplevel_ChildLoaded.md&amp;value=---%0Auid%3A%20Terminal.Gui.Toplevel.ChildLoaded%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1761. </span>
  1762. <span class="small pull-right mobile-hide">
  1763. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Toplevel.cs/#L104">View Source</a>
  1764. </span>
  1765. <h4 id="Terminal_Gui_Toplevel_ChildLoaded" data-uid="Terminal.Gui.Toplevel.ChildLoaded">ChildLoaded</h4>
  1766. <div class="markdown level1 summary">
  1767. Invoked when a child Toplevel&apos;s <a class="xref" href="Terminal.Gui.Application.RunState.html">Application.RunState</a> has been loaded.
  1768. </div>
  1769. <div class="markdown level1 conceptual"></div>
  1770. <h5 class="decalaration">Declaration</h5>
  1771. <div class="codewrapper">
  1772. <pre><code class="lang-csharp hljs">public event Action&lt;Toplevel&gt; ChildLoaded</code></pre>
  1773. </div>
  1774. <h5 class="eventType">Event Type</h5>
  1775. <table class="table table-bordered table-striped table-condensed">
  1776. <thead>
  1777. <tr>
  1778. <th>Type</th>
  1779. <th>Description</th>
  1780. </tr>
  1781. </thead>
  1782. <tbody>
  1783. <tr>
  1784. <td><span class="xref">System.Action</span>&lt;<a class="xref" href="Terminal.Gui.Toplevel.html">Toplevel</a>&gt;</td>
  1785. <td></td>
  1786. </tr>
  1787. </tbody>
  1788. </table>
  1789. <span class="small pull-right mobile-hide">
  1790. <span class="divider">|</span>
  1791. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Toplevel_ChildUnloaded.md&amp;value=---%0Auid%3A%20Terminal.Gui.Toplevel.ChildUnloaded%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1792. </span>
  1793. <span class="small pull-right mobile-hide">
  1794. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Toplevel.cs/#L109">View Source</a>
  1795. </span>
  1796. <h4 id="Terminal_Gui_Toplevel_ChildUnloaded" data-uid="Terminal.Gui.Toplevel.ChildUnloaded">ChildUnloaded</h4>
  1797. <div class="markdown level1 summary">
  1798. Invoked when a cjhild Toplevel&apos;s <a class="xref" href="Terminal.Gui.Application.RunState.html">Application.RunState</a> has been unloaded.
  1799. </div>
  1800. <div class="markdown level1 conceptual"></div>
  1801. <h5 class="decalaration">Declaration</h5>
  1802. <div class="codewrapper">
  1803. <pre><code class="lang-csharp hljs">public event Action&lt;Toplevel&gt; ChildUnloaded</code></pre>
  1804. </div>
  1805. <h5 class="eventType">Event Type</h5>
  1806. <table class="table table-bordered table-striped table-condensed">
  1807. <thead>
  1808. <tr>
  1809. <th>Type</th>
  1810. <th>Description</th>
  1811. </tr>
  1812. </thead>
  1813. <tbody>
  1814. <tr>
  1815. <td><span class="xref">System.Action</span>&lt;<a class="xref" href="Terminal.Gui.Toplevel.html">Toplevel</a>&gt;</td>
  1816. <td></td>
  1817. </tr>
  1818. </tbody>
  1819. </table>
  1820. <span class="small pull-right mobile-hide">
  1821. <span class="divider">|</span>
  1822. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Toplevel_Closed.md&amp;value=---%0Auid%3A%20Terminal.Gui.Toplevel.Closed%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1823. </span>
  1824. <span class="small pull-right mobile-hide">
  1825. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Toplevel.cs/#L99">View Source</a>
  1826. </span>
  1827. <h4 id="Terminal_Gui_Toplevel_Closed" data-uid="Terminal.Gui.Toplevel.Closed">Closed</h4>
  1828. <div class="markdown level1 summary">
  1829. Invoked when the Toplevel&apos;s <a class="xref" href="Terminal.Gui.Application.RunState.html">Application.RunState</a> is closed by <span class="xref">Terminal.Gui.Application.End(Terminal.Gui.View)</span>.
  1830. </div>
  1831. <div class="markdown level1 conceptual"></div>
  1832. <h5 class="decalaration">Declaration</h5>
  1833. <div class="codewrapper">
  1834. <pre><code class="lang-csharp hljs">public event Action&lt;Toplevel&gt; Closed</code></pre>
  1835. </div>
  1836. <h5 class="eventType">Event Type</h5>
  1837. <table class="table table-bordered table-striped table-condensed">
  1838. <thead>
  1839. <tr>
  1840. <th>Type</th>
  1841. <th>Description</th>
  1842. </tr>
  1843. </thead>
  1844. <tbody>
  1845. <tr>
  1846. <td><span class="xref">System.Action</span>&lt;<a class="xref" href="Terminal.Gui.Toplevel.html">Toplevel</a>&gt;</td>
  1847. <td></td>
  1848. </tr>
  1849. </tbody>
  1850. </table>
  1851. <span class="small pull-right mobile-hide">
  1852. <span class="divider">|</span>
  1853. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Toplevel_Closing.md&amp;value=---%0Auid%3A%20Terminal.Gui.Toplevel.Closing%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1854. </span>
  1855. <span class="small pull-right mobile-hide">
  1856. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Toplevel.cs/#L94">View Source</a>
  1857. </span>
  1858. <h4 id="Terminal_Gui_Toplevel_Closing" data-uid="Terminal.Gui.Toplevel.Closing">Closing</h4>
  1859. <div class="markdown level1 summary">
  1860. Invoked when the Toplevel&apos;s <a class="xref" href="Terminal.Gui.Application.RunState.html">Application.RunState</a> is being closed by
  1861. <a class="xref" href="Terminal.Gui.Application.html#Terminal_Gui_Application_RequestStop_Terminal_Gui_Toplevel_">RequestStop(Toplevel)</a>.
  1862. </div>
  1863. <div class="markdown level1 conceptual"></div>
  1864. <h5 class="decalaration">Declaration</h5>
  1865. <div class="codewrapper">
  1866. <pre><code class="lang-csharp hljs">public event Action&lt;ToplevelClosingEventArgs&gt; Closing</code></pre>
  1867. </div>
  1868. <h5 class="eventType">Event Type</h5>
  1869. <table class="table table-bordered table-striped table-condensed">
  1870. <thead>
  1871. <tr>
  1872. <th>Type</th>
  1873. <th>Description</th>
  1874. </tr>
  1875. </thead>
  1876. <tbody>
  1877. <tr>
  1878. <td><span class="xref">System.Action</span>&lt;<a class="xref" href="Terminal.Gui.ToplevelClosingEventArgs.html">ToplevelClosingEventArgs</a>&gt;</td>
  1879. <td></td>
  1880. </tr>
  1881. </tbody>
  1882. </table>
  1883. <span class="small pull-right mobile-hide">
  1884. <span class="divider">|</span>
  1885. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Toplevel_Deactivate.md&amp;value=---%0Auid%3A%20Terminal.Gui.Toplevel.Deactivate%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1886. </span>
  1887. <span class="small pull-right mobile-hide">
  1888. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Toplevel.cs/#L76">View Source</a>
  1889. </span>
  1890. <h4 id="Terminal_Gui_Toplevel_Deactivate" data-uid="Terminal.Gui.Toplevel.Deactivate">Deactivate</h4>
  1891. <div class="markdown level1 summary">
  1892. Invoked when the Toplevel<a class="xref" href="Terminal.Gui.Application.RunState.html">Application.RunState</a> ceases to be the <a class="xref" href="Terminal.Gui.Application.html#Terminal_Gui_Application_Current">Current</a> Toplevel.
  1893. </div>
  1894. <div class="markdown level1 conceptual"></div>
  1895. <h5 class="decalaration">Declaration</h5>
  1896. <div class="codewrapper">
  1897. <pre><code class="lang-csharp hljs">public event Action&lt;Toplevel&gt; Deactivate</code></pre>
  1898. </div>
  1899. <h5 class="eventType">Event Type</h5>
  1900. <table class="table table-bordered table-striped table-condensed">
  1901. <thead>
  1902. <tr>
  1903. <th>Type</th>
  1904. <th>Description</th>
  1905. </tr>
  1906. </thead>
  1907. <tbody>
  1908. <tr>
  1909. <td><span class="xref">System.Action</span>&lt;<a class="xref" href="Terminal.Gui.Toplevel.html">Toplevel</a>&gt;</td>
  1910. <td></td>
  1911. </tr>
  1912. </tbody>
  1913. </table>
  1914. <span class="small pull-right mobile-hide">
  1915. <span class="divider">|</span>
  1916. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Toplevel_Loaded.md&amp;value=---%0Auid%3A%20Terminal.Gui.Toplevel.Loaded%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1917. </span>
  1918. <span class="small pull-right mobile-hide">
  1919. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Toplevel.cs/#L51">View Source</a>
  1920. </span>
  1921. <h4 id="Terminal_Gui_Toplevel_Loaded" data-uid="Terminal.Gui.Toplevel.Loaded">Loaded</h4>
  1922. <div class="markdown level1 summary">
  1923. Invoked when the Toplevel <a class="xref" href="Terminal.Gui.Application.RunState.html">Application.RunState</a> has begin loaded.
  1924. A Loaded event handler is a good place to finalize initialization before calling
  1925. <a class="xref" href="Terminal.Gui.Application.html#Terminal_Gui_Application_RunLoop_Terminal_Gui_Application_RunState_System_Boolean_">RunLoop(Application.RunState, Boolean)</a>.
  1926. </div>
  1927. <div class="markdown level1 conceptual"></div>
  1928. <h5 class="decalaration">Declaration</h5>
  1929. <div class="codewrapper">
  1930. <pre><code class="lang-csharp hljs">public event Action Loaded</code></pre>
  1931. </div>
  1932. <h5 class="eventType">Event Type</h5>
  1933. <table class="table table-bordered table-striped table-condensed">
  1934. <thead>
  1935. <tr>
  1936. <th>Type</th>
  1937. <th>Description</th>
  1938. </tr>
  1939. </thead>
  1940. <tbody>
  1941. <tr>
  1942. <td><span class="xref">System.Action</span></td>
  1943. <td></td>
  1944. </tr>
  1945. </tbody>
  1946. </table>
  1947. <span class="small pull-right mobile-hide">
  1948. <span class="divider">|</span>
  1949. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Toplevel_QuitKeyChanged.md&amp;value=---%0Auid%3A%20Terminal.Gui.Toplevel.QuitKeyChanged%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1950. </span>
  1951. <span class="small pull-right mobile-hide">
  1952. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Toplevel.cs/#L291">View Source</a>
  1953. </span>
  1954. <h4 id="Terminal_Gui_Toplevel_QuitKeyChanged" data-uid="Terminal.Gui.Toplevel.QuitKeyChanged">QuitKeyChanged</h4>
  1955. <div class="markdown level1 summary">
  1956. Invoked when the <a class="xref" href="Terminal.Gui.Application.html#Terminal_Gui_Application_QuitKey">QuitKey</a> is changed.
  1957. </div>
  1958. <div class="markdown level1 conceptual"></div>
  1959. <h5 class="decalaration">Declaration</h5>
  1960. <div class="codewrapper">
  1961. <pre><code class="lang-csharp hljs">public event Action&lt;Key&gt; QuitKeyChanged</code></pre>
  1962. </div>
  1963. <h5 class="eventType">Event Type</h5>
  1964. <table class="table table-bordered table-striped table-condensed">
  1965. <thead>
  1966. <tr>
  1967. <th>Type</th>
  1968. <th>Description</th>
  1969. </tr>
  1970. </thead>
  1971. <tbody>
  1972. <tr>
  1973. <td><span class="xref">System.Action</span>&lt;<a class="xref" href="Terminal.Gui.Key.html">Key</a>&gt;</td>
  1974. <td></td>
  1975. </tr>
  1976. </tbody>
  1977. </table>
  1978. <span class="small pull-right mobile-hide">
  1979. <span class="divider">|</span>
  1980. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Toplevel_Ready.md&amp;value=---%0Auid%3A%20Terminal.Gui.Toplevel.Ready%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1981. </span>
  1982. <span class="small pull-right mobile-hide">
  1983. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Toplevel.cs/#L60">View Source</a>
  1984. </span>
  1985. <h4 id="Terminal_Gui_Toplevel_Ready" data-uid="Terminal.Gui.Toplevel.Ready">Ready</h4>
  1986. <div class="markdown level1 summary">
  1987. Invoked when the Toplevel <a class="xref" href="Terminal.Gui.MainLoop.html">MainLoop</a> has started it&apos;s first iteration.
  1988. Subscribe to this event to perform tasks when the <a class="xref" href="Terminal.Gui.Toplevel.html">Toplevel</a> has been laid out and focus has been set.
  1989. changes.
  1990. <p>A Ready event handler is a good place to finalize initialization after calling
  1991. <a class="xref" href="Terminal.Gui.Application.html#Terminal_Gui_Application_Run_System_Func_System_Exception_System_Boolean__">Run(Func&lt;Exception, Boolean&gt;)</a> on this Toplevel.</p>
  1992. </div>
  1993. <div class="markdown level1 conceptual"></div>
  1994. <h5 class="decalaration">Declaration</h5>
  1995. <div class="codewrapper">
  1996. <pre><code class="lang-csharp hljs">public event Action Ready</code></pre>
  1997. </div>
  1998. <h5 class="eventType">Event Type</h5>
  1999. <table class="table table-bordered table-striped table-condensed">
  2000. <thead>
  2001. <tr>
  2002. <th>Type</th>
  2003. <th>Description</th>
  2004. </tr>
  2005. </thead>
  2006. <tbody>
  2007. <tr>
  2008. <td><span class="xref">System.Action</span></td>
  2009. <td></td>
  2010. </tr>
  2011. </tbody>
  2012. </table>
  2013. <span class="small pull-right mobile-hide">
  2014. <span class="divider">|</span>
  2015. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Toplevel_Resized.md&amp;value=---%0Auid%3A%20Terminal.Gui.Toplevel.Resized%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  2016. </span>
  2017. <span class="small pull-right mobile-hide">
  2018. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Toplevel.cs/#L114">View Source</a>
  2019. </span>
  2020. <h4 id="Terminal_Gui_Toplevel_Resized" data-uid="Terminal.Gui.Toplevel.Resized">Resized</h4>
  2021. <div class="markdown level1 summary">
  2022. Invoked when the terminal has been resized. The new <a class="xref" href="Terminal.Gui.Size.html">Size</a> of the terminal is provided.
  2023. </div>
  2024. <div class="markdown level1 conceptual"></div>
  2025. <h5 class="decalaration">Declaration</h5>
  2026. <div class="codewrapper">
  2027. <pre><code class="lang-csharp hljs">public event Action&lt;Size&gt; Resized</code></pre>
  2028. </div>
  2029. <h5 class="eventType">Event Type</h5>
  2030. <table class="table table-bordered table-striped table-condensed">
  2031. <thead>
  2032. <tr>
  2033. <th>Type</th>
  2034. <th>Description</th>
  2035. </tr>
  2036. </thead>
  2037. <tbody>
  2038. <tr>
  2039. <td><span class="xref">System.Action</span>&lt;<a class="xref" href="Terminal.Gui.Size.html">Size</a>&gt;</td>
  2040. <td></td>
  2041. </tr>
  2042. </tbody>
  2043. </table>
  2044. <span class="small pull-right mobile-hide">
  2045. <span class="divider">|</span>
  2046. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Toplevel_Unloaded.md&amp;value=---%0Auid%3A%20Terminal.Gui.Toplevel.Unloaded%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  2047. </span>
  2048. <span class="small pull-right mobile-hide">
  2049. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Toplevel.cs/#L66">View Source</a>
  2050. </span>
  2051. <h4 id="Terminal_Gui_Toplevel_Unloaded" data-uid="Terminal.Gui.Toplevel.Unloaded">Unloaded</h4>
  2052. <div class="markdown level1 summary">
  2053. Invoked when the Toplevel <a class="xref" href="Terminal.Gui.Application.RunState.html">Application.RunState</a> has been unloaded.
  2054. A Unloaded event handler is a good place to dispose objects after calling <a class="xref" href="Terminal.Gui.Application.html#Terminal_Gui_Application_End_Terminal_Gui_Application_RunState_">End(Application.RunState)</a>.
  2055. </div>
  2056. <div class="markdown level1 conceptual"></div>
  2057. <h5 class="decalaration">Declaration</h5>
  2058. <div class="codewrapper">
  2059. <pre><code class="lang-csharp hljs">public event Action Unloaded</code></pre>
  2060. </div>
  2061. <h5 class="eventType">Event Type</h5>
  2062. <table class="table table-bordered table-striped table-condensed">
  2063. <thead>
  2064. <tr>
  2065. <th>Type</th>
  2066. <th>Description</th>
  2067. </tr>
  2068. </thead>
  2069. <tbody>
  2070. <tr>
  2071. <td><span class="xref">System.Action</span></td>
  2072. <td></td>
  2073. </tr>
  2074. </tbody>
  2075. </table>
  2076. <h3 id="implements">Implements</h3>
  2077. <div>
  2078. <span class="xref">System.IDisposable</span>
  2079. </div>
  2080. <div>
  2081. <span class="xref">System.ComponentModel.ISupportInitializeNotification</span>
  2082. </div>
  2083. <div>
  2084. <span class="xref">System.ComponentModel.ISupportInitialize</span>
  2085. </div>
  2086. </article>
  2087. </div>
  2088. <div class="hidden-sm col-md-2" role="complementary">
  2089. <div class="sideaffix">
  2090. <div class="contribution">
  2091. <ul class="nav">
  2092. <li>
  2093. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Toplevel.md&amp;value=---%0Auid%3A%20Terminal.Gui.Toplevel%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" class="contribution-link">Improve this Doc</a>
  2094. </li>
  2095. <li>
  2096. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Toplevel.cs/#L37" class="contribution-link">View Source</a>
  2097. </li>
  2098. </ul>
  2099. </div>
  2100. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  2101. <h5>In This Article</h5>
  2102. <div></div>
  2103. </nav>
  2104. </div>
  2105. </div>
  2106. </div>
  2107. </div>
  2108. <footer>
  2109. <div class="grad-bottom"></div>
  2110. <div class="footer">
  2111. <div class="container">
  2112. <span class="pull-right">
  2113. <a href="#top">Back to top</a>
  2114. </span>
  2115. <span>Generated by <strong>DocFX</strong></span>
  2116. </div>
  2117. </div>
  2118. </footer>
  2119. </div>
  2120. <script type="text/javascript" src="../../styles/docfx.vendor.js"></script>
  2121. <script type="text/javascript" src="../../styles/docfx.js"></script>
  2122. <script type="text/javascript" src="../../styles/main.js"></script>
  2123. </body>
  2124. </html>