Terminal.Gui.MenuBar.html 75 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637
  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 MenuBar
  8. </title>
  9. <meta name="viewport" content="width=device-width">
  10. <meta name="title" content="Class MenuBar
  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.MenuBar">
  74. <h1 id="Terminal_Gui_MenuBar" data-uid="Terminal.Gui.MenuBar" class="text-break">Class MenuBar
  75. </h1>
  76. <div class="markdown level0 summary">
  77. Provides a menu bar with drop-down and cascading menus.
  78. </div>
  79. <div class="markdown level0 conceptual"></div>
  80. <div class="inheritance">
  81. <h5>Inheritance</h5>
  82. <div class="level0"><span class="xref">System.Object</span></div>
  83. <div class="level1"><a class="xref" href="Terminal.Gui.Responder.html">Responder</a></div>
  84. <div class="level2"><a class="xref" href="Terminal.Gui.View.html">View</a></div>
  85. <div class="level3"><span class="xref">MenuBar</span></div>
  86. </div>
  87. <div class="implements">
  88. <h5>Implements</h5>
  89. <div><span class="xref">System.IDisposable</span></div>
  90. <div><span class="xref">System.ComponentModel.ISupportInitializeNotification</span></div>
  91. <div><span class="xref">System.ComponentModel.ISupportInitialize</span></div>
  92. </div>
  93. <h5 id="Terminal_Gui_MenuBar_remarks"><strong>Remarks</strong></h5>
  94. <div class="markdown level0 remarks">
  95. <p>
  96. The <a class="xref" href="Terminal.Gui.MenuBar.html">MenuBar</a> appears on the first row of the terminal.
  97. </p>
  98. <p>
  99. The <a class="xref" href="Terminal.Gui.MenuBar.html">MenuBar</a> provides global hotkeys for the application.
  100. </p>
  101. </div>
  102. <div class="inheritedMembers">
  103. <h5>Inherited Members</h5>
  104. <div>
  105. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Added">View.Added</a>
  106. </div>
  107. <div>
  108. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Removed">View.Removed</a>
  109. </div>
  110. <div>
  111. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Enter">View.Enter</a>
  112. </div>
  113. <div>
  114. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Leave">View.Leave</a>
  115. </div>
  116. <div>
  117. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_MouseEnter">View.MouseEnter</a>
  118. </div>
  119. <div>
  120. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_MouseLeave">View.MouseLeave</a>
  121. </div>
  122. <div>
  123. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_MouseClick">View.MouseClick</a>
  124. </div>
  125. <div>
  126. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_CanFocusChanged">View.CanFocusChanged</a>
  127. </div>
  128. <div>
  129. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_EnabledChanged">View.EnabledChanged</a>
  130. </div>
  131. <div>
  132. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_VisibleChanged">View.VisibleChanged</a>
  133. </div>
  134. <div>
  135. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_HotKeyChanged">View.HotKeyChanged</a>
  136. </div>
  137. <div>
  138. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_HotKey">View.HotKey</a>
  139. </div>
  140. <div>
  141. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Shortcut">View.Shortcut</a>
  142. </div>
  143. <div>
  144. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ShortcutTag">View.ShortcutTag</a>
  145. </div>
  146. <div>
  147. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ShortcutAction">View.ShortcutAction</a>
  148. </div>
  149. <div>
  150. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Data">View.Data</a>
  151. </div>
  152. <div>
  153. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Driver">View.Driver</a>
  154. </div>
  155. <div>
  156. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Subviews">View.Subviews</a>
  157. </div>
  158. <div>
  159. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TabIndexes">View.TabIndexes</a>
  160. </div>
  161. <div>
  162. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TabIndex">View.TabIndex</a>
  163. </div>
  164. <div>
  165. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TabStop">View.TabStop</a>
  166. </div>
  167. <div>
  168. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_CanFocus">View.CanFocus</a>
  169. </div>
  170. <div>
  171. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Id">View.Id</a>
  172. </div>
  173. <div>
  174. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_IsCurrentTop">View.IsCurrentTop</a>
  175. </div>
  176. <div>
  177. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_WantMousePositionReports">View.WantMousePositionReports</a>
  178. </div>
  179. <div>
  180. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_WantContinuousButtonPressed">View.WantContinuousButtonPressed</a>
  181. </div>
  182. <div>
  183. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Frame">View.Frame</a>
  184. </div>
  185. <div>
  186. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutStyle">View.LayoutStyle</a>
  187. </div>
  188. <div>
  189. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Bounds">View.Bounds</a>
  190. </div>
  191. <div>
  192. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_X">View.X</a>
  193. </div>
  194. <div>
  195. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Y">View.Y</a>
  196. </div>
  197. <div>
  198. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Width">View.Width</a>
  199. </div>
  200. <div>
  201. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Height">View.Height</a>
  202. </div>
  203. <div>
  204. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ForceValidatePosDim">View.ForceValidatePosDim</a>
  205. </div>
  206. <div>
  207. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetMinWidthHeight_Terminal_Gui_Size__">View.GetMinWidthHeight(Size)</a>
  208. </div>
  209. <div>
  210. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetMinWidthHeight">View.SetMinWidthHeight()</a>
  211. </div>
  212. <div>
  213. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TextFormatter">View.TextFormatter</a>
  214. </div>
  215. <div>
  216. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SuperView">View.SuperView</a>
  217. </div>
  218. <div>
  219. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_UpdateTextFormatterText">View.UpdateTextFormatterText()</a>
  220. </div>
  221. <div>
  222. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ProcessResizeView">View.ProcessResizeView()</a>
  223. </div>
  224. <div>
  225. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetNeedsDisplay">View.SetNeedsDisplay()</a>
  226. </div>
  227. <div>
  228. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearLayoutNeeded">View.ClearLayoutNeeded()</a>
  229. </div>
  230. <div>
  231. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetNeedsDisplay_Terminal_Gui_Rect_">View.SetNeedsDisplay(Rect)</a>
  232. </div>
  233. <div>
  234. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetChildNeedsDisplay">View.SetChildNeedsDisplay()</a>
  235. </div>
  236. <div>
  237. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Add_Terminal_Gui_View_">View.Add(View)</a>
  238. </div>
  239. <div>
  240. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Add_Terminal_Gui_View___">View.Add(View[])</a>
  241. </div>
  242. <div>
  243. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_RemoveAll">View.RemoveAll()</a>
  244. </div>
  245. <div>
  246. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Remove_Terminal_Gui_View_">View.Remove(View)</a>
  247. </div>
  248. <div>
  249. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_BringSubviewToFront_Terminal_Gui_View_">View.BringSubviewToFront(View)</a>
  250. </div>
  251. <div>
  252. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SendSubviewToBack_Terminal_Gui_View_">View.SendSubviewToBack(View)</a>
  253. </div>
  254. <div>
  255. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SendSubviewBackwards_Terminal_Gui_View_">View.SendSubviewBackwards(View)</a>
  256. </div>
  257. <div>
  258. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_BringSubviewForward_Terminal_Gui_View_">View.BringSubviewForward(View)</a>
  259. </div>
  260. <div>
  261. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Clear">View.Clear()</a>
  262. </div>
  263. <div>
  264. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Clear_Terminal_Gui_Rect_">View.Clear(Rect)</a>
  265. </div>
  266. <div>
  267. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ScreenToView_System_Int32_System_Int32_">View.ScreenToView(Int32, Int32)</a>
  268. </div>
  269. <div>
  270. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClipToBounds">View.ClipToBounds()</a>
  271. </div>
  272. <div>
  273. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetClip_Terminal_Gui_Rect_">View.SetClip(Rect)</a>
  274. </div>
  275. <div>
  276. <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>
  277. </div>
  278. <div>
  279. <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>
  280. </div>
  281. <div>
  282. <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>
  283. </div>
  284. <div>
  285. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Move_System_Int32_System_Int32_System_Boolean_">View.Move(Int32, Int32, Boolean)</a>
  286. </div>
  287. <div>
  288. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_HasFocus">View.HasFocus</a>
  289. </div>
  290. <div>
  291. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnAdded_Terminal_Gui_View_">View.OnAdded(View)</a>
  292. </div>
  293. <div>
  294. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnRemoved_Terminal_Gui_View_">View.OnRemoved(View)</a>
  295. </div>
  296. <div>
  297. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Focused">View.Focused</a>
  298. </div>
  299. <div>
  300. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_MostFocused">View.MostFocused</a>
  301. </div>
  302. <div>
  303. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ColorScheme">View.ColorScheme</a>
  304. </div>
  305. <div>
  306. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_AddRune_System_Int32_System_Int32_System_Rune_">View.AddRune(Int32, Int32, Rune)</a>
  307. </div>
  308. <div>
  309. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearNeedsDisplay">View.ClearNeedsDisplay()</a>
  310. </div>
  311. <div>
  312. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_DrawContent">View.DrawContent</a>
  313. </div>
  314. <div>
  315. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnDrawContent_Terminal_Gui_Rect_">View.OnDrawContent(Rect)</a>
  316. </div>
  317. <div>
  318. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_DrawContentComplete">View.DrawContentComplete</a>
  319. </div>
  320. <div>
  321. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnDrawContentComplete_Terminal_Gui_Rect_">View.OnDrawContentComplete(Rect)</a>
  322. </div>
  323. <div>
  324. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetFocus">View.SetFocus()</a>
  325. </div>
  326. <div>
  327. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_KeyPress">View.KeyPress</a>
  328. </div>
  329. <div>
  330. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_InvokeKeybindings_Terminal_Gui_KeyEvent_">View.InvokeKeybindings(KeyEvent)</a>
  331. </div>
  332. <div>
  333. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_AddKeyBinding_Terminal_Gui_Key_Terminal_Gui_Command___">View.AddKeyBinding(Key, Command[])</a>
  334. </div>
  335. <div>
  336. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ReplaceKeyBinding_Terminal_Gui_Key_Terminal_Gui_Key_">View.ReplaceKeyBinding(Key, Key)</a>
  337. </div>
  338. <div>
  339. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ContainsKeyBinding_Terminal_Gui_Key_">View.ContainsKeyBinding(Key)</a>
  340. </div>
  341. <div>
  342. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearKeybindings">View.ClearKeybindings()</a>
  343. </div>
  344. <div>
  345. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearKeybinding_Terminal_Gui_Key_">View.ClearKeybinding(Key)</a>
  346. </div>
  347. <div>
  348. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearKeybinding_Terminal_Gui_Command___">View.ClearKeybinding(Command[])</a>
  349. </div>
  350. <div>
  351. <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>
  352. </div>
  353. <div>
  354. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetSupportedCommands">View.GetSupportedCommands()</a>
  355. </div>
  356. <div>
  357. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetKeyFromCommand_Terminal_Gui_Command___">View.GetKeyFromCommand(Command[])</a>
  358. </div>
  359. <div>
  360. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_KeyDown">View.KeyDown</a>
  361. </div>
  362. <div>
  363. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_KeyUp">View.KeyUp</a>
  364. </div>
  365. <div>
  366. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_EnsureFocus">View.EnsureFocus()</a>
  367. </div>
  368. <div>
  369. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusFirst">View.FocusFirst()</a>
  370. </div>
  371. <div>
  372. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusLast">View.FocusLast()</a>
  373. </div>
  374. <div>
  375. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusPrev">View.FocusPrev()</a>
  376. </div>
  377. <div>
  378. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusNext">View.FocusNext()</a>
  379. </div>
  380. <div>
  381. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutStarted">View.LayoutStarted</a>
  382. </div>
  383. <div>
  384. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutComplete">View.LayoutComplete</a>
  385. </div>
  386. <div>
  387. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Initialized">View.Initialized</a>
  388. </div>
  389. <div>
  390. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutSubviews">View.LayoutSubviews()</a>
  391. </div>
  392. <div>
  393. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Text">View.Text</a>
  394. </div>
  395. <div>
  396. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_AutoSize">View.AutoSize</a>
  397. </div>
  398. <div>
  399. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_PreserveTrailingSpaces">View.PreserveTrailingSpaces</a>
  400. </div>
  401. <div>
  402. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TextAlignment">View.TextAlignment</a>
  403. </div>
  404. <div>
  405. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_VerticalTextAlignment">View.VerticalTextAlignment</a>
  406. </div>
  407. <div>
  408. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TextDirection">View.TextDirection</a>
  409. </div>
  410. <div>
  411. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_IsInitialized">View.IsInitialized</a>
  412. </div>
  413. <div>
  414. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_IsAdded">View.IsAdded</a>
  415. </div>
  416. <div>
  417. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Enabled">View.Enabled</a>
  418. </div>
  419. <div>
  420. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Visible">View.Visible</a>
  421. </div>
  422. <div>
  423. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Border">View.Border</a>
  424. </div>
  425. <div>
  426. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ToString">View.ToString()</a>
  427. </div>
  428. <div>
  429. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetAutoSize">View.GetAutoSize()</a>
  430. </div>
  431. <div>
  432. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetHotKeySpecifierLength_System_Boolean_">View.GetHotKeySpecifierLength(Boolean)</a>
  433. </div>
  434. <div>
  435. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetTextFormatterBoundsSize">View.GetTextFormatterBoundsSize()</a>
  436. </div>
  437. <div>
  438. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetBoundsTextFormatterSize">View.GetBoundsTextFormatterSize()</a>
  439. </div>
  440. <div>
  441. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseEnter_Terminal_Gui_MouseEvent_">View.OnMouseEnter(MouseEvent)</a>
  442. </div>
  443. <div>
  444. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseLeave_Terminal_Gui_MouseEvent_">View.OnMouseLeave(MouseEvent)</a>
  445. </div>
  446. <div>
  447. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseEvent_Terminal_Gui_MouseEvent_">View.OnMouseEvent(MouseEvent)</a>
  448. </div>
  449. <div>
  450. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseClick_Terminal_Gui_View_MouseEventArgs_">View.OnMouseClick(View.MouseEventArgs)</a>
  451. </div>
  452. <div>
  453. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnCanFocusChanged">View.OnCanFocusChanged()</a>
  454. </div>
  455. <div>
  456. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnEnabledChanged">View.OnEnabledChanged()</a>
  457. </div>
  458. <div>
  459. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnVisibleChanged">View.OnVisibleChanged()</a>
  460. </div>
  461. <div>
  462. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Dispose_System_Boolean_">View.Dispose(Boolean)</a>
  463. </div>
  464. <div>
  465. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_BeginInit">View.BeginInit()</a>
  466. </div>
  467. <div>
  468. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_EndInit">View.EndInit()</a>
  469. </div>
  470. <div>
  471. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetWidth_System_Int32_System_Int32__">View.SetWidth(Int32, Int32)</a>
  472. </div>
  473. <div>
  474. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetHeight_System_Int32_System_Int32__">View.SetHeight(Int32, Int32)</a>
  475. </div>
  476. <div>
  477. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetCurrentWidth_System_Int32__">View.GetCurrentWidth(Int32)</a>
  478. </div>
  479. <div>
  480. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetCurrentHeight_System_Int32__">View.GetCurrentHeight(Int32)</a>
  481. </div>
  482. <div>
  483. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetNormalColor">View.GetNormalColor()</a>
  484. </div>
  485. <div>
  486. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetTopSuperView">View.GetTopSuperView()</a>
  487. </div>
  488. <div>
  489. <a class="xref" href="Terminal.Gui.Responder.html#Terminal_Gui_Responder_Dispose">Responder.Dispose()</a>
  490. </div>
  491. <div>
  492. <span class="xref">System.Object.Equals(System.Object)</span>
  493. </div>
  494. <div>
  495. <span class="xref">System.Object.Equals(System.Object, System.Object)</span>
  496. </div>
  497. <div>
  498. <span class="xref">System.Object.GetHashCode()</span>
  499. </div>
  500. <div>
  501. <span class="xref">System.Object.GetType()</span>
  502. </div>
  503. <div>
  504. <span class="xref">System.Object.MemberwiseClone()</span>
  505. </div>
  506. <div>
  507. <span class="xref">System.Object.ReferenceEquals(System.Object, System.Object)</span>
  508. </div>
  509. </div>
  510. <h6><strong>Namespace</strong>: <a class="xref" href="Terminal.Gui.html">Terminal.Gui</a></h6>
  511. <h6><strong>Assembly</strong>: Terminal.Gui.dll</h6>
  512. <h5 id="Terminal_Gui_MenuBar_syntax">Syntax</h5>
  513. <div class="codewrapper">
  514. <pre><code class="lang-csharp hljs">public class MenuBar : View, IDisposable, ISupportInitializeNotification, ISupportInitialize</code></pre>
  515. </div>
  516. <h3 id="constructors">Constructors
  517. </h3>
  518. <span class="small pull-right mobile-hide">
  519. <span class="divider">|</span>
  520. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_MenuBar__ctor.md&amp;value=---%0Auid%3A%20Terminal.Gui.MenuBar.%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>
  521. </span>
  522. <span class="small pull-right mobile-hide">
  523. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/Menu.cs/#L911">View Source</a>
  524. </span>
  525. <a id="Terminal_Gui_MenuBar__ctor_" data-uid="Terminal.Gui.MenuBar.#ctor*"></a>
  526. <h4 id="Terminal_Gui_MenuBar__ctor" data-uid="Terminal.Gui.MenuBar.#ctor">MenuBar()</h4>
  527. <div class="markdown level1 summary">
  528. Initializes a new instance of the <a class="xref" href="Terminal.Gui.MenuBar.html">MenuBar</a>.
  529. </div>
  530. <div class="markdown level1 conceptual"></div>
  531. <h5 class="decalaration">Declaration</h5>
  532. <div class="codewrapper">
  533. <pre><code class="lang-csharp hljs">public MenuBar()</code></pre>
  534. </div>
  535. <span class="small pull-right mobile-hide">
  536. <span class="divider">|</span>
  537. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_MenuBar__ctor_Terminal_Gui_MenuBarItem___.md&amp;value=---%0Auid%3A%20Terminal.Gui.MenuBar.%23ctor(Terminal.Gui.MenuBarItem%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>
  538. </span>
  539. <span class="small pull-right mobile-hide">
  540. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/Menu.cs/#L917">View Source</a>
  541. </span>
  542. <a id="Terminal_Gui_MenuBar__ctor_" data-uid="Terminal.Gui.MenuBar.#ctor*"></a>
  543. <h4 id="Terminal_Gui_MenuBar__ctor_Terminal_Gui_MenuBarItem___" data-uid="Terminal.Gui.MenuBar.#ctor(Terminal.Gui.MenuBarItem[])">MenuBar(MenuBarItem[])</h4>
  544. <div class="markdown level1 summary">
  545. Initializes a new instance of the <a class="xref" href="Terminal.Gui.MenuBar.html">MenuBar</a> class with the specified set of toplevel menu items.
  546. </div>
  547. <div class="markdown level1 conceptual"></div>
  548. <h5 class="decalaration">Declaration</h5>
  549. <div class="codewrapper">
  550. <pre><code class="lang-csharp hljs">public MenuBar(MenuBarItem[] menus)</code></pre>
  551. </div>
  552. <h5 class="parameters">Parameters</h5>
  553. <table class="table table-bordered table-striped table-condensed">
  554. <thead>
  555. <tr>
  556. <th>Type</th>
  557. <th>Name</th>
  558. <th>Description</th>
  559. </tr>
  560. </thead>
  561. <tbody>
  562. <tr>
  563. <td><a class="xref" href="Terminal.Gui.MenuBarItem.html">MenuBarItem</a>[]</td>
  564. <td><span class="parametername">menus</span></td>
  565. <td>Individual menu items; a null item will result in a separator being drawn.</td>
  566. </tr>
  567. </tbody>
  568. </table>
  569. <h3 id="properties">Properties
  570. </h3>
  571. <span class="small pull-right mobile-hide">
  572. <span class="divider">|</span>
  573. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_MenuBar_HotKeySpecifier.md&amp;value=---%0Auid%3A%20Terminal.Gui.MenuBar.HotKeySpecifier%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>
  574. </span>
  575. <span class="small pull-right mobile-hide">
  576. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/Menu.cs/#L890">View Source</a>
  577. </span>
  578. <a id="Terminal_Gui_MenuBar_HotKeySpecifier_" data-uid="Terminal.Gui.MenuBar.HotKeySpecifier*"></a>
  579. <h4 id="Terminal_Gui_MenuBar_HotKeySpecifier" data-uid="Terminal.Gui.MenuBar.HotKeySpecifier">HotKeySpecifier</h4>
  580. <div class="markdown level1 summary">
  581. The specifier character for the hotkey to all menus.
  582. </div>
  583. <div class="markdown level1 conceptual"></div>
  584. <h5 class="decalaration">Declaration</h5>
  585. <div class="codewrapper">
  586. <pre><code class="lang-csharp hljs">public static Rune HotKeySpecifier { get; }</code></pre>
  587. </div>
  588. <h5 class="propertyValue">Property Value</h5>
  589. <table class="table table-bordered table-striped table-condensed">
  590. <thead>
  591. <tr>
  592. <th>Type</th>
  593. <th>Description</th>
  594. </tr>
  595. </thead>
  596. <tbody>
  597. <tr>
  598. <td><span class="xref">System.Rune</span></td>
  599. <td></td>
  600. </tr>
  601. </tbody>
  602. </table>
  603. <span class="small pull-right mobile-hide">
  604. <span class="divider">|</span>
  605. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_MenuBar_IsMenuOpen.md&amp;value=---%0Auid%3A%20Terminal.Gui.MenuBar.IsMenuOpen%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>
  606. </span>
  607. <span class="small pull-right mobile-hide">
  608. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/Menu.cs/#L1139">View Source</a>
  609. </span>
  610. <a id="Terminal_Gui_MenuBar_IsMenuOpen_" data-uid="Terminal.Gui.MenuBar.IsMenuOpen*"></a>
  611. <h4 id="Terminal_Gui_MenuBar_IsMenuOpen" data-uid="Terminal.Gui.MenuBar.IsMenuOpen">IsMenuOpen</h4>
  612. <div class="markdown level1 summary">
  613. True if the menu is open; otherwise false.
  614. </div>
  615. <div class="markdown level1 conceptual"></div>
  616. <h5 class="decalaration">Declaration</h5>
  617. <div class="codewrapper">
  618. <pre><code class="lang-csharp hljs">public bool IsMenuOpen { get; protected set; }</code></pre>
  619. </div>
  620. <h5 class="propertyValue">Property Value</h5>
  621. <table class="table table-bordered table-striped table-condensed">
  622. <thead>
  623. <tr>
  624. <th>Type</th>
  625. <th>Description</th>
  626. </tr>
  627. </thead>
  628. <tbody>
  629. <tr>
  630. <td><span class="xref">System.Boolean</span></td>
  631. <td></td>
  632. </tr>
  633. </tbody>
  634. </table>
  635. <span class="small pull-right mobile-hide">
  636. <span class="divider">|</span>
  637. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_MenuBar_LastFocused.md&amp;value=---%0Auid%3A%20Terminal.Gui.MenuBar.LastFocused%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>
  638. </span>
  639. <span class="small pull-right mobile-hide">
  640. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/Menu.cs/#L1195">View Source</a>
  641. </span>
  642. <a id="Terminal_Gui_MenuBar_LastFocused_" data-uid="Terminal.Gui.MenuBar.LastFocused*"></a>
  643. <h4 id="Terminal_Gui_MenuBar_LastFocused" data-uid="Terminal.Gui.MenuBar.LastFocused">LastFocused</h4>
  644. <div class="markdown level1 summary">
  645. Get the lasted focused view before open the menu.
  646. </div>
  647. <div class="markdown level1 conceptual"></div>
  648. <h5 class="decalaration">Declaration</h5>
  649. <div class="codewrapper">
  650. <pre><code class="lang-csharp hljs">public View LastFocused { get; }</code></pre>
  651. </div>
  652. <h5 class="propertyValue">Property Value</h5>
  653. <table class="table table-bordered table-striped table-condensed">
  654. <thead>
  655. <tr>
  656. <th>Type</th>
  657. <th>Description</th>
  658. </tr>
  659. </thead>
  660. <tbody>
  661. <tr>
  662. <td><a class="xref" href="Terminal.Gui.View.html">View</a></td>
  663. <td></td>
  664. </tr>
  665. </tbody>
  666. </table>
  667. <span class="small pull-right mobile-hide">
  668. <span class="divider">|</span>
  669. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_MenuBar_Menus.md&amp;value=---%0Auid%3A%20Terminal.Gui.MenuBar.Menus%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>
  670. </span>
  671. <span class="small pull-right mobile-hide">
  672. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/Menu.cs/#L856">View Source</a>
  673. </span>
  674. <a id="Terminal_Gui_MenuBar_Menus_" data-uid="Terminal.Gui.MenuBar.Menus*"></a>
  675. <h4 id="Terminal_Gui_MenuBar_Menus" data-uid="Terminal.Gui.MenuBar.Menus">Menus</h4>
  676. <div class="markdown level1 summary">
  677. Gets or sets the array of <a class="xref" href="Terminal.Gui.MenuBarItem.html">MenuBarItem</a>s for the menu. Only set this when the <a class="xref" href="Terminal.Gui.MenuBar.html">MenuBar</a> is visible.
  678. </div>
  679. <div class="markdown level1 conceptual"></div>
  680. <h5 class="decalaration">Declaration</h5>
  681. <div class="codewrapper">
  682. <pre><code class="lang-csharp hljs">public MenuBarItem[] Menus { get; set; }</code></pre>
  683. </div>
  684. <h5 class="propertyValue">Property Value</h5>
  685. <table class="table table-bordered table-striped table-condensed">
  686. <thead>
  687. <tr>
  688. <th>Type</th>
  689. <th>Description</th>
  690. </tr>
  691. </thead>
  692. <tbody>
  693. <tr>
  694. <td><a class="xref" href="Terminal.Gui.MenuBarItem.html">MenuBarItem</a>[]</td>
  695. <td>The menu array.</td>
  696. </tr>
  697. </tbody>
  698. </table>
  699. <span class="small pull-right mobile-hide">
  700. <span class="divider">|</span>
  701. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_MenuBar_ShortcutDelimiter.md&amp;value=---%0Auid%3A%20Terminal.Gui.MenuBar.ShortcutDelimiter%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>
  702. </span>
  703. <span class="small pull-right mobile-hide">
  704. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/Menu.cs/#L878">View Source</a>
  705. </span>
  706. <a id="Terminal_Gui_MenuBar_ShortcutDelimiter_" data-uid="Terminal.Gui.MenuBar.ShortcutDelimiter*"></a>
  707. <h4 id="Terminal_Gui_MenuBar_ShortcutDelimiter" data-uid="Terminal.Gui.MenuBar.ShortcutDelimiter">ShortcutDelimiter</h4>
  708. <div class="markdown level1 summary">
  709. Used for change the shortcut delimiter separator.
  710. </div>
  711. <div class="markdown level1 conceptual"></div>
  712. <h5 class="decalaration">Declaration</h5>
  713. <div class="codewrapper">
  714. <pre><code class="lang-csharp hljs">public static ustring ShortcutDelimiter { get; set; }</code></pre>
  715. </div>
  716. <h5 class="propertyValue">Property Value</h5>
  717. <table class="table table-bordered table-striped table-condensed">
  718. <thead>
  719. <tr>
  720. <th>Type</th>
  721. <th>Description</th>
  722. </tr>
  723. </thead>
  724. <tbody>
  725. <tr>
  726. <td><span class="xref">NStack.ustring</span></td>
  727. <td></td>
  728. </tr>
  729. </tbody>
  730. </table>
  731. <span class="small pull-right mobile-hide">
  732. <span class="divider">|</span>
  733. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_MenuBar_UseKeysUpDownAsKeysLeftRight.md&amp;value=---%0Auid%3A%20Terminal.Gui.MenuBar.UseKeysUpDownAsKeysLeftRight%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>
  734. </span>
  735. <span class="small pull-right mobile-hide">
  736. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/Menu.cs/#L863">View Source</a>
  737. </span>
  738. <a id="Terminal_Gui_MenuBar_UseKeysUpDownAsKeysLeftRight_" data-uid="Terminal.Gui.MenuBar.UseKeysUpDownAsKeysLeftRight*"></a>
  739. <h4 id="Terminal_Gui_MenuBar_UseKeysUpDownAsKeysLeftRight" data-uid="Terminal.Gui.MenuBar.UseKeysUpDownAsKeysLeftRight">UseKeysUpDownAsKeysLeftRight</h4>
  740. <div class="markdown level1 summary">
  741. Used for change the navigation key style.
  742. </div>
  743. <div class="markdown level1 conceptual"></div>
  744. <h5 class="decalaration">Declaration</h5>
  745. <div class="codewrapper">
  746. <pre><code class="lang-csharp hljs">public bool UseKeysUpDownAsKeysLeftRight { get; set; }</code></pre>
  747. </div>
  748. <h5 class="propertyValue">Property Value</h5>
  749. <table class="table table-bordered table-striped table-condensed">
  750. <thead>
  751. <tr>
  752. <th>Type</th>
  753. <th>Description</th>
  754. </tr>
  755. </thead>
  756. <tbody>
  757. <tr>
  758. <td><span class="xref">System.Boolean</span></td>
  759. <td></td>
  760. </tr>
  761. </tbody>
  762. </table>
  763. <span class="small pull-right mobile-hide">
  764. <span class="divider">|</span>
  765. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_MenuBar_UseSubMenusSingleFrame.md&amp;value=---%0Auid%3A%20Terminal.Gui.MenuBar.UseSubMenusSingleFrame%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>
  766. </span>
  767. <span class="small pull-right mobile-hide">
  768. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/Menu.cs/#L897">View Source</a>
  769. </span>
  770. <a id="Terminal_Gui_MenuBar_UseSubMenusSingleFrame_" data-uid="Terminal.Gui.MenuBar.UseSubMenusSingleFrame*"></a>
  771. <h4 id="Terminal_Gui_MenuBar_UseSubMenusSingleFrame" data-uid="Terminal.Gui.MenuBar.UseSubMenusSingleFrame">UseSubMenusSingleFrame</h4>
  772. <div class="markdown level1 summary">
  773. Gets or sets if the sub-menus must be displayed in a single or multiple frames.
  774. </div>
  775. <div class="markdown level1 conceptual"></div>
  776. <h5 class="decalaration">Declaration</h5>
  777. <div class="codewrapper">
  778. <pre><code class="lang-csharp hljs">public bool UseSubMenusSingleFrame { get; set; }</code></pre>
  779. </div>
  780. <h5 class="propertyValue">Property Value</h5>
  781. <table class="table table-bordered table-striped table-condensed">
  782. <thead>
  783. <tr>
  784. <th>Type</th>
  785. <th>Description</th>
  786. </tr>
  787. </thead>
  788. <tbody>
  789. <tr>
  790. <td><span class="xref">System.Boolean</span></td>
  791. <td></td>
  792. </tr>
  793. </tbody>
  794. </table>
  795. <h3 id="methods">Methods
  796. </h3>
  797. <span class="small pull-right mobile-hide">
  798. <span class="divider">|</span>
  799. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_MenuBar_CloseMenu_System_Boolean_.md&amp;value=---%0Auid%3A%20Terminal.Gui.MenuBar.CloseMenu(System.Boolean)%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>
  800. </span>
  801. <span class="small pull-right mobile-hide">
  802. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/Menu.cs/#L1361">View Source</a>
  803. </span>
  804. <a id="Terminal_Gui_MenuBar_CloseMenu_" data-uid="Terminal.Gui.MenuBar.CloseMenu*"></a>
  805. <h4 id="Terminal_Gui_MenuBar_CloseMenu_System_Boolean_" data-uid="Terminal.Gui.MenuBar.CloseMenu(System.Boolean)">CloseMenu(Boolean)</h4>
  806. <div class="markdown level1 summary">
  807. Closes the current Menu programatically, if open and not canceled.
  808. </div>
  809. <div class="markdown level1 conceptual"></div>
  810. <h5 class="decalaration">Declaration</h5>
  811. <div class="codewrapper">
  812. <pre><code class="lang-csharp hljs">public bool CloseMenu(bool ignoreUseSubMenusSingleFrame = false)</code></pre>
  813. </div>
  814. <h5 class="parameters">Parameters</h5>
  815. <table class="table table-bordered table-striped table-condensed">
  816. <thead>
  817. <tr>
  818. <th>Type</th>
  819. <th>Name</th>
  820. <th>Description</th>
  821. </tr>
  822. </thead>
  823. <tbody>
  824. <tr>
  825. <td><span class="xref">System.Boolean</span></td>
  826. <td><span class="parametername">ignoreUseSubMenusSingleFrame</span></td>
  827. <td></td>
  828. </tr>
  829. </tbody>
  830. </table>
  831. <h5 class="returns">Returns</h5>
  832. <table class="table table-bordered table-striped table-condensed">
  833. <thead>
  834. <tr>
  835. <th>Type</th>
  836. <th>Description</th>
  837. </tr>
  838. </thead>
  839. <tbody>
  840. <tr>
  841. <td><span class="xref">System.Boolean</span></td>
  842. <td></td>
  843. </tr>
  844. </tbody>
  845. </table>
  846. <span class="small pull-right mobile-hide">
  847. <span class="divider">|</span>
  848. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_MenuBar_MouseEvent_Terminal_Gui_MouseEvent_.md&amp;value=---%0Auid%3A%20Terminal.Gui.MenuBar.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>
  849. </span>
  850. <span class="small pull-right mobile-hide">
  851. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/Menu.cs/#L1766">View Source</a>
  852. </span>
  853. <a id="Terminal_Gui_MenuBar_MouseEvent_" data-uid="Terminal.Gui.MenuBar.MouseEvent*"></a>
  854. <h4 id="Terminal_Gui_MenuBar_MouseEvent_Terminal_Gui_MouseEvent_" data-uid="Terminal.Gui.MenuBar.MouseEvent(Terminal.Gui.MouseEvent)">MouseEvent(MouseEvent)</h4>
  855. <div class="markdown level1 summary"></div>
  856. <div class="markdown level1 conceptual"></div>
  857. <h5 class="decalaration">Declaration</h5>
  858. <div class="codewrapper">
  859. <pre><code class="lang-csharp hljs">public override bool MouseEvent(MouseEvent me)</code></pre>
  860. </div>
  861. <h5 class="parameters">Parameters</h5>
  862. <table class="table table-bordered table-striped table-condensed">
  863. <thead>
  864. <tr>
  865. <th>Type</th>
  866. <th>Name</th>
  867. <th>Description</th>
  868. </tr>
  869. </thead>
  870. <tbody>
  871. <tr>
  872. <td><a class="xref" href="Terminal.Gui.MouseEvent.html">MouseEvent</a></td>
  873. <td><span class="parametername">me</span></td>
  874. <td></td>
  875. </tr>
  876. </tbody>
  877. </table>
  878. <h5 class="returns">Returns</h5>
  879. <table class="table table-bordered table-striped table-condensed">
  880. <thead>
  881. <tr>
  882. <th>Type</th>
  883. <th>Description</th>
  884. </tr>
  885. </thead>
  886. <tbody>
  887. <tr>
  888. <td><span class="xref">System.Boolean</span></td>
  889. <td></td>
  890. </tr>
  891. </tbody>
  892. </table>
  893. <h5 class="overrides">Overrides</h5>
  894. <div><a class="xref" href="Terminal.Gui.Responder.html#Terminal_Gui_Responder_MouseEvent_Terminal_Gui_MouseEvent_">Responder.MouseEvent(MouseEvent)</a></div>
  895. <span class="small pull-right mobile-hide">
  896. <span class="divider">|</span>
  897. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_MenuBar_OnEnter_Terminal_Gui_View_.md&amp;value=---%0Auid%3A%20Terminal.Gui.MenuBar.OnEnter(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>
  898. </span>
  899. <span class="small pull-right mobile-hide">
  900. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/Menu.cs/#L1953">View Source</a>
  901. </span>
  902. <a id="Terminal_Gui_MenuBar_OnEnter_" data-uid="Terminal.Gui.MenuBar.OnEnter*"></a>
  903. <h4 id="Terminal_Gui_MenuBar_OnEnter_Terminal_Gui_View_" data-uid="Terminal.Gui.MenuBar.OnEnter(Terminal.Gui.View)">OnEnter(View)</h4>
  904. <div class="markdown level1 summary"></div>
  905. <div class="markdown level1 conceptual"></div>
  906. <h5 class="decalaration">Declaration</h5>
  907. <div class="codewrapper">
  908. <pre><code class="lang-csharp hljs">public override bool OnEnter(View view)</code></pre>
  909. </div>
  910. <h5 class="parameters">Parameters</h5>
  911. <table class="table table-bordered table-striped table-condensed">
  912. <thead>
  913. <tr>
  914. <th>Type</th>
  915. <th>Name</th>
  916. <th>Description</th>
  917. </tr>
  918. </thead>
  919. <tbody>
  920. <tr>
  921. <td><a class="xref" href="Terminal.Gui.View.html">View</a></td>
  922. <td><span class="parametername">view</span></td>
  923. <td></td>
  924. </tr>
  925. </tbody>
  926. </table>
  927. <h5 class="returns">Returns</h5>
  928. <table class="table table-bordered table-striped table-condensed">
  929. <thead>
  930. <tr>
  931. <th>Type</th>
  932. <th>Description</th>
  933. </tr>
  934. </thead>
  935. <tbody>
  936. <tr>
  937. <td><span class="xref">System.Boolean</span></td>
  938. <td></td>
  939. </tr>
  940. </tbody>
  941. </table>
  942. <h5 class="overrides">Overrides</h5>
  943. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnEnter_Terminal_Gui_View_">View.OnEnter(View)</a></div>
  944. <span class="small pull-right mobile-hide">
  945. <span class="divider">|</span>
  946. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_MenuBar_OnKeyDown_Terminal_Gui_KeyEvent_.md&amp;value=---%0Auid%3A%20Terminal.Gui.MenuBar.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>
  947. </span>
  948. <span class="small pull-right mobile-hide">
  949. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/Menu.cs/#L961">View Source</a>
  950. </span>
  951. <a id="Terminal_Gui_MenuBar_OnKeyDown_" data-uid="Terminal.Gui.MenuBar.OnKeyDown*"></a>
  952. <h4 id="Terminal_Gui_MenuBar_OnKeyDown_Terminal_Gui_KeyEvent_" data-uid="Terminal.Gui.MenuBar.OnKeyDown(Terminal.Gui.KeyEvent)">OnKeyDown(KeyEvent)</h4>
  953. <div class="markdown level1 summary"></div>
  954. <div class="markdown level1 conceptual"></div>
  955. <h5 class="decalaration">Declaration</h5>
  956. <div class="codewrapper">
  957. <pre><code class="lang-csharp hljs">public override bool OnKeyDown(KeyEvent keyEvent)</code></pre>
  958. </div>
  959. <h5 class="parameters">Parameters</h5>
  960. <table class="table table-bordered table-striped table-condensed">
  961. <thead>
  962. <tr>
  963. <th>Type</th>
  964. <th>Name</th>
  965. <th>Description</th>
  966. </tr>
  967. </thead>
  968. <tbody>
  969. <tr>
  970. <td><a class="xref" href="Terminal.Gui.KeyEvent.html">KeyEvent</a></td>
  971. <td><span class="parametername">keyEvent</span></td>
  972. <td></td>
  973. </tr>
  974. </tbody>
  975. </table>
  976. <h5 class="returns">Returns</h5>
  977. <table class="table table-bordered table-striped table-condensed">
  978. <thead>
  979. <tr>
  980. <th>Type</th>
  981. <th>Description</th>
  982. </tr>
  983. </thead>
  984. <tbody>
  985. <tr>
  986. <td><span class="xref">System.Boolean</span></td>
  987. <td></td>
  988. </tr>
  989. </tbody>
  990. </table>
  991. <h5 class="overrides">Overrides</h5>
  992. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnKeyDown_Terminal_Gui_KeyEvent_">View.OnKeyDown(KeyEvent)</a></div>
  993. <span class="small pull-right mobile-hide">
  994. <span class="divider">|</span>
  995. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_MenuBar_OnKeyUp_Terminal_Gui_KeyEvent_.md&amp;value=---%0Auid%3A%20Terminal.Gui.MenuBar.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>
  996. </span>
  997. <span class="small pull-right mobile-hide">
  998. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/Menu.cs/#L972">View Source</a>
  999. </span>
  1000. <a id="Terminal_Gui_MenuBar_OnKeyUp_" data-uid="Terminal.Gui.MenuBar.OnKeyUp*"></a>
  1001. <h4 id="Terminal_Gui_MenuBar_OnKeyUp_Terminal_Gui_KeyEvent_" data-uid="Terminal.Gui.MenuBar.OnKeyUp(Terminal.Gui.KeyEvent)">OnKeyUp(KeyEvent)</h4>
  1002. <div class="markdown level1 summary"></div>
  1003. <div class="markdown level1 conceptual"></div>
  1004. <h5 class="decalaration">Declaration</h5>
  1005. <div class="codewrapper">
  1006. <pre><code class="lang-csharp hljs">public override bool OnKeyUp(KeyEvent keyEvent)</code></pre>
  1007. </div>
  1008. <h5 class="parameters">Parameters</h5>
  1009. <table class="table table-bordered table-striped table-condensed">
  1010. <thead>
  1011. <tr>
  1012. <th>Type</th>
  1013. <th>Name</th>
  1014. <th>Description</th>
  1015. </tr>
  1016. </thead>
  1017. <tbody>
  1018. <tr>
  1019. <td><a class="xref" href="Terminal.Gui.KeyEvent.html">KeyEvent</a></td>
  1020. <td><span class="parametername">keyEvent</span></td>
  1021. <td></td>
  1022. </tr>
  1023. </tbody>
  1024. </table>
  1025. <h5 class="returns">Returns</h5>
  1026. <table class="table table-bordered table-striped table-condensed">
  1027. <thead>
  1028. <tr>
  1029. <th>Type</th>
  1030. <th>Description</th>
  1031. </tr>
  1032. </thead>
  1033. <tbody>
  1034. <tr>
  1035. <td><span class="xref">System.Boolean</span></td>
  1036. <td></td>
  1037. </tr>
  1038. </tbody>
  1039. </table>
  1040. <h5 class="overrides">Overrides</h5>
  1041. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnKeyUp_Terminal_Gui_KeyEvent_">View.OnKeyUp(KeyEvent)</a></div>
  1042. <span class="small pull-right mobile-hide">
  1043. <span class="divider">|</span>
  1044. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_MenuBar_OnLeave_Terminal_Gui_View_.md&amp;value=---%0Auid%3A%20Terminal.Gui.MenuBar.OnLeave(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>
  1045. </span>
  1046. <span class="small pull-right mobile-hide">
  1047. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/Menu.cs/#L951">View Source</a>
  1048. </span>
  1049. <a id="Terminal_Gui_MenuBar_OnLeave_" data-uid="Terminal.Gui.MenuBar.OnLeave*"></a>
  1050. <h4 id="Terminal_Gui_MenuBar_OnLeave_Terminal_Gui_View_" data-uid="Terminal.Gui.MenuBar.OnLeave(Terminal.Gui.View)">OnLeave(View)</h4>
  1051. <div class="markdown level1 summary"></div>
  1052. <div class="markdown level1 conceptual"></div>
  1053. <h5 class="decalaration">Declaration</h5>
  1054. <div class="codewrapper">
  1055. <pre><code class="lang-csharp hljs">public override bool OnLeave(View view)</code></pre>
  1056. </div>
  1057. <h5 class="parameters">Parameters</h5>
  1058. <table class="table table-bordered table-striped table-condensed">
  1059. <thead>
  1060. <tr>
  1061. <th>Type</th>
  1062. <th>Name</th>
  1063. <th>Description</th>
  1064. </tr>
  1065. </thead>
  1066. <tbody>
  1067. <tr>
  1068. <td><a class="xref" href="Terminal.Gui.View.html">View</a></td>
  1069. <td><span class="parametername">view</span></td>
  1070. <td></td>
  1071. </tr>
  1072. </tbody>
  1073. </table>
  1074. <h5 class="returns">Returns</h5>
  1075. <table class="table table-bordered table-striped table-condensed">
  1076. <thead>
  1077. <tr>
  1078. <th>Type</th>
  1079. <th>Description</th>
  1080. </tr>
  1081. </thead>
  1082. <tbody>
  1083. <tr>
  1084. <td><span class="xref">System.Boolean</span></td>
  1085. <td></td>
  1086. </tr>
  1087. </tbody>
  1088. </table>
  1089. <h5 class="overrides">Overrides</h5>
  1090. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnLeave_Terminal_Gui_View_">View.OnLeave(View)</a></div>
  1091. <span class="small pull-right mobile-hide">
  1092. <span class="divider">|</span>
  1093. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_MenuBar_OnMenuAllClosed.md&amp;value=---%0Auid%3A%20Terminal.Gui.MenuBar.OnMenuAllClosed%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>
  1094. </span>
  1095. <span class="small pull-right mobile-hide">
  1096. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/Menu.cs/#L1185">View Source</a>
  1097. </span>
  1098. <a id="Terminal_Gui_MenuBar_OnMenuAllClosed_" data-uid="Terminal.Gui.MenuBar.OnMenuAllClosed*"></a>
  1099. <h4 id="Terminal_Gui_MenuBar_OnMenuAllClosed" data-uid="Terminal.Gui.MenuBar.OnMenuAllClosed">OnMenuAllClosed()</h4>
  1100. <div class="markdown level1 summary">
  1101. Virtual method that will invoke the <a class="xref" href="Terminal.Gui.MenuBar.html#Terminal_Gui_MenuBar_MenuAllClosed">MenuAllClosed</a>
  1102. </div>
  1103. <div class="markdown level1 conceptual"></div>
  1104. <h5 class="decalaration">Declaration</h5>
  1105. <div class="codewrapper">
  1106. <pre><code class="lang-csharp hljs">public virtual void OnMenuAllClosed()</code></pre>
  1107. </div>
  1108. <span class="small pull-right mobile-hide">
  1109. <span class="divider">|</span>
  1110. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_MenuBar_OnMenuClosing_Terminal_Gui_MenuBarItem_System_Boolean_System_Boolean_.md&amp;value=---%0Auid%3A%20Terminal.Gui.MenuBar.OnMenuClosing(Terminal.Gui.MenuBarItem%2CSystem.Boolean%2CSystem.Boolean)%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>
  1111. </span>
  1112. <span class="small pull-right mobile-hide">
  1113. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/Menu.cs/#L1175">View Source</a>
  1114. </span>
  1115. <a id="Terminal_Gui_MenuBar_OnMenuClosing_" data-uid="Terminal.Gui.MenuBar.OnMenuClosing*"></a>
  1116. <h4 id="Terminal_Gui_MenuBar_OnMenuClosing_Terminal_Gui_MenuBarItem_System_Boolean_System_Boolean_" data-uid="Terminal.Gui.MenuBar.OnMenuClosing(Terminal.Gui.MenuBarItem,System.Boolean,System.Boolean)">OnMenuClosing(MenuBarItem, Boolean, Boolean)</h4>
  1117. <div class="markdown level1 summary">
  1118. Virtual method that will invoke the <a class="xref" href="Terminal.Gui.MenuBar.html#Terminal_Gui_MenuBar_MenuClosing">MenuClosing</a>
  1119. </div>
  1120. <div class="markdown level1 conceptual"></div>
  1121. <h5 class="decalaration">Declaration</h5>
  1122. <div class="codewrapper">
  1123. <pre><code class="lang-csharp hljs">public virtual MenuClosingEventArgs OnMenuClosing(MenuBarItem currentMenu, bool reopen, bool isSubMenu)</code></pre>
  1124. </div>
  1125. <h5 class="parameters">Parameters</h5>
  1126. <table class="table table-bordered table-striped table-condensed">
  1127. <thead>
  1128. <tr>
  1129. <th>Type</th>
  1130. <th>Name</th>
  1131. <th>Description</th>
  1132. </tr>
  1133. </thead>
  1134. <tbody>
  1135. <tr>
  1136. <td><a class="xref" href="Terminal.Gui.MenuBarItem.html">MenuBarItem</a></td>
  1137. <td><span class="parametername">currentMenu</span></td>
  1138. <td>The current menu to be closed.</td>
  1139. </tr>
  1140. <tr>
  1141. <td><span class="xref">System.Boolean</span></td>
  1142. <td><span class="parametername">reopen</span></td>
  1143. <td>Whether the current menu will be reopen.</td>
  1144. </tr>
  1145. <tr>
  1146. <td><span class="xref">System.Boolean</span></td>
  1147. <td><span class="parametername">isSubMenu</span></td>
  1148. <td>Whether is a sub-menu or not.</td>
  1149. </tr>
  1150. </tbody>
  1151. </table>
  1152. <h5 class="returns">Returns</h5>
  1153. <table class="table table-bordered table-striped table-condensed">
  1154. <thead>
  1155. <tr>
  1156. <th>Type</th>
  1157. <th>Description</th>
  1158. </tr>
  1159. </thead>
  1160. <tbody>
  1161. <tr>
  1162. <td><a class="xref" href="Terminal.Gui.MenuClosingEventArgs.html">MenuClosingEventArgs</a></td>
  1163. <td></td>
  1164. </tr>
  1165. </tbody>
  1166. </table>
  1167. <span class="small pull-right mobile-hide">
  1168. <span class="divider">|</span>
  1169. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_MenuBar_OnMenuOpened.md&amp;value=---%0Auid%3A%20Terminal.Gui.MenuBar.OnMenuOpened%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>
  1170. </span>
  1171. <span class="small pull-right mobile-hide">
  1172. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/Menu.cs/#L1156">View Source</a>
  1173. </span>
  1174. <a id="Terminal_Gui_MenuBar_OnMenuOpened_" data-uid="Terminal.Gui.MenuBar.OnMenuOpened*"></a>
  1175. <h4 id="Terminal_Gui_MenuBar_OnMenuOpened" data-uid="Terminal.Gui.MenuBar.OnMenuOpened">OnMenuOpened()</h4>
  1176. <div class="markdown level1 summary">
  1177. Virtual method that will invoke the <a class="xref" href="Terminal.Gui.MenuBar.html#Terminal_Gui_MenuBar_MenuOpened">MenuOpened</a> event if it&apos;s defined.
  1178. </div>
  1179. <div class="markdown level1 conceptual"></div>
  1180. <h5 class="decalaration">Declaration</h5>
  1181. <div class="codewrapper">
  1182. <pre><code class="lang-csharp hljs">public virtual void OnMenuOpened()</code></pre>
  1183. </div>
  1184. <span class="small pull-right mobile-hide">
  1185. <span class="divider">|</span>
  1186. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_MenuBar_OnMenuOpening_Terminal_Gui_MenuBarItem_.md&amp;value=---%0Auid%3A%20Terminal.Gui.MenuBar.OnMenuOpening(Terminal.Gui.MenuBarItem)%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>
  1187. </span>
  1188. <span class="small pull-right mobile-hide">
  1189. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/Menu.cs/#L1146">View Source</a>
  1190. </span>
  1191. <a id="Terminal_Gui_MenuBar_OnMenuOpening_" data-uid="Terminal.Gui.MenuBar.OnMenuOpening*"></a>
  1192. <h4 id="Terminal_Gui_MenuBar_OnMenuOpening_Terminal_Gui_MenuBarItem_" data-uid="Terminal.Gui.MenuBar.OnMenuOpening(Terminal.Gui.MenuBarItem)">OnMenuOpening(MenuBarItem)</h4>
  1193. <div class="markdown level1 summary">
  1194. Virtual method that will invoke the <a class="xref" href="Terminal.Gui.MenuBar.html#Terminal_Gui_MenuBar_MenuOpening">MenuOpening</a> event if it&apos;s defined.
  1195. </div>
  1196. <div class="markdown level1 conceptual"></div>
  1197. <h5 class="decalaration">Declaration</h5>
  1198. <div class="codewrapper">
  1199. <pre><code class="lang-csharp hljs">public virtual MenuOpeningEventArgs OnMenuOpening(MenuBarItem currentMenu)</code></pre>
  1200. </div>
  1201. <h5 class="parameters">Parameters</h5>
  1202. <table class="table table-bordered table-striped table-condensed">
  1203. <thead>
  1204. <tr>
  1205. <th>Type</th>
  1206. <th>Name</th>
  1207. <th>Description</th>
  1208. </tr>
  1209. </thead>
  1210. <tbody>
  1211. <tr>
  1212. <td><a class="xref" href="Terminal.Gui.MenuBarItem.html">MenuBarItem</a></td>
  1213. <td><span class="parametername">currentMenu</span></td>
  1214. <td>The current menu to be replaced.</td>
  1215. </tr>
  1216. </tbody>
  1217. </table>
  1218. <h5 class="returns">Returns</h5>
  1219. <table class="table table-bordered table-striped table-condensed">
  1220. <thead>
  1221. <tr>
  1222. <th>Type</th>
  1223. <th>Description</th>
  1224. </tr>
  1225. </thead>
  1226. <tbody>
  1227. <tr>
  1228. <td><a class="xref" href="Terminal.Gui.MenuOpeningEventArgs.html">MenuOpeningEventArgs</a></td>
  1229. <td>Returns the <a class="xref" href="Terminal.Gui.MenuOpeningEventArgs.html">MenuOpeningEventArgs</a></td>
  1230. </tr>
  1231. </tbody>
  1232. </table>
  1233. <span class="small pull-right mobile-hide">
  1234. <span class="divider">|</span>
  1235. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_MenuBar_OpenMenu.md&amp;value=---%0Auid%3A%20Terminal.Gui.MenuBar.OpenMenu%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>
  1236. </span>
  1237. <span class="small pull-right mobile-hide">
  1238. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/Menu.cs/#L1279">View Source</a>
  1239. </span>
  1240. <a id="Terminal_Gui_MenuBar_OpenMenu_" data-uid="Terminal.Gui.MenuBar.OpenMenu*"></a>
  1241. <h4 id="Terminal_Gui_MenuBar_OpenMenu" data-uid="Terminal.Gui.MenuBar.OpenMenu">OpenMenu()</h4>
  1242. <div class="markdown level1 summary">
  1243. Opens the current Menu programatically.
  1244. </div>
  1245. <div class="markdown level1 conceptual"></div>
  1246. <h5 class="decalaration">Declaration</h5>
  1247. <div class="codewrapper">
  1248. <pre><code class="lang-csharp hljs">public void OpenMenu()</code></pre>
  1249. </div>
  1250. <span class="small pull-right mobile-hide">
  1251. <span class="divider">|</span>
  1252. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_MenuBar_PositionCursor.md&amp;value=---%0Auid%3A%20Terminal.Gui.MenuBar.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>
  1253. </span>
  1254. <span class="small pull-right mobile-hide">
  1255. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/Menu.cs/#L1060">View Source</a>
  1256. </span>
  1257. <a id="Terminal_Gui_MenuBar_PositionCursor_" data-uid="Terminal.Gui.MenuBar.PositionCursor*"></a>
  1258. <h4 id="Terminal_Gui_MenuBar_PositionCursor" data-uid="Terminal.Gui.MenuBar.PositionCursor">PositionCursor()</h4>
  1259. <div class="markdown level1 summary"></div>
  1260. <div class="markdown level1 conceptual"></div>
  1261. <h5 class="decalaration">Declaration</h5>
  1262. <div class="codewrapper">
  1263. <pre><code class="lang-csharp hljs">public override void PositionCursor()</code></pre>
  1264. </div>
  1265. <h5 class="overrides">Overrides</h5>
  1266. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_PositionCursor">View.PositionCursor()</a></div>
  1267. <span class="small pull-right mobile-hide">
  1268. <span class="divider">|</span>
  1269. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_MenuBar_ProcessColdKey_Terminal_Gui_KeyEvent_.md&amp;value=---%0Auid%3A%20Terminal.Gui.MenuBar.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>
  1270. </span>
  1271. <span class="small pull-right mobile-hide">
  1272. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/Menu.cs/#L1760">View Source</a>
  1273. </span>
  1274. <a id="Terminal_Gui_MenuBar_ProcessColdKey_" data-uid="Terminal.Gui.MenuBar.ProcessColdKey*"></a>
  1275. <h4 id="Terminal_Gui_MenuBar_ProcessColdKey_Terminal_Gui_KeyEvent_" data-uid="Terminal.Gui.MenuBar.ProcessColdKey(Terminal.Gui.KeyEvent)">ProcessColdKey(KeyEvent)</h4>
  1276. <div class="markdown level1 summary"></div>
  1277. <div class="markdown level1 conceptual"></div>
  1278. <h5 class="decalaration">Declaration</h5>
  1279. <div class="codewrapper">
  1280. <pre><code class="lang-csharp hljs">public override bool ProcessColdKey(KeyEvent kb)</code></pre>
  1281. </div>
  1282. <h5 class="parameters">Parameters</h5>
  1283. <table class="table table-bordered table-striped table-condensed">
  1284. <thead>
  1285. <tr>
  1286. <th>Type</th>
  1287. <th>Name</th>
  1288. <th>Description</th>
  1289. </tr>
  1290. </thead>
  1291. <tbody>
  1292. <tr>
  1293. <td><a class="xref" href="Terminal.Gui.KeyEvent.html">KeyEvent</a></td>
  1294. <td><span class="parametername">kb</span></td>
  1295. <td></td>
  1296. </tr>
  1297. </tbody>
  1298. </table>
  1299. <h5 class="returns">Returns</h5>
  1300. <table class="table table-bordered table-striped table-condensed">
  1301. <thead>
  1302. <tr>
  1303. <th>Type</th>
  1304. <th>Description</th>
  1305. </tr>
  1306. </thead>
  1307. <tbody>
  1308. <tr>
  1309. <td><span class="xref">System.Boolean</span></td>
  1310. <td></td>
  1311. </tr>
  1312. </tbody>
  1313. </table>
  1314. <h5 class="overrides">Overrides</h5>
  1315. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ProcessColdKey_Terminal_Gui_KeyEvent_">View.ProcessColdKey(KeyEvent)</a></div>
  1316. <span class="small pull-right mobile-hide">
  1317. <span class="divider">|</span>
  1318. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_MenuBar_ProcessHotKey_Terminal_Gui_KeyEvent_.md&amp;value=---%0Auid%3A%20Terminal.Gui.MenuBar.ProcessHotKey(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>
  1319. </span>
  1320. <span class="small pull-right mobile-hide">
  1321. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/Menu.cs/#L1679">View Source</a>
  1322. </span>
  1323. <a id="Terminal_Gui_MenuBar_ProcessHotKey_" data-uid="Terminal.Gui.MenuBar.ProcessHotKey*"></a>
  1324. <h4 id="Terminal_Gui_MenuBar_ProcessHotKey_Terminal_Gui_KeyEvent_" data-uid="Terminal.Gui.MenuBar.ProcessHotKey(Terminal.Gui.KeyEvent)">ProcessHotKey(KeyEvent)</h4>
  1325. <div class="markdown level1 summary"></div>
  1326. <div class="markdown level1 conceptual"></div>
  1327. <h5 class="decalaration">Declaration</h5>
  1328. <div class="codewrapper">
  1329. <pre><code class="lang-csharp hljs">public override bool ProcessHotKey(KeyEvent kb)</code></pre>
  1330. </div>
  1331. <h5 class="parameters">Parameters</h5>
  1332. <table class="table table-bordered table-striped table-condensed">
  1333. <thead>
  1334. <tr>
  1335. <th>Type</th>
  1336. <th>Name</th>
  1337. <th>Description</th>
  1338. </tr>
  1339. </thead>
  1340. <tbody>
  1341. <tr>
  1342. <td><a class="xref" href="Terminal.Gui.KeyEvent.html">KeyEvent</a></td>
  1343. <td><span class="parametername">kb</span></td>
  1344. <td></td>
  1345. </tr>
  1346. </tbody>
  1347. </table>
  1348. <h5 class="returns">Returns</h5>
  1349. <table class="table table-bordered table-striped table-condensed">
  1350. <thead>
  1351. <tr>
  1352. <th>Type</th>
  1353. <th>Description</th>
  1354. </tr>
  1355. </thead>
  1356. <tbody>
  1357. <tr>
  1358. <td><span class="xref">System.Boolean</span></td>
  1359. <td></td>
  1360. </tr>
  1361. </tbody>
  1362. </table>
  1363. <h5 class="overrides">Overrides</h5>
  1364. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ProcessHotKey_Terminal_Gui_KeyEvent_">View.ProcessHotKey(KeyEvent)</a></div>
  1365. <span class="small pull-right mobile-hide">
  1366. <span class="divider">|</span>
  1367. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_MenuBar_ProcessKey_Terminal_Gui_KeyEvent_.md&amp;value=---%0Auid%3A%20Terminal.Gui.MenuBar.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>
  1368. </span>
  1369. <span class="small pull-right mobile-hide">
  1370. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/Menu.cs/#L1704">View Source</a>
  1371. </span>
  1372. <a id="Terminal_Gui_MenuBar_ProcessKey_" data-uid="Terminal.Gui.MenuBar.ProcessKey*"></a>
  1373. <h4 id="Terminal_Gui_MenuBar_ProcessKey_Terminal_Gui_KeyEvent_" data-uid="Terminal.Gui.MenuBar.ProcessKey(Terminal.Gui.KeyEvent)">ProcessKey(KeyEvent)</h4>
  1374. <div class="markdown level1 summary"></div>
  1375. <div class="markdown level1 conceptual"></div>
  1376. <h5 class="decalaration">Declaration</h5>
  1377. <div class="codewrapper">
  1378. <pre><code class="lang-csharp hljs">public override bool ProcessKey(KeyEvent kb)</code></pre>
  1379. </div>
  1380. <h5 class="parameters">Parameters</h5>
  1381. <table class="table table-bordered table-striped table-condensed">
  1382. <thead>
  1383. <tr>
  1384. <th>Type</th>
  1385. <th>Name</th>
  1386. <th>Description</th>
  1387. </tr>
  1388. </thead>
  1389. <tbody>
  1390. <tr>
  1391. <td><a class="xref" href="Terminal.Gui.KeyEvent.html">KeyEvent</a></td>
  1392. <td><span class="parametername">kb</span></td>
  1393. <td></td>
  1394. </tr>
  1395. </tbody>
  1396. </table>
  1397. <h5 class="returns">Returns</h5>
  1398. <table class="table table-bordered table-striped table-condensed">
  1399. <thead>
  1400. <tr>
  1401. <th>Type</th>
  1402. <th>Description</th>
  1403. </tr>
  1404. </thead>
  1405. <tbody>
  1406. <tr>
  1407. <td><span class="xref">System.Boolean</span></td>
  1408. <td></td>
  1409. </tr>
  1410. </tbody>
  1411. </table>
  1412. <h5 class="overrides">Overrides</h5>
  1413. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ProcessKey_Terminal_Gui_KeyEvent_">View.ProcessKey(KeyEvent)</a></div>
  1414. <span class="small pull-right mobile-hide">
  1415. <span class="divider">|</span>
  1416. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_MenuBar_Redraw_Terminal_Gui_Rect_.md&amp;value=---%0Auid%3A%20Terminal.Gui.MenuBar.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>
  1417. </span>
  1418. <span class="small pull-right mobile-hide">
  1419. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/Menu.cs/#L1028">View Source</a>
  1420. </span>
  1421. <a id="Terminal_Gui_MenuBar_Redraw_" data-uid="Terminal.Gui.MenuBar.Redraw*"></a>
  1422. <h4 id="Terminal_Gui_MenuBar_Redraw_Terminal_Gui_Rect_" data-uid="Terminal.Gui.MenuBar.Redraw(Terminal.Gui.Rect)">Redraw(Rect)</h4>
  1423. <div class="markdown level1 summary"></div>
  1424. <div class="markdown level1 conceptual"></div>
  1425. <h5 class="decalaration">Declaration</h5>
  1426. <div class="codewrapper">
  1427. <pre><code class="lang-csharp hljs">public override void Redraw(Rect bounds)</code></pre>
  1428. </div>
  1429. <h5 class="parameters">Parameters</h5>
  1430. <table class="table table-bordered table-striped table-condensed">
  1431. <thead>
  1432. <tr>
  1433. <th>Type</th>
  1434. <th>Name</th>
  1435. <th>Description</th>
  1436. </tr>
  1437. </thead>
  1438. <tbody>
  1439. <tr>
  1440. <td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
  1441. <td><span class="parametername">bounds</span></td>
  1442. <td></td>
  1443. </tr>
  1444. </tbody>
  1445. </table>
  1446. <h5 class="overrides">Overrides</h5>
  1447. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Redraw_Terminal_Gui_Rect_">View.Redraw(Rect)</a></div>
  1448. <h3 id="events">Events
  1449. </h3>
  1450. <span class="small pull-right mobile-hide">
  1451. <span class="divider">|</span>
  1452. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_MenuBar_MenuAllClosed.md&amp;value=---%0Auid%3A%20Terminal.Gui.MenuBar.MenuAllClosed%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>
  1453. </span>
  1454. <span class="small pull-right mobile-hide">
  1455. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/Menu.cs/#L1116">View Source</a>
  1456. </span>
  1457. <h4 id="Terminal_Gui_MenuBar_MenuAllClosed" data-uid="Terminal.Gui.MenuBar.MenuAllClosed">MenuAllClosed</h4>
  1458. <div class="markdown level1 summary">
  1459. Raised when all the menu are closed.
  1460. </div>
  1461. <div class="markdown level1 conceptual"></div>
  1462. <h5 class="decalaration">Declaration</h5>
  1463. <div class="codewrapper">
  1464. <pre><code class="lang-csharp hljs">public event Action MenuAllClosed</code></pre>
  1465. </div>
  1466. <h5 class="eventType">Event Type</h5>
  1467. <table class="table table-bordered table-striped table-condensed">
  1468. <thead>
  1469. <tr>
  1470. <th>Type</th>
  1471. <th>Description</th>
  1472. </tr>
  1473. </thead>
  1474. <tbody>
  1475. <tr>
  1476. <td><span class="xref">System.Action</span></td>
  1477. <td></td>
  1478. </tr>
  1479. </tbody>
  1480. </table>
  1481. <span class="small pull-right mobile-hide">
  1482. <span class="divider">|</span>
  1483. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_MenuBar_MenuClosing.md&amp;value=---%0Auid%3A%20Terminal.Gui.MenuBar.MenuClosing%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>
  1484. </span>
  1485. <span class="small pull-right mobile-hide">
  1486. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/Menu.cs/#L1111">View Source</a>
  1487. </span>
  1488. <h4 id="Terminal_Gui_MenuBar_MenuClosing" data-uid="Terminal.Gui.MenuBar.MenuClosing">MenuClosing</h4>
  1489. <div class="markdown level1 summary">
  1490. Raised when a menu is closing passing <a class="xref" href="Terminal.Gui.MenuClosingEventArgs.html">MenuClosingEventArgs</a>.
  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 event Action&lt;MenuClosingEventArgs&gt; MenuClosing</code></pre>
  1496. </div>
  1497. <h5 class="eventType">Event Type</h5>
  1498. <table class="table table-bordered table-striped table-condensed">
  1499. <thead>
  1500. <tr>
  1501. <th>Type</th>
  1502. <th>Description</th>
  1503. </tr>
  1504. </thead>
  1505. <tbody>
  1506. <tr>
  1507. <td><span class="xref">System.Action</span>&lt;<a class="xref" href="Terminal.Gui.MenuClosingEventArgs.html">MenuClosingEventArgs</a>&gt;</td>
  1508. <td></td>
  1509. </tr>
  1510. </tbody>
  1511. </table>
  1512. <span class="small pull-right mobile-hide">
  1513. <span class="divider">|</span>
  1514. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_MenuBar_MenuOpened.md&amp;value=---%0Auid%3A%20Terminal.Gui.MenuBar.MenuOpened%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>
  1515. </span>
  1516. <span class="small pull-right mobile-hide">
  1517. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/Menu.cs/#L1106">View Source</a>
  1518. </span>
  1519. <h4 id="Terminal_Gui_MenuBar_MenuOpened" data-uid="Terminal.Gui.MenuBar.MenuOpened">MenuOpened</h4>
  1520. <div class="markdown level1 summary">
  1521. Raised when a menu is opened.
  1522. </div>
  1523. <div class="markdown level1 conceptual"></div>
  1524. <h5 class="decalaration">Declaration</h5>
  1525. <div class="codewrapper">
  1526. <pre><code class="lang-csharp hljs">public event Action&lt;MenuItem&gt; MenuOpened</code></pre>
  1527. </div>
  1528. <h5 class="eventType">Event Type</h5>
  1529. <table class="table table-bordered table-striped table-condensed">
  1530. <thead>
  1531. <tr>
  1532. <th>Type</th>
  1533. <th>Description</th>
  1534. </tr>
  1535. </thead>
  1536. <tbody>
  1537. <tr>
  1538. <td><span class="xref">System.Action</span>&lt;<a class="xref" href="Terminal.Gui.MenuItem.html">MenuItem</a>&gt;</td>
  1539. <td></td>
  1540. </tr>
  1541. </tbody>
  1542. </table>
  1543. <span class="small pull-right mobile-hide">
  1544. <span class="divider">|</span>
  1545. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_MenuBar_MenuOpening.md&amp;value=---%0Auid%3A%20Terminal.Gui.MenuBar.MenuOpening%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>
  1546. </span>
  1547. <span class="small pull-right mobile-hide">
  1548. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/Menu.cs/#L1101">View Source</a>
  1549. </span>
  1550. <h4 id="Terminal_Gui_MenuBar_MenuOpening" data-uid="Terminal.Gui.MenuBar.MenuOpening">MenuOpening</h4>
  1551. <div class="markdown level1 summary">
  1552. Raised as a menu is opening.
  1553. </div>
  1554. <div class="markdown level1 conceptual"></div>
  1555. <h5 class="decalaration">Declaration</h5>
  1556. <div class="codewrapper">
  1557. <pre><code class="lang-csharp hljs">public event Action&lt;MenuOpeningEventArgs&gt; MenuOpening</code></pre>
  1558. </div>
  1559. <h5 class="eventType">Event Type</h5>
  1560. <table class="table table-bordered table-striped table-condensed">
  1561. <thead>
  1562. <tr>
  1563. <th>Type</th>
  1564. <th>Description</th>
  1565. </tr>
  1566. </thead>
  1567. <tbody>
  1568. <tr>
  1569. <td><span class="xref">System.Action</span>&lt;<a class="xref" href="Terminal.Gui.MenuOpeningEventArgs.html">MenuOpeningEventArgs</a>&gt;</td>
  1570. <td></td>
  1571. </tr>
  1572. </tbody>
  1573. </table>
  1574. <h3 id="implements">Implements</h3>
  1575. <div>
  1576. <span class="xref">System.IDisposable</span>
  1577. </div>
  1578. <div>
  1579. <span class="xref">System.ComponentModel.ISupportInitializeNotification</span>
  1580. </div>
  1581. <div>
  1582. <span class="xref">System.ComponentModel.ISupportInitialize</span>
  1583. </div>
  1584. </article>
  1585. </div>
  1586. <div class="hidden-sm col-md-2" role="complementary">
  1587. <div class="sideaffix">
  1588. <div class="contribution">
  1589. <ul class="nav">
  1590. <li>
  1591. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_MenuBar.md&amp;value=---%0Auid%3A%20Terminal.Gui.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" class="contribution-link">Improve this Doc</a>
  1592. </li>
  1593. <li>
  1594. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/Menu.cs/#L848" class="contribution-link">View Source</a>
  1595. </li>
  1596. </ul>
  1597. </div>
  1598. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  1599. <h5>In This Article</h5>
  1600. <div></div>
  1601. </nav>
  1602. </div>
  1603. </div>
  1604. </div>
  1605. </div>
  1606. <footer>
  1607. <div class="grad-bottom"></div>
  1608. <div class="footer">
  1609. <div class="container">
  1610. <span class="pull-right">
  1611. <a href="#top">Back to top</a>
  1612. </span>
  1613. <span>Generated by <strong>DocFX</strong></span>
  1614. </div>
  1615. </div>
  1616. </footer>
  1617. </div>
  1618. <script type="text/javascript" src="../../styles/docfx.vendor.js"></script>
  1619. <script type="text/javascript" src="../../styles/docfx.js"></script>
  1620. <script type="text/javascript" src="../../styles/main.js"></script>
  1621. </body>
  1622. </html>