Terminal.Gui.MenuBarItem.html 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494
  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 MenuBarItem
  8. </title>
  9. <meta name="viewport" content="width=device-width">
  10. <meta name="title" content="Class MenuBarItem
  11. ">
  12. <meta name="generator" content="docfx 2.59.3.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. <meta property="docfx:navrel" content="../../toc.html">
  18. <meta property="docfx:tocrel" content="toc.html">
  19. <meta property="docfx:rel" content="../../">
  20. </head>
  21. <body data-spy="scroll" data-target="#affix" data-offset="120">
  22. <div id="wrapper">
  23. <header>
  24. <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
  25. <div class="container">
  26. <div class="navbar-header">
  27. <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
  28. <span class="sr-only">Toggle navigation</span>
  29. <span class="icon-bar"></span>
  30. <span class="icon-bar"></span>
  31. <span class="icon-bar"></span>
  32. </button>
  33. <a class="navbar-brand" href="../../index.html">
  34. <img id="logo" class="svg" src="../../images/logo48.png" alt="">
  35. </a>
  36. </div>
  37. <div class="collapse navbar-collapse" id="navbar">
  38. <form class="navbar-form navbar-right" role="search" id="search">
  39. <div class="form-group">
  40. <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
  41. </div>
  42. </form>
  43. </div>
  44. </div>
  45. </nav>
  46. <div class="subnav navbar navbar-default">
  47. <div class="container hide-when-search" id="breadcrumb">
  48. <ul class="breadcrumb">
  49. <li></li>
  50. </ul>
  51. </div>
  52. </div>
  53. </header>
  54. <div class="container body-content">
  55. <div id="search-results">
  56. <div class="search-list">Search Results for <span></span></div>
  57. <div class="sr-items">
  58. <p><i class="glyphicon glyphicon-refresh index-loading"></i></p>
  59. </div>
  60. <ul id="pagination" data-first="First" data-prev="Previous" data-next="Next" data-last="Last"></ul>
  61. </div>
  62. </div>
  63. <div role="main" class="container body-content hide-when-search">
  64. <div class="sidenav hide-when-search">
  65. <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
  66. <div class="sidetoggle collapse" id="sidetoggle">
  67. <div id="sidetoc"></div>
  68. </div>
  69. </div>
  70. <div class="article row grid-right">
  71. <div class="col-md-10">
  72. <article class="content wrap" id="_content" data-uid="Terminal.Gui.MenuBarItem">
  73. <h1 id="Terminal_Gui_MenuBarItem" data-uid="Terminal.Gui.MenuBarItem" class="text-break">Class MenuBarItem
  74. </h1>
  75. <div class="markdown level0 summary">
  76. A <a class="xref" href="Terminal.Gui.MenuBarItem.html">MenuBarItem</a> contains <a class="xref" href="Terminal.Gui.MenuBarItem.html">MenuBarItem</a>s or <a class="xref" href="Terminal.Gui.MenuItem.html">MenuItem</a>s.
  77. </div>
  78. <div class="markdown level0 conceptual"></div>
  79. <div class="inheritance">
  80. <h5>Inheritance</h5>
  81. <div class="level0"><span class="xref">System.Object</span></div>
  82. <div class="level1"><a class="xref" href="Terminal.Gui.MenuItem.html">MenuItem</a></div>
  83. <div class="level2"><span class="xref">MenuBarItem</span></div>
  84. </div>
  85. <div class="inheritedMembers">
  86. <h5>Inherited Members</h5>
  87. <div>
  88. <a class="xref" href="Terminal.Gui.MenuItem.html#Terminal_Gui_MenuItem_HotKey">MenuItem.HotKey</a>
  89. </div>
  90. <div>
  91. <a class="xref" href="Terminal.Gui.MenuItem.html#Terminal_Gui_MenuItem_IsEnabled">MenuItem.IsEnabled()</a>
  92. </div>
  93. <div>
  94. <a class="xref" href="Terminal.Gui.MenuItem.html#Terminal_Gui_MenuItem_GetMenuItem">MenuItem.GetMenuItem()</a>
  95. </div>
  96. <div>
  97. <a class="xref" href="Terminal.Gui.MenuItem.html#Terminal_Gui_MenuItem_GetMenuBarItem">MenuItem.GetMenuBarItem()</a>
  98. </div>
  99. <div>
  100. <a class="xref" href="Terminal.Gui.MenuItem.html#Terminal_Gui_MenuItem_Data">MenuItem.Data</a>
  101. </div>
  102. <div>
  103. <a class="xref" href="Terminal.Gui.MenuItem.html#Terminal_Gui_MenuItem_Shortcut">MenuItem.Shortcut</a>
  104. </div>
  105. <div>
  106. <a class="xref" href="Terminal.Gui.MenuItem.html#Terminal_Gui_MenuItem_ShortcutTag">MenuItem.ShortcutTag</a>
  107. </div>
  108. <div>
  109. <a class="xref" href="Terminal.Gui.MenuItem.html#Terminal_Gui_MenuItem_Title">MenuItem.Title</a>
  110. </div>
  111. <div>
  112. <a class="xref" href="Terminal.Gui.MenuItem.html#Terminal_Gui_MenuItem_Help">MenuItem.Help</a>
  113. </div>
  114. <div>
  115. <a class="xref" href="Terminal.Gui.MenuItem.html#Terminal_Gui_MenuItem_Action">MenuItem.Action</a>
  116. </div>
  117. <div>
  118. <a class="xref" href="Terminal.Gui.MenuItem.html#Terminal_Gui_MenuItem_CanExecute">MenuItem.CanExecute</a>
  119. </div>
  120. <div>
  121. <a class="xref" href="Terminal.Gui.MenuItem.html#Terminal_Gui_MenuItem_Checked">MenuItem.Checked</a>
  122. </div>
  123. <div>
  124. <a class="xref" href="Terminal.Gui.MenuItem.html#Terminal_Gui_MenuItem_CheckType">MenuItem.CheckType</a>
  125. </div>
  126. <div>
  127. <a class="xref" href="Terminal.Gui.MenuItem.html#Terminal_Gui_MenuItem_Parent">MenuItem.Parent</a>
  128. </div>
  129. </div>
  130. <h6><strong>Namespace</strong>: <a class="xref" href="Terminal.Gui.html">Terminal.Gui</a></h6>
  131. <h6><strong>Assembly</strong>: Terminal.Gui.dll</h6>
  132. <h5 id="Terminal_Gui_MenuBarItem_syntax">Syntax</h5>
  133. <div class="codewrapper">
  134. <pre><code class="lang-csharp hljs">public class MenuBarItem : MenuItem</code></pre>
  135. </div>
  136. <h3 id="constructors">Constructors
  137. </h3>
  138. <a id="Terminal_Gui_MenuBarItem__ctor_" data-uid="Terminal.Gui.MenuBarItem.#ctor*"></a>
  139. <h4 id="Terminal_Gui_MenuBarItem__ctor" data-uid="Terminal.Gui.MenuBarItem.#ctor">MenuBarItem()</h4>
  140. <div class="markdown level1 summary">
  141. Initializes a new <a class="xref" href="Terminal.Gui.MenuBarItem.html">MenuBarItem</a>.
  142. </div>
  143. <div class="markdown level1 conceptual"></div>
  144. <h5 class="decalaration">Declaration</h5>
  145. <div class="codewrapper">
  146. <pre><code class="lang-csharp hljs">public MenuBarItem()</code></pre>
  147. </div>
  148. <a id="Terminal_Gui_MenuBarItem__ctor_" data-uid="Terminal.Gui.MenuBarItem.#ctor*"></a>
  149. <h4 id="Terminal_Gui_MenuBarItem__ctor_NStack_ustring_NStack_ustring_System_Action_System_Func_System_Boolean__Terminal_Gui_MenuItem_" data-uid="Terminal.Gui.MenuBarItem.#ctor(NStack.ustring,NStack.ustring,System.Action,System.Func{System.Boolean},Terminal.Gui.MenuItem)">MenuBarItem(ustring, ustring, Action, Func&lt;Boolean&gt;, MenuItem)</h4>
  150. <div class="markdown level1 summary">
  151. Initializes a new <a class="xref" href="Terminal.Gui.MenuBarItem.html">MenuBarItem</a> as a <a class="xref" href="Terminal.Gui.MenuItem.html">MenuItem</a>.
  152. </div>
  153. <div class="markdown level1 conceptual"></div>
  154. <h5 class="decalaration">Declaration</h5>
  155. <div class="codewrapper">
  156. <pre><code class="lang-csharp hljs">public MenuBarItem(ustring title, ustring help, Action action, Func&lt;bool&gt; canExecute = null, MenuItem parent = null)</code></pre>
  157. </div>
  158. <h5 class="parameters">Parameters</h5>
  159. <table class="table table-bordered table-striped table-condensed">
  160. <thead>
  161. <tr>
  162. <th>Type</th>
  163. <th>Name</th>
  164. <th>Description</th>
  165. </tr>
  166. </thead>
  167. <tbody>
  168. <tr>
  169. <td><span class="xref">NStack.ustring</span></td>
  170. <td><span class="parametername">title</span></td>
  171. <td>Title for the menu item.</td>
  172. </tr>
  173. <tr>
  174. <td><span class="xref">NStack.ustring</span></td>
  175. <td><span class="parametername">help</span></td>
  176. <td>Help text to display.</td>
  177. </tr>
  178. <tr>
  179. <td><span class="xref">System.Action</span></td>
  180. <td><span class="parametername">action</span></td>
  181. <td>Action to invoke when the menu item is activated.</td>
  182. </tr>
  183. <tr>
  184. <td><span class="xref">System.Func</span>&lt;<span class="xref">System.Boolean</span>&gt;</td>
  185. <td><span class="parametername">canExecute</span></td>
  186. <td>Function to determine if the action can currently be executed.</td>
  187. </tr>
  188. <tr>
  189. <td><a class="xref" href="Terminal.Gui.MenuItem.html">MenuItem</a></td>
  190. <td><span class="parametername">parent</span></td>
  191. <td>The parent <a class="xref" href="Terminal.Gui.MenuItem.html">MenuItem</a> of this if exist, otherwise is null.</td>
  192. </tr>
  193. </tbody>
  194. </table>
  195. <a id="Terminal_Gui_MenuBarItem__ctor_" data-uid="Terminal.Gui.MenuBarItem.#ctor*"></a>
  196. <h4 id="Terminal_Gui_MenuBarItem__ctor_NStack_ustring_System_Collections_Generic_List_Terminal_Gui_MenuItem____Terminal_Gui_MenuItem_" data-uid="Terminal.Gui.MenuBarItem.#ctor(NStack.ustring,System.Collections.Generic.List{Terminal.Gui.MenuItem[]},Terminal.Gui.MenuItem)">MenuBarItem(ustring, List&lt;MenuItem[]&gt;, MenuItem)</h4>
  197. <div class="markdown level1 summary">
  198. Initializes a new <a class="xref" href="Terminal.Gui.MenuBarItem.html">MenuBarItem</a> with separate list of items.
  199. </div>
  200. <div class="markdown level1 conceptual"></div>
  201. <h5 class="decalaration">Declaration</h5>
  202. <div class="codewrapper">
  203. <pre><code class="lang-csharp hljs">public MenuBarItem(ustring title, List&lt;MenuItem[]&gt; children, MenuItem parent = null)</code></pre>
  204. </div>
  205. <h5 class="parameters">Parameters</h5>
  206. <table class="table table-bordered table-striped table-condensed">
  207. <thead>
  208. <tr>
  209. <th>Type</th>
  210. <th>Name</th>
  211. <th>Description</th>
  212. </tr>
  213. </thead>
  214. <tbody>
  215. <tr>
  216. <td><span class="xref">NStack.ustring</span></td>
  217. <td><span class="parametername">title</span></td>
  218. <td>Title for the menu item.</td>
  219. </tr>
  220. <tr>
  221. <td><span class="xref">System.Collections.Generic.List</span>&lt;<a class="xref" href="Terminal.Gui.MenuItem.html">MenuItem</a>[]&gt;</td>
  222. <td><span class="parametername">children</span></td>
  223. <td>The list of items in the current menu.</td>
  224. </tr>
  225. <tr>
  226. <td><a class="xref" href="Terminal.Gui.MenuItem.html">MenuItem</a></td>
  227. <td><span class="parametername">parent</span></td>
  228. <td>The parent <a class="xref" href="Terminal.Gui.MenuItem.html">MenuItem</a> of this if exist, otherwise is null.</td>
  229. </tr>
  230. </tbody>
  231. </table>
  232. <a id="Terminal_Gui_MenuBarItem__ctor_" data-uid="Terminal.Gui.MenuBarItem.#ctor*"></a>
  233. <h4 id="Terminal_Gui_MenuBarItem__ctor_NStack_ustring_Terminal_Gui_MenuItem___Terminal_Gui_MenuItem_" data-uid="Terminal.Gui.MenuBarItem.#ctor(NStack.ustring,Terminal.Gui.MenuItem[],Terminal.Gui.MenuItem)">MenuBarItem(ustring, MenuItem[], MenuItem)</h4>
  234. <div class="markdown level1 summary">
  235. Initializes a new <a class="xref" href="Terminal.Gui.MenuBarItem.html">MenuBarItem</a>.
  236. </div>
  237. <div class="markdown level1 conceptual"></div>
  238. <h5 class="decalaration">Declaration</h5>
  239. <div class="codewrapper">
  240. <pre><code class="lang-csharp hljs">public MenuBarItem(ustring title, MenuItem[] children, MenuItem parent = null)</code></pre>
  241. </div>
  242. <h5 class="parameters">Parameters</h5>
  243. <table class="table table-bordered table-striped table-condensed">
  244. <thead>
  245. <tr>
  246. <th>Type</th>
  247. <th>Name</th>
  248. <th>Description</th>
  249. </tr>
  250. </thead>
  251. <tbody>
  252. <tr>
  253. <td><span class="xref">NStack.ustring</span></td>
  254. <td><span class="parametername">title</span></td>
  255. <td>Title for the menu item.</td>
  256. </tr>
  257. <tr>
  258. <td><a class="xref" href="Terminal.Gui.MenuItem.html">MenuItem</a>[]</td>
  259. <td><span class="parametername">children</span></td>
  260. <td>The items in the current menu.</td>
  261. </tr>
  262. <tr>
  263. <td><a class="xref" href="Terminal.Gui.MenuItem.html">MenuItem</a></td>
  264. <td><span class="parametername">parent</span></td>
  265. <td>The parent <a class="xref" href="Terminal.Gui.MenuItem.html">MenuItem</a> of this if exist, otherwise is null.</td>
  266. </tr>
  267. </tbody>
  268. </table>
  269. <a id="Terminal_Gui_MenuBarItem__ctor_" data-uid="Terminal.Gui.MenuBarItem.#ctor*"></a>
  270. <h4 id="Terminal_Gui_MenuBarItem__ctor_Terminal_Gui_MenuItem___" data-uid="Terminal.Gui.MenuBarItem.#ctor(Terminal.Gui.MenuItem[])">MenuBarItem(MenuItem[])</h4>
  271. <div class="markdown level1 summary">
  272. Initializes a new <a class="xref" href="Terminal.Gui.MenuBarItem.html">MenuBarItem</a>.
  273. </div>
  274. <div class="markdown level1 conceptual"></div>
  275. <h5 class="decalaration">Declaration</h5>
  276. <div class="codewrapper">
  277. <pre><code class="lang-csharp hljs">public MenuBarItem(MenuItem[] children)</code></pre>
  278. </div>
  279. <h5 class="parameters">Parameters</h5>
  280. <table class="table table-bordered table-striped table-condensed">
  281. <thead>
  282. <tr>
  283. <th>Type</th>
  284. <th>Name</th>
  285. <th>Description</th>
  286. </tr>
  287. </thead>
  288. <tbody>
  289. <tr>
  290. <td><a class="xref" href="Terminal.Gui.MenuItem.html">MenuItem</a>[]</td>
  291. <td><span class="parametername">children</span></td>
  292. <td>The items in the current menu.</td>
  293. </tr>
  294. </tbody>
  295. </table>
  296. <h3 id="properties">Properties
  297. </h3>
  298. <a id="Terminal_Gui_MenuBarItem_Children_" data-uid="Terminal.Gui.MenuBarItem.Children*"></a>
  299. <h4 id="Terminal_Gui_MenuBarItem_Children" data-uid="Terminal.Gui.MenuBarItem.Children">Children</h4>
  300. <div class="markdown level1 summary">
  301. Gets or sets an array of <a class="xref" href="Terminal.Gui.MenuItem.html">MenuItem</a> objects that are the children of this <a class="xref" href="Terminal.Gui.MenuBarItem.html">MenuBarItem</a>
  302. </div>
  303. <div class="markdown level1 conceptual"></div>
  304. <h5 class="decalaration">Declaration</h5>
  305. <div class="codewrapper">
  306. <pre><code class="lang-csharp hljs">public MenuItem[] Children { get; set; }</code></pre>
  307. </div>
  308. <h5 class="propertyValue">Property Value</h5>
  309. <table class="table table-bordered table-striped table-condensed">
  310. <thead>
  311. <tr>
  312. <th>Type</th>
  313. <th>Description</th>
  314. </tr>
  315. </thead>
  316. <tbody>
  317. <tr>
  318. <td><a class="xref" href="Terminal.Gui.MenuItem.html">MenuItem</a>[]</td>
  319. <td>The children.</td>
  320. </tr>
  321. </tbody>
  322. </table>
  323. <h3 id="methods">Methods
  324. </h3>
  325. <a id="Terminal_Gui_MenuBarItem_GetChildrenIndex_" data-uid="Terminal.Gui.MenuBarItem.GetChildrenIndex*"></a>
  326. <h4 id="Terminal_Gui_MenuBarItem_GetChildrenIndex_Terminal_Gui_MenuItem_" data-uid="Terminal.Gui.MenuBarItem.GetChildrenIndex(Terminal.Gui.MenuItem)">GetChildrenIndex(MenuItem)</h4>
  327. <div class="markdown level1 summary">
  328. Get the index of the <a class="xref" href="Terminal.Gui.MenuItem.html">MenuItem</a> parameter.
  329. </div>
  330. <div class="markdown level1 conceptual"></div>
  331. <h5 class="decalaration">Declaration</h5>
  332. <div class="codewrapper">
  333. <pre><code class="lang-csharp hljs">public int GetChildrenIndex(MenuItem children)</code></pre>
  334. </div>
  335. <h5 class="parameters">Parameters</h5>
  336. <table class="table table-bordered table-striped table-condensed">
  337. <thead>
  338. <tr>
  339. <th>Type</th>
  340. <th>Name</th>
  341. <th>Description</th>
  342. </tr>
  343. </thead>
  344. <tbody>
  345. <tr>
  346. <td><a class="xref" href="Terminal.Gui.MenuItem.html">MenuItem</a></td>
  347. <td><span class="parametername">children</span></td>
  348. <td></td>
  349. </tr>
  350. </tbody>
  351. </table>
  352. <h5 class="returns">Returns</h5>
  353. <table class="table table-bordered table-striped table-condensed">
  354. <thead>
  355. <tr>
  356. <th>Type</th>
  357. <th>Description</th>
  358. </tr>
  359. </thead>
  360. <tbody>
  361. <tr>
  362. <td><span class="xref">System.Int32</span></td>
  363. <td>Returns a value bigger than -1 if the <a class="xref" href="Terminal.Gui.MenuItem.html">MenuItem</a> is a child of this.</td>
  364. </tr>
  365. </tbody>
  366. </table>
  367. <a id="Terminal_Gui_MenuBarItem_IsSubMenuOf_" data-uid="Terminal.Gui.MenuBarItem.IsSubMenuOf*"></a>
  368. <h4 id="Terminal_Gui_MenuBarItem_IsSubMenuOf_Terminal_Gui_MenuItem_" data-uid="Terminal.Gui.MenuBarItem.IsSubMenuOf(Terminal.Gui.MenuItem)">IsSubMenuOf(MenuItem)</h4>
  369. <div class="markdown level1 summary">
  370. Check if the <a class="xref" href="Terminal.Gui.MenuItem.html">MenuItem</a> parameter is a child of this.
  371. </div>
  372. <div class="markdown level1 conceptual"></div>
  373. <h5 class="decalaration">Declaration</h5>
  374. <div class="codewrapper">
  375. <pre><code class="lang-csharp hljs">public bool IsSubMenuOf(MenuItem menuItem)</code></pre>
  376. </div>
  377. <h5 class="parameters">Parameters</h5>
  378. <table class="table table-bordered table-striped table-condensed">
  379. <thead>
  380. <tr>
  381. <th>Type</th>
  382. <th>Name</th>
  383. <th>Description</th>
  384. </tr>
  385. </thead>
  386. <tbody>
  387. <tr>
  388. <td><a class="xref" href="Terminal.Gui.MenuItem.html">MenuItem</a></td>
  389. <td><span class="parametername">menuItem</span></td>
  390. <td></td>
  391. </tr>
  392. </tbody>
  393. </table>
  394. <h5 class="returns">Returns</h5>
  395. <table class="table table-bordered table-striped table-condensed">
  396. <thead>
  397. <tr>
  398. <th>Type</th>
  399. <th>Description</th>
  400. </tr>
  401. </thead>
  402. <tbody>
  403. <tr>
  404. <td><span class="xref">System.Boolean</span></td>
  405. <td>Returns <code>true</code> if it is a child of this. <code>false</code> otherwise.</td>
  406. </tr>
  407. </tbody>
  408. </table>
  409. <a id="Terminal_Gui_MenuBarItem_SubMenu_" data-uid="Terminal.Gui.MenuBarItem.SubMenu*"></a>
  410. <h4 id="Terminal_Gui_MenuBarItem_SubMenu_Terminal_Gui_MenuItem_" data-uid="Terminal.Gui.MenuBarItem.SubMenu(Terminal.Gui.MenuItem)">SubMenu(MenuItem)</h4>
  411. <div class="markdown level1 summary">
  412. Check if the children parameter is a <a class="xref" href="Terminal.Gui.MenuBarItem.html">MenuBarItem</a>.
  413. </div>
  414. <div class="markdown level1 conceptual"></div>
  415. <h5 class="decalaration">Declaration</h5>
  416. <div class="codewrapper">
  417. <pre><code class="lang-csharp hljs">public MenuBarItem SubMenu(MenuItem children)</code></pre>
  418. </div>
  419. <h5 class="parameters">Parameters</h5>
  420. <table class="table table-bordered table-striped table-condensed">
  421. <thead>
  422. <tr>
  423. <th>Type</th>
  424. <th>Name</th>
  425. <th>Description</th>
  426. </tr>
  427. </thead>
  428. <tbody>
  429. <tr>
  430. <td><a class="xref" href="Terminal.Gui.MenuItem.html">MenuItem</a></td>
  431. <td><span class="parametername">children</span></td>
  432. <td></td>
  433. </tr>
  434. </tbody>
  435. </table>
  436. <h5 class="returns">Returns</h5>
  437. <table class="table table-bordered table-striped table-condensed">
  438. <thead>
  439. <tr>
  440. <th>Type</th>
  441. <th>Description</th>
  442. </tr>
  443. </thead>
  444. <tbody>
  445. <tr>
  446. <td><a class="xref" href="Terminal.Gui.MenuBarItem.html">MenuBarItem</a></td>
  447. <td>Returns a <a class="xref" href="Terminal.Gui.MenuBarItem.html">MenuBarItem</a> or null otherwise.</td>
  448. </tr>
  449. </tbody>
  450. </table>
  451. </article>
  452. </div>
  453. <div class="hidden-sm col-md-2" role="complementary">
  454. <div class="sideaffix">
  455. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  456. <h5>In This Article</h5>
  457. <div></div>
  458. </nav>
  459. </div>
  460. </div>
  461. </div>
  462. </div>
  463. <footer>
  464. <div class="grad-bottom"></div>
  465. <div class="footer">
  466. <div class="container">
  467. <span class="pull-right">
  468. <a href="#top">Back to top</a>
  469. </span>
  470. <span>Generated by <strong>DocFX</strong></span>
  471. </div>
  472. </div>
  473. </footer>
  474. </div>
  475. <script type="text/javascript" src="../../styles/docfx.vendor.js"></script>
  476. <script type="text/javascript" src="../../styles/docfx.js"></script>
  477. <script type="text/javascript" src="../../styles/main.js"></script>
  478. </body>
  479. </html>