Terminal.Gui.MenuBarItem.html 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495
  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. <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.MenuBarItem">
  74. <h1 id="Terminal_Gui_MenuBarItem" data-uid="Terminal.Gui.MenuBarItem" class="text-break">Class MenuBarItem
  75. </h1>
  76. <div class="markdown level0 summary">
  77. 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.
  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.MenuItem.html">MenuItem</a></div>
  84. <div class="level2"><span class="xref">MenuBarItem</span></div>
  85. </div>
  86. <div class="inheritedMembers">
  87. <h5>Inherited Members</h5>
  88. <div>
  89. <a class="xref" href="Terminal.Gui.MenuItem.html#Terminal_Gui_MenuItem_HotKey">MenuItem.HotKey</a>
  90. </div>
  91. <div>
  92. <a class="xref" href="Terminal.Gui.MenuItem.html#Terminal_Gui_MenuItem_IsEnabled">MenuItem.IsEnabled()</a>
  93. </div>
  94. <div>
  95. <a class="xref" href="Terminal.Gui.MenuItem.html#Terminal_Gui_MenuItem_GetMenuItem">MenuItem.GetMenuItem()</a>
  96. </div>
  97. <div>
  98. <a class="xref" href="Terminal.Gui.MenuItem.html#Terminal_Gui_MenuItem_GetMenuBarItem">MenuItem.GetMenuBarItem()</a>
  99. </div>
  100. <div>
  101. <a class="xref" href="Terminal.Gui.MenuItem.html#Terminal_Gui_MenuItem_Data">MenuItem.Data</a>
  102. </div>
  103. <div>
  104. <a class="xref" href="Terminal.Gui.MenuItem.html#Terminal_Gui_MenuItem_Shortcut">MenuItem.Shortcut</a>
  105. </div>
  106. <div>
  107. <a class="xref" href="Terminal.Gui.MenuItem.html#Terminal_Gui_MenuItem_ShortcutTag">MenuItem.ShortcutTag</a>
  108. </div>
  109. <div>
  110. <a class="xref" href="Terminal.Gui.MenuItem.html#Terminal_Gui_MenuItem_Title">MenuItem.Title</a>
  111. </div>
  112. <div>
  113. <a class="xref" href="Terminal.Gui.MenuItem.html#Terminal_Gui_MenuItem_Help">MenuItem.Help</a>
  114. </div>
  115. <div>
  116. <a class="xref" href="Terminal.Gui.MenuItem.html#Terminal_Gui_MenuItem_Action">MenuItem.Action</a>
  117. </div>
  118. <div>
  119. <a class="xref" href="Terminal.Gui.MenuItem.html#Terminal_Gui_MenuItem_CanExecute">MenuItem.CanExecute</a>
  120. </div>
  121. <div>
  122. <a class="xref" href="Terminal.Gui.MenuItem.html#Terminal_Gui_MenuItem_Checked">MenuItem.Checked</a>
  123. </div>
  124. <div>
  125. <a class="xref" href="Terminal.Gui.MenuItem.html#Terminal_Gui_MenuItem_CheckType">MenuItem.CheckType</a>
  126. </div>
  127. <div>
  128. <a class="xref" href="Terminal.Gui.MenuItem.html#Terminal_Gui_MenuItem_Parent">MenuItem.Parent</a>
  129. </div>
  130. </div>
  131. <h6><strong>Namespace</strong>: <a class="xref" href="Terminal.Gui.html">Terminal.Gui</a></h6>
  132. <h6><strong>Assembly</strong>: Terminal.Gui.dll</h6>
  133. <h5 id="Terminal_Gui_MenuBarItem_syntax">Syntax</h5>
  134. <div class="codewrapper">
  135. <pre><code class="lang-csharp hljs">public class MenuBarItem : MenuItem</code></pre>
  136. </div>
  137. <h3 id="constructors">Constructors
  138. </h3>
  139. <a id="Terminal_Gui_MenuBarItem__ctor_" data-uid="Terminal.Gui.MenuBarItem.#ctor*"></a>
  140. <h4 id="Terminal_Gui_MenuBarItem__ctor" data-uid="Terminal.Gui.MenuBarItem.#ctor">MenuBarItem()</h4>
  141. <div class="markdown level1 summary">
  142. Initializes a new <a class="xref" href="Terminal.Gui.MenuBarItem.html">MenuBarItem</a>.
  143. </div>
  144. <div class="markdown level1 conceptual"></div>
  145. <h5 class="decalaration">Declaration</h5>
  146. <div class="codewrapper">
  147. <pre><code class="lang-csharp hljs">public MenuBarItem()</code></pre>
  148. </div>
  149. <a id="Terminal_Gui_MenuBarItem__ctor_" data-uid="Terminal.Gui.MenuBarItem.#ctor*"></a>
  150. <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>
  151. <div class="markdown level1 summary">
  152. 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>.
  153. </div>
  154. <div class="markdown level1 conceptual"></div>
  155. <h5 class="decalaration">Declaration</h5>
  156. <div class="codewrapper">
  157. <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>
  158. </div>
  159. <h5 class="parameters">Parameters</h5>
  160. <table class="table table-bordered table-striped table-condensed">
  161. <thead>
  162. <tr>
  163. <th>Type</th>
  164. <th>Name</th>
  165. <th>Description</th>
  166. </tr>
  167. </thead>
  168. <tbody>
  169. <tr>
  170. <td><span class="xref">NStack.ustring</span></td>
  171. <td><span class="parametername">title</span></td>
  172. <td>Title for the menu item.</td>
  173. </tr>
  174. <tr>
  175. <td><span class="xref">NStack.ustring</span></td>
  176. <td><span class="parametername">help</span></td>
  177. <td>Help text to display.</td>
  178. </tr>
  179. <tr>
  180. <td><span class="xref">System.Action</span></td>
  181. <td><span class="parametername">action</span></td>
  182. <td>Action to invoke when the menu item is activated.</td>
  183. </tr>
  184. <tr>
  185. <td><span class="xref">System.Func</span>&lt;<span class="xref">System.Boolean</span>&gt;</td>
  186. <td><span class="parametername">canExecute</span></td>
  187. <td>Function to determine if the action can currently be executed.</td>
  188. </tr>
  189. <tr>
  190. <td><a class="xref" href="Terminal.Gui.MenuItem.html">MenuItem</a></td>
  191. <td><span class="parametername">parent</span></td>
  192. <td>The parent <a class="xref" href="Terminal.Gui.MenuItem.html">MenuItem</a> of this if exist, otherwise is null.</td>
  193. </tr>
  194. </tbody>
  195. </table>
  196. <a id="Terminal_Gui_MenuBarItem__ctor_" data-uid="Terminal.Gui.MenuBarItem.#ctor*"></a>
  197. <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>
  198. <div class="markdown level1 summary">
  199. Initializes a new <a class="xref" href="Terminal.Gui.MenuBarItem.html">MenuBarItem</a> with separate list of items.
  200. </div>
  201. <div class="markdown level1 conceptual"></div>
  202. <h5 class="decalaration">Declaration</h5>
  203. <div class="codewrapper">
  204. <pre><code class="lang-csharp hljs">public MenuBarItem(ustring title, List&lt;MenuItem[]&gt; children, MenuItem parent = null)</code></pre>
  205. </div>
  206. <h5 class="parameters">Parameters</h5>
  207. <table class="table table-bordered table-striped table-condensed">
  208. <thead>
  209. <tr>
  210. <th>Type</th>
  211. <th>Name</th>
  212. <th>Description</th>
  213. </tr>
  214. </thead>
  215. <tbody>
  216. <tr>
  217. <td><span class="xref">NStack.ustring</span></td>
  218. <td><span class="parametername">title</span></td>
  219. <td>Title for the menu item.</td>
  220. </tr>
  221. <tr>
  222. <td><span class="xref">System.Collections.Generic.List</span>&lt;<a class="xref" href="Terminal.Gui.MenuItem.html">MenuItem</a>[]&gt;</td>
  223. <td><span class="parametername">children</span></td>
  224. <td>The list of items in the current menu.</td>
  225. </tr>
  226. <tr>
  227. <td><a class="xref" href="Terminal.Gui.MenuItem.html">MenuItem</a></td>
  228. <td><span class="parametername">parent</span></td>
  229. <td>The parent <a class="xref" href="Terminal.Gui.MenuItem.html">MenuItem</a> of this if exist, otherwise is null.</td>
  230. </tr>
  231. </tbody>
  232. </table>
  233. <a id="Terminal_Gui_MenuBarItem__ctor_" data-uid="Terminal.Gui.MenuBarItem.#ctor*"></a>
  234. <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>
  235. <div class="markdown level1 summary">
  236. Initializes a new <a class="xref" href="Terminal.Gui.MenuBarItem.html">MenuBarItem</a>.
  237. </div>
  238. <div class="markdown level1 conceptual"></div>
  239. <h5 class="decalaration">Declaration</h5>
  240. <div class="codewrapper">
  241. <pre><code class="lang-csharp hljs">public MenuBarItem(ustring title, MenuItem[] children, MenuItem parent = null)</code></pre>
  242. </div>
  243. <h5 class="parameters">Parameters</h5>
  244. <table class="table table-bordered table-striped table-condensed">
  245. <thead>
  246. <tr>
  247. <th>Type</th>
  248. <th>Name</th>
  249. <th>Description</th>
  250. </tr>
  251. </thead>
  252. <tbody>
  253. <tr>
  254. <td><span class="xref">NStack.ustring</span></td>
  255. <td><span class="parametername">title</span></td>
  256. <td>Title for the menu item.</td>
  257. </tr>
  258. <tr>
  259. <td><a class="xref" href="Terminal.Gui.MenuItem.html">MenuItem</a>[]</td>
  260. <td><span class="parametername">children</span></td>
  261. <td>The items in the current menu.</td>
  262. </tr>
  263. <tr>
  264. <td><a class="xref" href="Terminal.Gui.MenuItem.html">MenuItem</a></td>
  265. <td><span class="parametername">parent</span></td>
  266. <td>The parent <a class="xref" href="Terminal.Gui.MenuItem.html">MenuItem</a> of this if exist, otherwise is null.</td>
  267. </tr>
  268. </tbody>
  269. </table>
  270. <a id="Terminal_Gui_MenuBarItem__ctor_" data-uid="Terminal.Gui.MenuBarItem.#ctor*"></a>
  271. <h4 id="Terminal_Gui_MenuBarItem__ctor_Terminal_Gui_MenuItem___" data-uid="Terminal.Gui.MenuBarItem.#ctor(Terminal.Gui.MenuItem[])">MenuBarItem(MenuItem[])</h4>
  272. <div class="markdown level1 summary">
  273. Initializes a new <a class="xref" href="Terminal.Gui.MenuBarItem.html">MenuBarItem</a>.
  274. </div>
  275. <div class="markdown level1 conceptual"></div>
  276. <h5 class="decalaration">Declaration</h5>
  277. <div class="codewrapper">
  278. <pre><code class="lang-csharp hljs">public MenuBarItem(MenuItem[] children)</code></pre>
  279. </div>
  280. <h5 class="parameters">Parameters</h5>
  281. <table class="table table-bordered table-striped table-condensed">
  282. <thead>
  283. <tr>
  284. <th>Type</th>
  285. <th>Name</th>
  286. <th>Description</th>
  287. </tr>
  288. </thead>
  289. <tbody>
  290. <tr>
  291. <td><a class="xref" href="Terminal.Gui.MenuItem.html">MenuItem</a>[]</td>
  292. <td><span class="parametername">children</span></td>
  293. <td>The items in the current menu.</td>
  294. </tr>
  295. </tbody>
  296. </table>
  297. <h3 id="properties">Properties
  298. </h3>
  299. <a id="Terminal_Gui_MenuBarItem_Children_" data-uid="Terminal.Gui.MenuBarItem.Children*"></a>
  300. <h4 id="Terminal_Gui_MenuBarItem_Children" data-uid="Terminal.Gui.MenuBarItem.Children">Children</h4>
  301. <div class="markdown level1 summary">
  302. 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>
  303. </div>
  304. <div class="markdown level1 conceptual"></div>
  305. <h5 class="decalaration">Declaration</h5>
  306. <div class="codewrapper">
  307. <pre><code class="lang-csharp hljs">public MenuItem[] Children { get; set; }</code></pre>
  308. </div>
  309. <h5 class="propertyValue">Property Value</h5>
  310. <table class="table table-bordered table-striped table-condensed">
  311. <thead>
  312. <tr>
  313. <th>Type</th>
  314. <th>Description</th>
  315. </tr>
  316. </thead>
  317. <tbody>
  318. <tr>
  319. <td><a class="xref" href="Terminal.Gui.MenuItem.html">MenuItem</a>[]</td>
  320. <td>The children.</td>
  321. </tr>
  322. </tbody>
  323. </table>
  324. <h3 id="methods">Methods
  325. </h3>
  326. <a id="Terminal_Gui_MenuBarItem_GetChildrenIndex_" data-uid="Terminal.Gui.MenuBarItem.GetChildrenIndex*"></a>
  327. <h4 id="Terminal_Gui_MenuBarItem_GetChildrenIndex_Terminal_Gui_MenuItem_" data-uid="Terminal.Gui.MenuBarItem.GetChildrenIndex(Terminal.Gui.MenuItem)">GetChildrenIndex(MenuItem)</h4>
  328. <div class="markdown level1 summary">
  329. Get the index of the <a class="xref" href="Terminal.Gui.MenuItem.html">MenuItem</a> parameter.
  330. </div>
  331. <div class="markdown level1 conceptual"></div>
  332. <h5 class="decalaration">Declaration</h5>
  333. <div class="codewrapper">
  334. <pre><code class="lang-csharp hljs">public int GetChildrenIndex(MenuItem children)</code></pre>
  335. </div>
  336. <h5 class="parameters">Parameters</h5>
  337. <table class="table table-bordered table-striped table-condensed">
  338. <thead>
  339. <tr>
  340. <th>Type</th>
  341. <th>Name</th>
  342. <th>Description</th>
  343. </tr>
  344. </thead>
  345. <tbody>
  346. <tr>
  347. <td><a class="xref" href="Terminal.Gui.MenuItem.html">MenuItem</a></td>
  348. <td><span class="parametername">children</span></td>
  349. <td></td>
  350. </tr>
  351. </tbody>
  352. </table>
  353. <h5 class="returns">Returns</h5>
  354. <table class="table table-bordered table-striped table-condensed">
  355. <thead>
  356. <tr>
  357. <th>Type</th>
  358. <th>Description</th>
  359. </tr>
  360. </thead>
  361. <tbody>
  362. <tr>
  363. <td><span class="xref">System.Int32</span></td>
  364. <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>
  365. </tr>
  366. </tbody>
  367. </table>
  368. <a id="Terminal_Gui_MenuBarItem_IsSubMenuOf_" data-uid="Terminal.Gui.MenuBarItem.IsSubMenuOf*"></a>
  369. <h4 id="Terminal_Gui_MenuBarItem_IsSubMenuOf_Terminal_Gui_MenuItem_" data-uid="Terminal.Gui.MenuBarItem.IsSubMenuOf(Terminal.Gui.MenuItem)">IsSubMenuOf(MenuItem)</h4>
  370. <div class="markdown level1 summary">
  371. Check if the <a class="xref" href="Terminal.Gui.MenuItem.html">MenuItem</a> parameter is a child of this.
  372. </div>
  373. <div class="markdown level1 conceptual"></div>
  374. <h5 class="decalaration">Declaration</h5>
  375. <div class="codewrapper">
  376. <pre><code class="lang-csharp hljs">public bool IsSubMenuOf(MenuItem menuItem)</code></pre>
  377. </div>
  378. <h5 class="parameters">Parameters</h5>
  379. <table class="table table-bordered table-striped table-condensed">
  380. <thead>
  381. <tr>
  382. <th>Type</th>
  383. <th>Name</th>
  384. <th>Description</th>
  385. </tr>
  386. </thead>
  387. <tbody>
  388. <tr>
  389. <td><a class="xref" href="Terminal.Gui.MenuItem.html">MenuItem</a></td>
  390. <td><span class="parametername">menuItem</span></td>
  391. <td></td>
  392. </tr>
  393. </tbody>
  394. </table>
  395. <h5 class="returns">Returns</h5>
  396. <table class="table table-bordered table-striped table-condensed">
  397. <thead>
  398. <tr>
  399. <th>Type</th>
  400. <th>Description</th>
  401. </tr>
  402. </thead>
  403. <tbody>
  404. <tr>
  405. <td><span class="xref">System.Boolean</span></td>
  406. <td>Returns <code>true</code> if it is a child of this. <code>false</code> otherwise.</td>
  407. </tr>
  408. </tbody>
  409. </table>
  410. <a id="Terminal_Gui_MenuBarItem_SubMenu_" data-uid="Terminal.Gui.MenuBarItem.SubMenu*"></a>
  411. <h4 id="Terminal_Gui_MenuBarItem_SubMenu_Terminal_Gui_MenuItem_" data-uid="Terminal.Gui.MenuBarItem.SubMenu(Terminal.Gui.MenuItem)">SubMenu(MenuItem)</h4>
  412. <div class="markdown level1 summary">
  413. Check if the children parameter is a <a class="xref" href="Terminal.Gui.MenuBarItem.html">MenuBarItem</a>.
  414. </div>
  415. <div class="markdown level1 conceptual"></div>
  416. <h5 class="decalaration">Declaration</h5>
  417. <div class="codewrapper">
  418. <pre><code class="lang-csharp hljs">public MenuBarItem SubMenu(MenuItem children)</code></pre>
  419. </div>
  420. <h5 class="parameters">Parameters</h5>
  421. <table class="table table-bordered table-striped table-condensed">
  422. <thead>
  423. <tr>
  424. <th>Type</th>
  425. <th>Name</th>
  426. <th>Description</th>
  427. </tr>
  428. </thead>
  429. <tbody>
  430. <tr>
  431. <td><a class="xref" href="Terminal.Gui.MenuItem.html">MenuItem</a></td>
  432. <td><span class="parametername">children</span></td>
  433. <td></td>
  434. </tr>
  435. </tbody>
  436. </table>
  437. <h5 class="returns">Returns</h5>
  438. <table class="table table-bordered table-striped table-condensed">
  439. <thead>
  440. <tr>
  441. <th>Type</th>
  442. <th>Description</th>
  443. </tr>
  444. </thead>
  445. <tbody>
  446. <tr>
  447. <td><a class="xref" href="Terminal.Gui.MenuBarItem.html">MenuBarItem</a></td>
  448. <td>Returns a <a class="xref" href="Terminal.Gui.MenuBarItem.html">MenuBarItem</a> or null otherwise.</td>
  449. </tr>
  450. </tbody>
  451. </table>
  452. </article>
  453. </div>
  454. <div class="hidden-sm col-md-2" role="complementary">
  455. <div class="sideaffix">
  456. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  457. <h5>In This Article</h5>
  458. <div></div>
  459. </nav>
  460. </div>
  461. </div>
  462. </div>
  463. </div>
  464. <footer>
  465. <div class="grad-bottom"></div>
  466. <div class="footer">
  467. <div class="container">
  468. <span class="pull-right">
  469. <a href="#top">Back to top</a>
  470. </span>
  471. <span>Generated by <strong>DocFX</strong></span>
  472. </div>
  473. </div>
  474. </footer>
  475. </div>
  476. <script type="text/javascript" src="../../styles/docfx.vendor.js"></script>
  477. <script type="text/javascript" src="../../styles/docfx.js"></script>
  478. <script type="text/javascript" src="../../styles/main.js"></script>
  479. </body>
  480. </html>