Terminal.Gui.ComboBox.html 72 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543
  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 ComboBox
  8. </title>
  9. <meta name="viewport" content="width=device-width">
  10. <meta name="title" content="Class ComboBox
  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.ComboBox">
  74. <h1 id="Terminal_Gui_ComboBox" data-uid="Terminal.Gui.ComboBox" class="text-break">Class ComboBox
  75. </h1>
  76. <div class="markdown level0 summary">
  77. Provides a drop-down list of items the user can select from.
  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">ComboBox</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. <div class="inheritedMembers">
  94. <h5>Inherited Members</h5>
  95. <div>
  96. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Added">View.Added</a>
  97. </div>
  98. <div>
  99. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Removed">View.Removed</a>
  100. </div>
  101. <div>
  102. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Enter">View.Enter</a>
  103. </div>
  104. <div>
  105. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Leave">View.Leave</a>
  106. </div>
  107. <div>
  108. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_MouseEnter">View.MouseEnter</a>
  109. </div>
  110. <div>
  111. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_MouseLeave">View.MouseLeave</a>
  112. </div>
  113. <div>
  114. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_MouseClick">View.MouseClick</a>
  115. </div>
  116. <div>
  117. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_CanFocusChanged">View.CanFocusChanged</a>
  118. </div>
  119. <div>
  120. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_EnabledChanged">View.EnabledChanged</a>
  121. </div>
  122. <div>
  123. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_VisibleChanged">View.VisibleChanged</a>
  124. </div>
  125. <div>
  126. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_HotKeyChanged">View.HotKeyChanged</a>
  127. </div>
  128. <div>
  129. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_HotKey">View.HotKey</a>
  130. </div>
  131. <div>
  132. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_HotKeySpecifier">View.HotKeySpecifier</a>
  133. </div>
  134. <div>
  135. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Shortcut">View.Shortcut</a>
  136. </div>
  137. <div>
  138. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ShortcutTag">View.ShortcutTag</a>
  139. </div>
  140. <div>
  141. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ShortcutAction">View.ShortcutAction</a>
  142. </div>
  143. <div>
  144. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Data">View.Data</a>
  145. </div>
  146. <div>
  147. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Driver">View.Driver</a>
  148. </div>
  149. <div>
  150. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Subviews">View.Subviews</a>
  151. </div>
  152. <div>
  153. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TabIndexes">View.TabIndexes</a>
  154. </div>
  155. <div>
  156. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TabIndex">View.TabIndex</a>
  157. </div>
  158. <div>
  159. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TabStop">View.TabStop</a>
  160. </div>
  161. <div>
  162. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_CanFocus">View.CanFocus</a>
  163. </div>
  164. <div>
  165. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Id">View.Id</a>
  166. </div>
  167. <div>
  168. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_IsCurrentTop">View.IsCurrentTop</a>
  169. </div>
  170. <div>
  171. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_WantMousePositionReports">View.WantMousePositionReports</a>
  172. </div>
  173. <div>
  174. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_WantContinuousButtonPressed">View.WantContinuousButtonPressed</a>
  175. </div>
  176. <div>
  177. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Frame">View.Frame</a>
  178. </div>
  179. <div>
  180. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutStyle">View.LayoutStyle</a>
  181. </div>
  182. <div>
  183. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Bounds">View.Bounds</a>
  184. </div>
  185. <div>
  186. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_X">View.X</a>
  187. </div>
  188. <div>
  189. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Y">View.Y</a>
  190. </div>
  191. <div>
  192. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Width">View.Width</a>
  193. </div>
  194. <div>
  195. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Height">View.Height</a>
  196. </div>
  197. <div>
  198. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ForceValidatePosDim">View.ForceValidatePosDim</a>
  199. </div>
  200. <div>
  201. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetMinWidthHeight_Terminal_Gui_Size__">View.GetMinWidthHeight(Size)</a>
  202. </div>
  203. <div>
  204. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetMinWidthHeight">View.SetMinWidthHeight()</a>
  205. </div>
  206. <div>
  207. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TextFormatter">View.TextFormatter</a>
  208. </div>
  209. <div>
  210. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SuperView">View.SuperView</a>
  211. </div>
  212. <div>
  213. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_UpdateTextFormatterText">View.UpdateTextFormatterText()</a>
  214. </div>
  215. <div>
  216. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ProcessResizeView">View.ProcessResizeView()</a>
  217. </div>
  218. <div>
  219. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetNeedsDisplay">View.SetNeedsDisplay()</a>
  220. </div>
  221. <div>
  222. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearLayoutNeeded">View.ClearLayoutNeeded()</a>
  223. </div>
  224. <div>
  225. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetNeedsDisplay_Terminal_Gui_Rect_">View.SetNeedsDisplay(Rect)</a>
  226. </div>
  227. <div>
  228. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetChildNeedsDisplay">View.SetChildNeedsDisplay()</a>
  229. </div>
  230. <div>
  231. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Add_Terminal_Gui_View_">View.Add(View)</a>
  232. </div>
  233. <div>
  234. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Add_Terminal_Gui_View___">View.Add(View[])</a>
  235. </div>
  236. <div>
  237. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_RemoveAll">View.RemoveAll()</a>
  238. </div>
  239. <div>
  240. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Remove_Terminal_Gui_View_">View.Remove(View)</a>
  241. </div>
  242. <div>
  243. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_BringSubviewToFront_Terminal_Gui_View_">View.BringSubviewToFront(View)</a>
  244. </div>
  245. <div>
  246. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SendSubviewToBack_Terminal_Gui_View_">View.SendSubviewToBack(View)</a>
  247. </div>
  248. <div>
  249. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SendSubviewBackwards_Terminal_Gui_View_">View.SendSubviewBackwards(View)</a>
  250. </div>
  251. <div>
  252. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_BringSubviewForward_Terminal_Gui_View_">View.BringSubviewForward(View)</a>
  253. </div>
  254. <div>
  255. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Clear">View.Clear()</a>
  256. </div>
  257. <div>
  258. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Clear_Terminal_Gui_Rect_">View.Clear(Rect)</a>
  259. </div>
  260. <div>
  261. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ScreenToView_System_Int32_System_Int32_">View.ScreenToView(Int32, Int32)</a>
  262. </div>
  263. <div>
  264. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClipToBounds">View.ClipToBounds()</a>
  265. </div>
  266. <div>
  267. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetClip_Terminal_Gui_Rect_">View.SetClip(Rect)</a>
  268. </div>
  269. <div>
  270. <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>
  271. </div>
  272. <div>
  273. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_DrawHotString_ustring_Terminal_Gui_Attribute_Terminal_Gui_Attribute_">View.DrawHotString(ustring, Attribute, Attribute)</a>
  274. </div>
  275. <div>
  276. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_DrawHotString_ustring_System_Boolean_Terminal_Gui_ColorScheme_">View.DrawHotString(ustring, Boolean, ColorScheme)</a>
  277. </div>
  278. <div>
  279. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Move_System_Int32_System_Int32_System_Boolean_">View.Move(Int32, Int32, Boolean)</a>
  280. </div>
  281. <div>
  282. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_PositionCursor">View.PositionCursor()</a>
  283. </div>
  284. <div>
  285. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_HasFocus">View.HasFocus</a>
  286. </div>
  287. <div>
  288. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnAdded_Terminal_Gui_View_">View.OnAdded(View)</a>
  289. </div>
  290. <div>
  291. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnRemoved_Terminal_Gui_View_">View.OnRemoved(View)</a>
  292. </div>
  293. <div>
  294. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Focused">View.Focused</a>
  295. </div>
  296. <div>
  297. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_MostFocused">View.MostFocused</a>
  298. </div>
  299. <div>
  300. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_AddRune_System_Int32_System_Int32_Rune_">View.AddRune(Int32, Int32, Rune)</a>
  301. </div>
  302. <div>
  303. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearNeedsDisplay">View.ClearNeedsDisplay()</a>
  304. </div>
  305. <div>
  306. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_DrawContent">View.DrawContent</a>
  307. </div>
  308. <div>
  309. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnDrawContent_Terminal_Gui_Rect_">View.OnDrawContent(Rect)</a>
  310. </div>
  311. <div>
  312. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_DrawContentComplete">View.DrawContentComplete</a>
  313. </div>
  314. <div>
  315. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnDrawContentComplete_Terminal_Gui_Rect_">View.OnDrawContentComplete(Rect)</a>
  316. </div>
  317. <div>
  318. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetFocus">View.SetFocus()</a>
  319. </div>
  320. <div>
  321. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_KeyPress">View.KeyPress</a>
  322. </div>
  323. <div>
  324. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_InvokeKeybindings_Terminal_Gui_KeyEvent_">View.InvokeKeybindings(KeyEvent)</a>
  325. </div>
  326. <div>
  327. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_AddKeyBinding_Terminal_Gui_Key_Terminal_Gui_Command___">View.AddKeyBinding(Key, Command[])</a>
  328. </div>
  329. <div>
  330. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ReplaceKeyBinding_Terminal_Gui_Key_Terminal_Gui_Key_">View.ReplaceKeyBinding(Key, Key)</a>
  331. </div>
  332. <div>
  333. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ContainsKeyBinding_Terminal_Gui_Key_">View.ContainsKeyBinding(Key)</a>
  334. </div>
  335. <div>
  336. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearKeybindings">View.ClearKeybindings()</a>
  337. </div>
  338. <div>
  339. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearKeybinding_Terminal_Gui_Key_">View.ClearKeybinding(Key)</a>
  340. </div>
  341. <div>
  342. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearKeybinding_Terminal_Gui_Command___">View.ClearKeybinding(Command[])</a>
  343. </div>
  344. <div>
  345. <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>
  346. </div>
  347. <div>
  348. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetSupportedCommands">View.GetSupportedCommands()</a>
  349. </div>
  350. <div>
  351. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetKeyFromCommand_Terminal_Gui_Command___">View.GetKeyFromCommand(Command[])</a>
  352. </div>
  353. <div>
  354. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ProcessHotKey_Terminal_Gui_KeyEvent_">View.ProcessHotKey(KeyEvent)</a>
  355. </div>
  356. <div>
  357. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ProcessColdKey_Terminal_Gui_KeyEvent_">View.ProcessColdKey(KeyEvent)</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_OnKeyDown_Terminal_Gui_KeyEvent_">View.OnKeyDown(KeyEvent)</a>
  364. </div>
  365. <div>
  366. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_KeyUp">View.KeyUp</a>
  367. </div>
  368. <div>
  369. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnKeyUp_Terminal_Gui_KeyEvent_">View.OnKeyUp(KeyEvent)</a>
  370. </div>
  371. <div>
  372. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_EnsureFocus">View.EnsureFocus()</a>
  373. </div>
  374. <div>
  375. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusFirst">View.FocusFirst()</a>
  376. </div>
  377. <div>
  378. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusLast">View.FocusLast()</a>
  379. </div>
  380. <div>
  381. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusPrev">View.FocusPrev()</a>
  382. </div>
  383. <div>
  384. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusNext">View.FocusNext()</a>
  385. </div>
  386. <div>
  387. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutStarted">View.LayoutStarted</a>
  388. </div>
  389. <div>
  390. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutComplete">View.LayoutComplete</a>
  391. </div>
  392. <div>
  393. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Initialized">View.Initialized</a>
  394. </div>
  395. <div>
  396. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutSubviews">View.LayoutSubviews()</a>
  397. </div>
  398. <div>
  399. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_AutoSize">View.AutoSize</a>
  400. </div>
  401. <div>
  402. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_PreserveTrailingSpaces">View.PreserveTrailingSpaces</a>
  403. </div>
  404. <div>
  405. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TextAlignment">View.TextAlignment</a>
  406. </div>
  407. <div>
  408. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_VerticalTextAlignment">View.VerticalTextAlignment</a>
  409. </div>
  410. <div>
  411. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TextDirection">View.TextDirection</a>
  412. </div>
  413. <div>
  414. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_IsInitialized">View.IsInitialized</a>
  415. </div>
  416. <div>
  417. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_IsAdded">View.IsAdded</a>
  418. </div>
  419. <div>
  420. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Enabled">View.Enabled</a>
  421. </div>
  422. <div>
  423. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearOnVisibleFalse">View.ClearOnVisibleFalse</a>
  424. </div>
  425. <div>
  426. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Visible">View.Visible</a>
  427. </div>
  428. <div>
  429. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Border">View.Border</a>
  430. </div>
  431. <div>
  432. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_IgnoreBorderPropertyOnRedraw">View.IgnoreBorderPropertyOnRedraw</a>
  433. </div>
  434. <div>
  435. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ToString">View.ToString()</a>
  436. </div>
  437. <div>
  438. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetAutoSize">View.GetAutoSize()</a>
  439. </div>
  440. <div>
  441. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetHotKeySpecifierLength_System_Boolean_">View.GetHotKeySpecifierLength(Boolean)</a>
  442. </div>
  443. <div>
  444. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetTextFormatterBoundsSize">View.GetTextFormatterBoundsSize()</a>
  445. </div>
  446. <div>
  447. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetBoundsTextFormatterSize">View.GetBoundsTextFormatterSize()</a>
  448. </div>
  449. <div>
  450. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseEnter_Terminal_Gui_MouseEvent_">View.OnMouseEnter(MouseEvent)</a>
  451. </div>
  452. <div>
  453. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseLeave_Terminal_Gui_MouseEvent_">View.OnMouseLeave(MouseEvent)</a>
  454. </div>
  455. <div>
  456. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseEvent_Terminal_Gui_MouseEvent_">View.OnMouseEvent(MouseEvent)</a>
  457. </div>
  458. <div>
  459. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseClick_Terminal_Gui_View_MouseEventArgs_">View.OnMouseClick(View.MouseEventArgs)</a>
  460. </div>
  461. <div>
  462. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnCanFocusChanged">View.OnCanFocusChanged()</a>
  463. </div>
  464. <div>
  465. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnEnabledChanged">View.OnEnabledChanged()</a>
  466. </div>
  467. <div>
  468. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnVisibleChanged">View.OnVisibleChanged()</a>
  469. </div>
  470. <div>
  471. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Dispose_System_Boolean_">View.Dispose(Boolean)</a>
  472. </div>
  473. <div>
  474. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_BeginInit">View.BeginInit()</a>
  475. </div>
  476. <div>
  477. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_EndInit">View.EndInit()</a>
  478. </div>
  479. <div>
  480. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetWidth_System_Int32_System_Int32__">View.SetWidth(Int32, Int32)</a>
  481. </div>
  482. <div>
  483. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetHeight_System_Int32_System_Int32__">View.SetHeight(Int32, Int32)</a>
  484. </div>
  485. <div>
  486. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetCurrentWidth_System_Int32__">View.GetCurrentWidth(Int32)</a>
  487. </div>
  488. <div>
  489. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetCurrentHeight_System_Int32__">View.GetCurrentHeight(Int32)</a>
  490. </div>
  491. <div>
  492. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetNormalColor">View.GetNormalColor()</a>
  493. </div>
  494. <div>
  495. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetFocusColor">View.GetFocusColor()</a>
  496. </div>
  497. <div>
  498. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetHotNormalColor">View.GetHotNormalColor()</a>
  499. </div>
  500. <div>
  501. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetTopSuperView">View.GetTopSuperView()</a>
  502. </div>
  503. <div>
  504. <a class="xref" href="Terminal.Gui.Responder.html#Terminal_Gui_Responder_Dispose">Responder.Dispose()</a>
  505. </div>
  506. <div>
  507. <span class="xref">System.Object.Equals(System.Object)</span>
  508. </div>
  509. <div>
  510. <span class="xref">System.Object.Equals(System.Object, System.Object)</span>
  511. </div>
  512. <div>
  513. <span class="xref">System.Object.GetHashCode()</span>
  514. </div>
  515. <div>
  516. <span class="xref">System.Object.GetType()</span>
  517. </div>
  518. <div>
  519. <span class="xref">System.Object.MemberwiseClone()</span>
  520. </div>
  521. <div>
  522. <span class="xref">System.Object.ReferenceEquals(System.Object, System.Object)</span>
  523. </div>
  524. </div>
  525. <h6><strong>Namespace</strong>: <a class="xref" href="Terminal.Gui.html">Terminal.Gui</a></h6>
  526. <h6><strong>Assembly</strong>: Terminal.Gui.dll</h6>
  527. <h5 id="Terminal_Gui_ComboBox_syntax">Syntax</h5>
  528. <div class="codewrapper">
  529. <pre><code class="lang-csharp hljs">public class ComboBox : View, IDisposable, ISupportInitializeNotification, ISupportInitialize</code></pre>
  530. </div>
  531. <h3 id="constructors">Constructors
  532. </h3>
  533. <span class="small pull-right mobile-hide">
  534. <span class="divider">|</span>
  535. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ComboBox__ctor.md&amp;value=---%0Auid%3A%20Terminal.Gui.ComboBox.%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>
  536. </span>
  537. <span class="small pull-right mobile-hide">
  538. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/Terminal.Gui/Views/ComboBox.cs/#L241">View Source</a>
  539. </span>
  540. <a id="Terminal_Gui_ComboBox__ctor_" data-uid="Terminal.Gui.ComboBox.#ctor*"></a>
  541. <h4 id="Terminal_Gui_ComboBox__ctor" data-uid="Terminal.Gui.ComboBox.#ctor">ComboBox()</h4>
  542. <div class="markdown level1 summary">
  543. Public constructor
  544. </div>
  545. <div class="markdown level1 conceptual"></div>
  546. <h5 class="decalaration">Declaration</h5>
  547. <div class="codewrapper">
  548. <pre><code class="lang-csharp hljs">public ComboBox()</code></pre>
  549. </div>
  550. <span class="small pull-right mobile-hide">
  551. <span class="divider">|</span>
  552. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ComboBox__ctor_System_Collections_IList_.md&amp;value=---%0Auid%3A%20Terminal.Gui.ComboBox.%23ctor(System.Collections.IList)%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>
  553. </span>
  554. <span class="small pull-right mobile-hide">
  555. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/Terminal.Gui/Views/ComboBox.cs/#L276">View Source</a>
  556. </span>
  557. <a id="Terminal_Gui_ComboBox__ctor_" data-uid="Terminal.Gui.ComboBox.#ctor*"></a>
  558. <h4 id="Terminal_Gui_ComboBox__ctor_System_Collections_IList_" data-uid="Terminal.Gui.ComboBox.#ctor(System.Collections.IList)">ComboBox(IList)</h4>
  559. <div class="markdown level1 summary">
  560. Initialize with the source.
  561. </div>
  562. <div class="markdown level1 conceptual"></div>
  563. <h5 class="decalaration">Declaration</h5>
  564. <div class="codewrapper">
  565. <pre><code class="lang-csharp hljs">public ComboBox(IList source)</code></pre>
  566. </div>
  567. <h5 class="parameters">Parameters</h5>
  568. <table class="table table-bordered table-striped table-condensed">
  569. <thead>
  570. <tr>
  571. <th>Type</th>
  572. <th>Name</th>
  573. <th>Description</th>
  574. </tr>
  575. </thead>
  576. <tbody>
  577. <tr>
  578. <td><span class="xref">System.Collections.IList</span></td>
  579. <td><span class="parametername">source</span></td>
  580. <td>The source.</td>
  581. </tr>
  582. </tbody>
  583. </table>
  584. <span class="small pull-right mobile-hide">
  585. <span class="divider">|</span>
  586. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ComboBox__ctor_Terminal_Gui_Rect_System_Collections_IList_.md&amp;value=---%0Auid%3A%20Terminal.Gui.ComboBox.%23ctor(Terminal.Gui.Rect%2CSystem.Collections.IList)%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>
  587. </span>
  588. <span class="small pull-right mobile-hide">
  589. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/Terminal.Gui/Views/ComboBox.cs/#L263">View Source</a>
  590. </span>
  591. <a id="Terminal_Gui_ComboBox__ctor_" data-uid="Terminal.Gui.ComboBox.#ctor*"></a>
  592. <h4 id="Terminal_Gui_ComboBox__ctor_Terminal_Gui_Rect_System_Collections_IList_" data-uid="Terminal.Gui.ComboBox.#ctor(Terminal.Gui.Rect,System.Collections.IList)">ComboBox(Rect, IList)</h4>
  593. <div class="markdown level1 summary">
  594. Public constructor
  595. </div>
  596. <div class="markdown level1 conceptual"></div>
  597. <h5 class="decalaration">Declaration</h5>
  598. <div class="codewrapper">
  599. <pre><code class="lang-csharp hljs">public ComboBox(Rect rect, IList source)</code></pre>
  600. </div>
  601. <h5 class="parameters">Parameters</h5>
  602. <table class="table table-bordered table-striped table-condensed">
  603. <thead>
  604. <tr>
  605. <th>Type</th>
  606. <th>Name</th>
  607. <th>Description</th>
  608. </tr>
  609. </thead>
  610. <tbody>
  611. <tr>
  612. <td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
  613. <td><span class="parametername">rect</span></td>
  614. <td></td>
  615. </tr>
  616. <tr>
  617. <td><span class="xref">System.Collections.IList</span></td>
  618. <td><span class="parametername">source</span></td>
  619. <td></td>
  620. </tr>
  621. </tbody>
  622. </table>
  623. <span class="small pull-right mobile-hide">
  624. <span class="divider">|</span>
  625. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ComboBox__ctor_ustring_.md&amp;value=---%0Auid%3A%20Terminal.Gui.ComboBox.%23ctor(ustring)%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>
  626. </span>
  627. <span class="small pull-right mobile-hide">
  628. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/Terminal.Gui/Views/ComboBox.cs/#L249">View Source</a>
  629. </span>
  630. <a id="Terminal_Gui_ComboBox__ctor_" data-uid="Terminal.Gui.ComboBox.#ctor*"></a>
  631. <h4 id="Terminal_Gui_ComboBox__ctor_ustring_" data-uid="Terminal.Gui.ComboBox.#ctor(ustring)">ComboBox(ustring)</h4>
  632. <div class="markdown level1 summary">
  633. Public constructor
  634. </div>
  635. <div class="markdown level1 conceptual"></div>
  636. <h5 class="decalaration">Declaration</h5>
  637. <div class="codewrapper">
  638. <pre><code class="lang-csharp hljs">public ComboBox(ustring text)</code></pre>
  639. </div>
  640. <h5 class="parameters">Parameters</h5>
  641. <table class="table table-bordered table-striped table-condensed">
  642. <thead>
  643. <tr>
  644. <th>Type</th>
  645. <th>Name</th>
  646. <th>Description</th>
  647. </tr>
  648. </thead>
  649. <tbody>
  650. <tr>
  651. <td><span class="xref">ustring</span></td>
  652. <td><span class="parametername">text</span></td>
  653. <td></td>
  654. </tr>
  655. </tbody>
  656. </table>
  657. <h3 id="properties">Properties
  658. </h3>
  659. <span class="small pull-right mobile-hide">
  660. <span class="divider">|</span>
  661. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ComboBox_ColorScheme.md&amp;value=---%0Auid%3A%20Terminal.Gui.ComboBox.ColorScheme%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  662. </span>
  663. <span class="small pull-right mobile-hide">
  664. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/Terminal.Gui/Views/ComboBox.cs/#L390">View Source</a>
  665. </span>
  666. <a id="Terminal_Gui_ComboBox_ColorScheme_" data-uid="Terminal.Gui.ComboBox.ColorScheme*"></a>
  667. <h4 id="Terminal_Gui_ComboBox_ColorScheme" data-uid="Terminal.Gui.ComboBox.ColorScheme">ColorScheme</h4>
  668. <div class="markdown level1 summary"></div>
  669. <div class="markdown level1 conceptual"></div>
  670. <h5 class="decalaration">Declaration</h5>
  671. <div class="codewrapper">
  672. <pre><code class="lang-csharp hljs">public ColorScheme ColorScheme { get; set; }</code></pre>
  673. </div>
  674. <h5 class="propertyValue">Property Value</h5>
  675. <table class="table table-bordered table-striped table-condensed">
  676. <thead>
  677. <tr>
  678. <th>Type</th>
  679. <th>Description</th>
  680. </tr>
  681. </thead>
  682. <tbody>
  683. <tr>
  684. <td><a class="xref" href="Terminal.Gui.ColorScheme.html">ColorScheme</a></td>
  685. <td></td>
  686. </tr>
  687. </tbody>
  688. </table>
  689. <span class="small pull-right mobile-hide">
  690. <span class="divider">|</span>
  691. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ComboBox_HideDropdownListOnClick.md&amp;value=---%0Auid%3A%20Terminal.Gui.ComboBox.HideDropdownListOnClick%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>
  692. </span>
  693. <span class="small pull-right mobile-hide">
  694. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/Terminal.Gui/Views/ComboBox.cs/#L419">View Source</a>
  695. </span>
  696. <a id="Terminal_Gui_ComboBox_HideDropdownListOnClick_" data-uid="Terminal.Gui.ComboBox.HideDropdownListOnClick*"></a>
  697. <h4 id="Terminal_Gui_ComboBox_HideDropdownListOnClick" data-uid="Terminal.Gui.ComboBox.HideDropdownListOnClick">HideDropdownListOnClick</h4>
  698. <div class="markdown level1 summary">
  699. Gets or sets if the drop-down list can be hide with a button click event.
  700. </div>
  701. <div class="markdown level1 conceptual"></div>
  702. <h5 class="decalaration">Declaration</h5>
  703. <div class="codewrapper">
  704. <pre><code class="lang-csharp hljs">public bool HideDropdownListOnClick { get; set; }</code></pre>
  705. </div>
  706. <h5 class="propertyValue">Property Value</h5>
  707. <table class="table table-bordered table-striped table-condensed">
  708. <thead>
  709. <tr>
  710. <th>Type</th>
  711. <th>Description</th>
  712. </tr>
  713. </thead>
  714. <tbody>
  715. <tr>
  716. <td><span class="xref">System.Boolean</span></td>
  717. <td></td>
  718. </tr>
  719. </tbody>
  720. </table>
  721. <span class="small pull-right mobile-hide">
  722. <span class="divider">|</span>
  723. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ComboBox_IsShow.md&amp;value=---%0Auid%3A%20Terminal.Gui.ComboBox.IsShow%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>
  724. </span>
  725. <span class="small pull-right mobile-hide">
  726. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/Terminal.Gui/Views/ComboBox.cs/#L387">View Source</a>
  727. </span>
  728. <a id="Terminal_Gui_ComboBox_IsShow_" data-uid="Terminal.Gui.ComboBox.IsShow*"></a>
  729. <h4 id="Terminal_Gui_ComboBox_IsShow" data-uid="Terminal.Gui.ComboBox.IsShow">IsShow</h4>
  730. <div class="markdown level1 summary">
  731. Gets the drop down list state, expanded or collapsed.
  732. </div>
  733. <div class="markdown level1 conceptual"></div>
  734. <h5 class="decalaration">Declaration</h5>
  735. <div class="codewrapper">
  736. <pre><code class="lang-csharp hljs">public bool IsShow { get; }</code></pre>
  737. </div>
  738. <h5 class="propertyValue">Property Value</h5>
  739. <table class="table table-bordered table-striped table-condensed">
  740. <thead>
  741. <tr>
  742. <th>Type</th>
  743. <th>Description</th>
  744. </tr>
  745. </thead>
  746. <tbody>
  747. <tr>
  748. <td><span class="xref">System.Boolean</span></td>
  749. <td></td>
  750. </tr>
  751. </tbody>
  752. </table>
  753. <span class="small pull-right mobile-hide">
  754. <span class="divider">|</span>
  755. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ComboBox_ReadOnly.md&amp;value=---%0Auid%3A%20Terminal.Gui.ComboBox.ReadOnly%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>
  756. </span>
  757. <span class="small pull-right mobile-hide">
  758. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/Terminal.Gui/Views/ComboBox.cs/#L404">View Source</a>
  759. </span>
  760. <a id="Terminal_Gui_ComboBox_ReadOnly_" data-uid="Terminal.Gui.ComboBox.ReadOnly*"></a>
  761. <h4 id="Terminal_Gui_ComboBox_ReadOnly" data-uid="Terminal.Gui.ComboBox.ReadOnly">ReadOnly</h4>
  762. <div class="markdown level1 summary">
  763. If set to true its not allow any changes in the text.
  764. </div>
  765. <div class="markdown level1 conceptual"></div>
  766. <h5 class="decalaration">Declaration</h5>
  767. <div class="codewrapper">
  768. <pre><code class="lang-csharp hljs">public bool ReadOnly { get; set; }</code></pre>
  769. </div>
  770. <h5 class="propertyValue">Property Value</h5>
  771. <table class="table table-bordered table-striped table-condensed">
  772. <thead>
  773. <tr>
  774. <th>Type</th>
  775. <th>Description</th>
  776. </tr>
  777. </thead>
  778. <tbody>
  779. <tr>
  780. <td><span class="xref">System.Boolean</span></td>
  781. <td></td>
  782. </tr>
  783. </tbody>
  784. </table>
  785. <span class="small pull-right mobile-hide">
  786. <span class="divider">|</span>
  787. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ComboBox_SearchText.md&amp;value=---%0Auid%3A%20Terminal.Gui.ComboBox.SearchText%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>
  788. </span>
  789. <span class="small pull-right mobile-hide">
  790. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/Terminal.Gui/Views/ComboBox.cs/#L728">View Source</a>
  791. </span>
  792. <a id="Terminal_Gui_ComboBox_SearchText_" data-uid="Terminal.Gui.ComboBox.SearchText*"></a>
  793. <h4 id="Terminal_Gui_ComboBox_SearchText" data-uid="Terminal.Gui.ComboBox.SearchText">SearchText</h4>
  794. <div class="markdown level1 summary">
  795. Current search text
  796. </div>
  797. <div class="markdown level1 conceptual"></div>
  798. <h5 class="decalaration">Declaration</h5>
  799. <div class="codewrapper">
  800. <pre><code class="lang-csharp hljs">public ustring SearchText { get; set; }</code></pre>
  801. </div>
  802. <h5 class="propertyValue">Property Value</h5>
  803. <table class="table table-bordered table-striped table-condensed">
  804. <thead>
  805. <tr>
  806. <th>Type</th>
  807. <th>Description</th>
  808. </tr>
  809. </thead>
  810. <tbody>
  811. <tr>
  812. <td><span class="xref">ustring</span></td>
  813. <td></td>
  814. </tr>
  815. </tbody>
  816. </table>
  817. <span class="small pull-right mobile-hide">
  818. <span class="divider">|</span>
  819. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ComboBox_SelectedItem.md&amp;value=---%0Auid%3A%20Terminal.Gui.ComboBox.SelectedItem%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>
  820. </span>
  821. <span class="small pull-right mobile-hide">
  822. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/Terminal.Gui/Views/ComboBox.cs/#L367">View Source</a>
  823. </span>
  824. <a id="Terminal_Gui_ComboBox_SelectedItem_" data-uid="Terminal.Gui.ComboBox.SelectedItem*"></a>
  825. <h4 id="Terminal_Gui_ComboBox_SelectedItem" data-uid="Terminal.Gui.ComboBox.SelectedItem">SelectedItem</h4>
  826. <div class="markdown level1 summary">
  827. Gets the index of the currently selected item in the <a class="xref" href="Terminal.Gui.ComboBox.html#Terminal_Gui_ComboBox_Source">Source</a>
  828. </div>
  829. <div class="markdown level1 conceptual"></div>
  830. <h5 class="decalaration">Declaration</h5>
  831. <div class="codewrapper">
  832. <pre><code class="lang-csharp hljs">public int SelectedItem { get; set; }</code></pre>
  833. </div>
  834. <h5 class="propertyValue">Property Value</h5>
  835. <table class="table table-bordered table-striped table-condensed">
  836. <thead>
  837. <tr>
  838. <th>Type</th>
  839. <th>Description</th>
  840. </tr>
  841. </thead>
  842. <tbody>
  843. <tr>
  844. <td><span class="xref">System.Int32</span></td>
  845. <td>The selected item or -1 none selected.</td>
  846. </tr>
  847. </tbody>
  848. </table>
  849. <span class="small pull-right mobile-hide">
  850. <span class="divider">|</span>
  851. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ComboBox_Source.md&amp;value=---%0Auid%3A%20Terminal.Gui.ComboBox.Source%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>
  852. </span>
  853. <span class="small pull-right mobile-hide">
  854. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/Terminal.Gui/Views/ComboBox.cs/#L179">View Source</a>
  855. </span>
  856. <a id="Terminal_Gui_ComboBox_Source_" data-uid="Terminal.Gui.ComboBox.Source*"></a>
  857. <h4 id="Terminal_Gui_ComboBox_Source" data-uid="Terminal.Gui.ComboBox.Source">Source</h4>
  858. <div class="markdown level1 summary">
  859. Gets or sets the <a class="xref" href="Terminal.Gui.IListDataSource.html">IListDataSource</a> backing this <a class="xref" href="Terminal.Gui.ComboBox.html">ComboBox</a>, enabling custom rendering.
  860. </div>
  861. <div class="markdown level1 conceptual"></div>
  862. <h5 class="decalaration">Declaration</h5>
  863. <div class="codewrapper">
  864. <pre><code class="lang-csharp hljs">public IListDataSource Source { get; set; }</code></pre>
  865. </div>
  866. <h5 class="propertyValue">Property Value</h5>
  867. <table class="table table-bordered table-striped table-condensed">
  868. <thead>
  869. <tr>
  870. <th>Type</th>
  871. <th>Description</th>
  872. </tr>
  873. </thead>
  874. <tbody>
  875. <tr>
  876. <td><a class="xref" href="Terminal.Gui.IListDataSource.html">IListDataSource</a></td>
  877. <td>The source.</td>
  878. </tr>
  879. </tbody>
  880. </table>
  881. <span class="small pull-right mobile-hide">
  882. <span class="divider">|</span>
  883. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ComboBox_Text.md&amp;value=---%0Auid%3A%20Terminal.Gui.ComboBox.Text%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>
  884. </span>
  885. <span class="small pull-right mobile-hide">
  886. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/Terminal.Gui/Views/ComboBox.cs/#L716">View Source</a>
  887. </span>
  888. <a id="Terminal_Gui_ComboBox_Text_" data-uid="Terminal.Gui.ComboBox.Text*"></a>
  889. <h4 id="Terminal_Gui_ComboBox_Text" data-uid="Terminal.Gui.ComboBox.Text">Text</h4>
  890. <div class="markdown level1 summary">
  891. The currently selected list item
  892. </div>
  893. <div class="markdown level1 conceptual"></div>
  894. <h5 class="decalaration">Declaration</h5>
  895. <div class="codewrapper">
  896. <pre><code class="lang-csharp hljs">public ustring Text { get; set; }</code></pre>
  897. </div>
  898. <h5 class="propertyValue">Property Value</h5>
  899. <table class="table table-bordered table-striped table-condensed">
  900. <thead>
  901. <tr>
  902. <th>Type</th>
  903. <th>Description</th>
  904. </tr>
  905. </thead>
  906. <tbody>
  907. <tr>
  908. <td><span class="xref">ustring</span></td>
  909. <td></td>
  910. </tr>
  911. </tbody>
  912. </table>
  913. <h3 id="methods">Methods
  914. </h3>
  915. <span class="small pull-right mobile-hide">
  916. <span class="divider">|</span>
  917. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ComboBox_Collapse.md&amp;value=---%0Auid%3A%20Terminal.Gui.ComboBox.Collapse%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>
  918. </span>
  919. <span class="small pull-right mobile-hide">
  920. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/Terminal.Gui/Views/ComboBox.cs/#L684">View Source</a>
  921. </span>
  922. <a id="Terminal_Gui_ComboBox_Collapse_" data-uid="Terminal.Gui.ComboBox.Collapse*"></a>
  923. <h4 id="Terminal_Gui_ComboBox_Collapse" data-uid="Terminal.Gui.ComboBox.Collapse">Collapse()</h4>
  924. <div class="markdown level1 summary">
  925. Collapses the drop down list. Returns true if the state chagned or false
  926. if it was already collapsed and no action was taken
  927. </div>
  928. <div class="markdown level1 conceptual"></div>
  929. <h5 class="decalaration">Declaration</h5>
  930. <div class="codewrapper">
  931. <pre><code class="lang-csharp hljs">public virtual bool Collapse()</code></pre>
  932. </div>
  933. <h5 class="returns">Returns</h5>
  934. <table class="table table-bordered table-striped table-condensed">
  935. <thead>
  936. <tr>
  937. <th>Type</th>
  938. <th>Description</th>
  939. </tr>
  940. </thead>
  941. <tbody>
  942. <tr>
  943. <td><span class="xref">System.Boolean</span></td>
  944. <td></td>
  945. </tr>
  946. </tbody>
  947. </table>
  948. <span class="small pull-right mobile-hide">
  949. <span class="divider">|</span>
  950. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ComboBox_Expand.md&amp;value=---%0Auid%3A%20Terminal.Gui.ComboBox.Expand%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>
  951. </span>
  952. <span class="small pull-right mobile-hide">
  953. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/Terminal.Gui/Views/ComboBox.cs/#L699">View Source</a>
  954. </span>
  955. <a id="Terminal_Gui_ComboBox_Expand_" data-uid="Terminal.Gui.ComboBox.Expand*"></a>
  956. <h4 id="Terminal_Gui_ComboBox_Expand" data-uid="Terminal.Gui.ComboBox.Expand">Expand()</h4>
  957. <div class="markdown level1 summary">
  958. Expands the drop down list. Returns true if the state chagned or false
  959. if it was already expanded and no action was taken
  960. </div>
  961. <div class="markdown level1 conceptual"></div>
  962. <h5 class="decalaration">Declaration</h5>
  963. <div class="codewrapper">
  964. <pre><code class="lang-csharp hljs">public virtual bool Expand()</code></pre>
  965. </div>
  966. <h5 class="returns">Returns</h5>
  967. <table class="table table-bordered table-striped table-condensed">
  968. <thead>
  969. <tr>
  970. <th>Type</th>
  971. <th>Description</th>
  972. </tr>
  973. </thead>
  974. <tbody>
  975. <tr>
  976. <td><span class="xref">System.Boolean</span></td>
  977. <td></td>
  978. </tr>
  979. </tbody>
  980. </table>
  981. <span class="small pull-right mobile-hide">
  982. <span class="divider">|</span>
  983. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ComboBox_MouseEvent_Terminal_Gui_MouseEvent_.md&amp;value=---%0Auid%3A%20Terminal.Gui.ComboBox.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>
  984. </span>
  985. <span class="small pull-right mobile-hide">
  986. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/Terminal.Gui/Views/ComboBox.cs/#L425">View Source</a>
  987. </span>
  988. <a id="Terminal_Gui_ComboBox_MouseEvent_" data-uid="Terminal.Gui.ComboBox.MouseEvent*"></a>
  989. <h4 id="Terminal_Gui_ComboBox_MouseEvent_Terminal_Gui_MouseEvent_" data-uid="Terminal.Gui.ComboBox.MouseEvent(Terminal.Gui.MouseEvent)">MouseEvent(MouseEvent)</h4>
  990. <div class="markdown level1 summary">
  991. Method invoked when a mouse event is generated
  992. </div>
  993. <div class="markdown level1 conceptual"></div>
  994. <h5 class="decalaration">Declaration</h5>
  995. <div class="codewrapper">
  996. <pre><code class="lang-csharp hljs">public override bool MouseEvent(MouseEvent me)</code></pre>
  997. </div>
  998. <h5 class="parameters">Parameters</h5>
  999. <table class="table table-bordered table-striped table-condensed">
  1000. <thead>
  1001. <tr>
  1002. <th>Type</th>
  1003. <th>Name</th>
  1004. <th>Description</th>
  1005. </tr>
  1006. </thead>
  1007. <tbody>
  1008. <tr>
  1009. <td><a class="xref" href="Terminal.Gui.MouseEvent.html">MouseEvent</a></td>
  1010. <td><span class="parametername">me</span></td>
  1011. <td></td>
  1012. </tr>
  1013. </tbody>
  1014. </table>
  1015. <h5 class="returns">Returns</h5>
  1016. <table class="table table-bordered table-striped table-condensed">
  1017. <thead>
  1018. <tr>
  1019. <th>Type</th>
  1020. <th>Description</th>
  1021. </tr>
  1022. </thead>
  1023. <tbody>
  1024. <tr>
  1025. <td><span class="xref">System.Boolean</span></td>
  1026. <td><code>true</code>, if the event was handled, <code>false</code> otherwise.</td>
  1027. </tr>
  1028. </tbody>
  1029. </table>
  1030. <h5 class="overrides">Overrides</h5>
  1031. <div><a class="xref" href="Terminal.Gui.Responder.html#Terminal_Gui_Responder_MouseEvent_Terminal_Gui_MouseEvent_">Responder.MouseEvent(MouseEvent)</a></div>
  1032. <span class="small pull-right mobile-hide">
  1033. <span class="divider">|</span>
  1034. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ComboBox_OnCollapsed.md&amp;value=---%0Auid%3A%20Terminal.Gui.ComboBox.OnCollapsed%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>
  1035. </span>
  1036. <span class="small pull-right mobile-hide">
  1037. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/Terminal.Gui/Views/ComboBox.cs/#L472">View Source</a>
  1038. </span>
  1039. <a id="Terminal_Gui_ComboBox_OnCollapsed_" data-uid="Terminal.Gui.ComboBox.OnCollapsed*"></a>
  1040. <h4 id="Terminal_Gui_ComboBox_OnCollapsed" data-uid="Terminal.Gui.ComboBox.OnCollapsed">OnCollapsed()</h4>
  1041. <div class="markdown level1 summary">
  1042. Virtual method which invokes the <a class="xref" href="Terminal.Gui.ComboBox.html#Terminal_Gui_ComboBox_Collapsed">Collapsed</a> event.
  1043. </div>
  1044. <div class="markdown level1 conceptual"></div>
  1045. <h5 class="decalaration">Declaration</h5>
  1046. <div class="codewrapper">
  1047. <pre><code class="lang-csharp hljs">public virtual void OnCollapsed()</code></pre>
  1048. </div>
  1049. <span class="small pull-right mobile-hide">
  1050. <span class="divider">|</span>
  1051. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ComboBox_OnEnter_Terminal_Gui_View_.md&amp;value=---%0Auid%3A%20Terminal.Gui.ComboBox.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>
  1052. </span>
  1053. <span class="small pull-right mobile-hide">
  1054. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/Terminal.Gui/Views/ComboBox.cs/#L478">View Source</a>
  1055. </span>
  1056. <a id="Terminal_Gui_ComboBox_OnEnter_" data-uid="Terminal.Gui.ComboBox.OnEnter*"></a>
  1057. <h4 id="Terminal_Gui_ComboBox_OnEnter_Terminal_Gui_View_" data-uid="Terminal.Gui.ComboBox.OnEnter(Terminal.Gui.View)">OnEnter(View)</h4>
  1058. <div class="markdown level1 summary">
  1059. Method invoked when a view gets focus.
  1060. </div>
  1061. <div class="markdown level1 conceptual"></div>
  1062. <h5 class="decalaration">Declaration</h5>
  1063. <div class="codewrapper">
  1064. <pre><code class="lang-csharp hljs">public override bool OnEnter(View view)</code></pre>
  1065. </div>
  1066. <h5 class="parameters">Parameters</h5>
  1067. <table class="table table-bordered table-striped table-condensed">
  1068. <thead>
  1069. <tr>
  1070. <th>Type</th>
  1071. <th>Name</th>
  1072. <th>Description</th>
  1073. </tr>
  1074. </thead>
  1075. <tbody>
  1076. <tr>
  1077. <td><a class="xref" href="Terminal.Gui.View.html">View</a></td>
  1078. <td><span class="parametername">view</span></td>
  1079. <td>The view that is losing focus.</td>
  1080. </tr>
  1081. </tbody>
  1082. </table>
  1083. <h5 class="returns">Returns</h5>
  1084. <table class="table table-bordered table-striped table-condensed">
  1085. <thead>
  1086. <tr>
  1087. <th>Type</th>
  1088. <th>Description</th>
  1089. </tr>
  1090. </thead>
  1091. <tbody>
  1092. <tr>
  1093. <td><span class="xref">System.Boolean</span></td>
  1094. <td><code>true</code>, if the event was handled, <code>false</code> otherwise.</td>
  1095. </tr>
  1096. </tbody>
  1097. </table>
  1098. <h5 class="overrides">Overrides</h5>
  1099. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnEnter_Terminal_Gui_View_">View.OnEnter(View)</a></div>
  1100. <span class="small pull-right mobile-hide">
  1101. <span class="divider">|</span>
  1102. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ComboBox_OnExpanded.md&amp;value=---%0Auid%3A%20Terminal.Gui.ComboBox.OnExpanded%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>
  1103. </span>
  1104. <span class="small pull-right mobile-hide">
  1105. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/Terminal.Gui/Views/ComboBox.cs/#L464">View Source</a>
  1106. </span>
  1107. <a id="Terminal_Gui_ComboBox_OnExpanded_" data-uid="Terminal.Gui.ComboBox.OnExpanded*"></a>
  1108. <h4 id="Terminal_Gui_ComboBox_OnExpanded" data-uid="Terminal.Gui.ComboBox.OnExpanded">OnExpanded()</h4>
  1109. <div class="markdown level1 summary">
  1110. Virtual method which invokes the <a class="xref" href="Terminal.Gui.ComboBox.html#Terminal_Gui_ComboBox_Expanded">Expanded</a> event.
  1111. </div>
  1112. <div class="markdown level1 conceptual"></div>
  1113. <h5 class="decalaration">Declaration</h5>
  1114. <div class="codewrapper">
  1115. <pre><code class="lang-csharp hljs">public virtual void OnExpanded()</code></pre>
  1116. </div>
  1117. <span class="small pull-right mobile-hide">
  1118. <span class="divider">|</span>
  1119. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ComboBox_OnLeave_Terminal_Gui_View_.md&amp;value=---%0Auid%3A%20Terminal.Gui.ComboBox.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>
  1120. </span>
  1121. <span class="small pull-right mobile-hide">
  1122. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/Terminal.Gui/Views/ComboBox.cs/#L490">View Source</a>
  1123. </span>
  1124. <a id="Terminal_Gui_ComboBox_OnLeave_" data-uid="Terminal.Gui.ComboBox.OnLeave*"></a>
  1125. <h4 id="Terminal_Gui_ComboBox_OnLeave_Terminal_Gui_View_" data-uid="Terminal.Gui.ComboBox.OnLeave(Terminal.Gui.View)">OnLeave(View)</h4>
  1126. <div class="markdown level1 summary">
  1127. Method invoked when a view loses focus.
  1128. </div>
  1129. <div class="markdown level1 conceptual"></div>
  1130. <h5 class="decalaration">Declaration</h5>
  1131. <div class="codewrapper">
  1132. <pre><code class="lang-csharp hljs">public override bool OnLeave(View view)</code></pre>
  1133. </div>
  1134. <h5 class="parameters">Parameters</h5>
  1135. <table class="table table-bordered table-striped table-condensed">
  1136. <thead>
  1137. <tr>
  1138. <th>Type</th>
  1139. <th>Name</th>
  1140. <th>Description</th>
  1141. </tr>
  1142. </thead>
  1143. <tbody>
  1144. <tr>
  1145. <td><a class="xref" href="Terminal.Gui.View.html">View</a></td>
  1146. <td><span class="parametername">view</span></td>
  1147. <td>The view that is getting focus.</td>
  1148. </tr>
  1149. </tbody>
  1150. </table>
  1151. <h5 class="returns">Returns</h5>
  1152. <table class="table table-bordered table-striped table-condensed">
  1153. <thead>
  1154. <tr>
  1155. <th>Type</th>
  1156. <th>Description</th>
  1157. </tr>
  1158. </thead>
  1159. <tbody>
  1160. <tr>
  1161. <td><span class="xref">System.Boolean</span></td>
  1162. <td><code>true</code>, if the event was handled, <code>false</code> otherwise.</td>
  1163. </tr>
  1164. </tbody>
  1165. </table>
  1166. <h5 class="overrides">Overrides</h5>
  1167. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnLeave_Terminal_Gui_View_">View.OnLeave(View)</a></div>
  1168. <span class="small pull-right mobile-hide">
  1169. <span class="divider">|</span>
  1170. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ComboBox_OnOpenSelectedItem.md&amp;value=---%0Auid%3A%20Terminal.Gui.ComboBox.OnOpenSelectedItem%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>
  1171. </span>
  1172. <span class="small pull-right mobile-hide">
  1173. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/Terminal.Gui/Views/ComboBox.cs/#L524">View Source</a>
  1174. </span>
  1175. <a id="Terminal_Gui_ComboBox_OnOpenSelectedItem_" data-uid="Terminal.Gui.ComboBox.OnOpenSelectedItem*"></a>
  1176. <h4 id="Terminal_Gui_ComboBox_OnOpenSelectedItem" data-uid="Terminal.Gui.ComboBox.OnOpenSelectedItem">OnOpenSelectedItem()</h4>
  1177. <div class="markdown level1 summary">
  1178. Invokes the OnOpenSelectedItem event if it is defined.
  1179. </div>
  1180. <div class="markdown level1 conceptual"></div>
  1181. <h5 class="decalaration">Declaration</h5>
  1182. <div class="codewrapper">
  1183. <pre><code class="lang-csharp hljs">public virtual bool OnOpenSelectedItem()</code></pre>
  1184. </div>
  1185. <h5 class="returns">Returns</h5>
  1186. <table class="table table-bordered table-striped table-condensed">
  1187. <thead>
  1188. <tr>
  1189. <th>Type</th>
  1190. <th>Description</th>
  1191. </tr>
  1192. </thead>
  1193. <tbody>
  1194. <tr>
  1195. <td><span class="xref">System.Boolean</span></td>
  1196. <td></td>
  1197. </tr>
  1198. </tbody>
  1199. </table>
  1200. <span class="small pull-right mobile-hide">
  1201. <span class="divider">|</span>
  1202. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ComboBox_OnSelectedChanged.md&amp;value=---%0Auid%3A%20Terminal.Gui.ComboBox.OnSelectedChanged%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>
  1203. </span>
  1204. <span class="small pull-right mobile-hide">
  1205. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/Terminal.Gui/Views/ComboBox.cs/#L511">View Source</a>
  1206. </span>
  1207. <a id="Terminal_Gui_ComboBox_OnSelectedChanged_" data-uid="Terminal.Gui.ComboBox.OnSelectedChanged*"></a>
  1208. <h4 id="Terminal_Gui_ComboBox_OnSelectedChanged" data-uid="Terminal.Gui.ComboBox.OnSelectedChanged">OnSelectedChanged()</h4>
  1209. <div class="markdown level1 summary">
  1210. Invokes the SelectedChanged event if it is defined.
  1211. </div>
  1212. <div class="markdown level1 conceptual"></div>
  1213. <h5 class="decalaration">Declaration</h5>
  1214. <div class="codewrapper">
  1215. <pre><code class="lang-csharp hljs">public virtual bool OnSelectedChanged()</code></pre>
  1216. </div>
  1217. <h5 class="returns">Returns</h5>
  1218. <table class="table table-bordered table-striped table-condensed">
  1219. <thead>
  1220. <tr>
  1221. <th>Type</th>
  1222. <th>Description</th>
  1223. </tr>
  1224. </thead>
  1225. <tbody>
  1226. <tr>
  1227. <td><span class="xref">System.Boolean</span></td>
  1228. <td></td>
  1229. </tr>
  1230. </tbody>
  1231. </table>
  1232. <span class="small pull-right mobile-hide">
  1233. <span class="divider">|</span>
  1234. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ComboBox_ProcessKey_Terminal_Gui_KeyEvent_.md&amp;value=---%0Auid%3A%20Terminal.Gui.ComboBox.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>
  1235. </span>
  1236. <span class="small pull-right mobile-hide">
  1237. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/Terminal.Gui/Views/ComboBox.cs/#L548">View Source</a>
  1238. </span>
  1239. <a id="Terminal_Gui_ComboBox_ProcessKey_" data-uid="Terminal.Gui.ComboBox.ProcessKey*"></a>
  1240. <h4 id="Terminal_Gui_ComboBox_ProcessKey_Terminal_Gui_KeyEvent_" data-uid="Terminal.Gui.ComboBox.ProcessKey(Terminal.Gui.KeyEvent)">ProcessKey(KeyEvent)</h4>
  1241. <div class="markdown level1 summary">
  1242. If the view is focused, gives the view a
  1243. chance to process the keystroke.
  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 override bool ProcessKey(KeyEvent e)</code></pre>
  1249. </div>
  1250. <h5 class="parameters">Parameters</h5>
  1251. <table class="table table-bordered table-striped table-condensed">
  1252. <thead>
  1253. <tr>
  1254. <th>Type</th>
  1255. <th>Name</th>
  1256. <th>Description</th>
  1257. </tr>
  1258. </thead>
  1259. <tbody>
  1260. <tr>
  1261. <td><a class="xref" href="Terminal.Gui.KeyEvent.html">KeyEvent</a></td>
  1262. <td><span class="parametername">e</span></td>
  1263. <td></td>
  1264. </tr>
  1265. </tbody>
  1266. </table>
  1267. <h5 class="returns">Returns</h5>
  1268. <table class="table table-bordered table-striped table-condensed">
  1269. <thead>
  1270. <tr>
  1271. <th>Type</th>
  1272. <th>Description</th>
  1273. </tr>
  1274. </thead>
  1275. <tbody>
  1276. <tr>
  1277. <td><span class="xref">System.Boolean</span></td>
  1278. <td></td>
  1279. </tr>
  1280. </tbody>
  1281. </table>
  1282. <h5 class="overrides">Overrides</h5>
  1283. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ProcessKey_Terminal_Gui_KeyEvent_">View.ProcessKey(KeyEvent)</a></div>
  1284. <span class="small pull-right mobile-hide">
  1285. <span class="divider">|</span>
  1286. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ComboBox_Redraw_Terminal_Gui_Rect_.md&amp;value=---%0Auid%3A%20Terminal.Gui.ComboBox.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>
  1287. </span>
  1288. <span class="small pull-right mobile-hide">
  1289. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/Terminal.Gui/Views/ComboBox.cs/#L534">View Source</a>
  1290. </span>
  1291. <a id="Terminal_Gui_ComboBox_Redraw_" data-uid="Terminal.Gui.ComboBox.Redraw*"></a>
  1292. <h4 id="Terminal_Gui_ComboBox_Redraw_Terminal_Gui_Rect_" data-uid="Terminal.Gui.ComboBox.Redraw(Terminal.Gui.Rect)">Redraw(Rect)</h4>
  1293. <div class="markdown level1 summary">
  1294. Redraws this view and its subviews; only redraws the views that have been flagged for a re-display.
  1295. </div>
  1296. <div class="markdown level1 conceptual"></div>
  1297. <h5 class="decalaration">Declaration</h5>
  1298. <div class="codewrapper">
  1299. <pre><code class="lang-csharp hljs">public override void Redraw(Rect bounds)</code></pre>
  1300. </div>
  1301. <h5 class="parameters">Parameters</h5>
  1302. <table class="table table-bordered table-striped table-condensed">
  1303. <thead>
  1304. <tr>
  1305. <th>Type</th>
  1306. <th>Name</th>
  1307. <th>Description</th>
  1308. </tr>
  1309. </thead>
  1310. <tbody>
  1311. <tr>
  1312. <td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
  1313. <td><span class="parametername">bounds</span></td>
  1314. <td>The bounds (view-relative region) to redraw.</td>
  1315. </tr>
  1316. </tbody>
  1317. </table>
  1318. <h5 class="overrides">Overrides</h5>
  1319. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Redraw_Terminal_Gui_Rect_">View.Redraw(Rect)</a></div>
  1320. <span class="small pull-right mobile-hide">
  1321. <span class="divider">|</span>
  1322. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ComboBox_SetSource_System_Collections_IList_.md&amp;value=---%0Auid%3A%20Terminal.Gui.ComboBox.SetSource(System.Collections.IList)%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>
  1323. </span>
  1324. <span class="small pull-right mobile-hide">
  1325. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/Terminal.Gui/Views/ComboBox.cs/#L201">View Source</a>
  1326. </span>
  1327. <a id="Terminal_Gui_ComboBox_SetSource_" data-uid="Terminal.Gui.ComboBox.SetSource*"></a>
  1328. <h4 id="Terminal_Gui_ComboBox_SetSource_System_Collections_IList_" data-uid="Terminal.Gui.ComboBox.SetSource(System.Collections.IList)">SetSource(IList)</h4>
  1329. <div class="markdown level1 summary">
  1330. Sets the source of the <a class="xref" href="Terminal.Gui.ComboBox.html">ComboBox</a> to an <span class="xref">System.Collections.IList</span>.
  1331. </div>
  1332. <div class="markdown level1 conceptual"></div>
  1333. <h5 class="decalaration">Declaration</h5>
  1334. <div class="codewrapper">
  1335. <pre><code class="lang-csharp hljs">public void SetSource(IList source)</code></pre>
  1336. </div>
  1337. <h5 class="parameters">Parameters</h5>
  1338. <table class="table table-bordered table-striped table-condensed">
  1339. <thead>
  1340. <tr>
  1341. <th>Type</th>
  1342. <th>Name</th>
  1343. <th>Description</th>
  1344. </tr>
  1345. </thead>
  1346. <tbody>
  1347. <tr>
  1348. <td><span class="xref">System.Collections.IList</span></td>
  1349. <td><span class="parametername">source</span></td>
  1350. <td></td>
  1351. </tr>
  1352. </tbody>
  1353. </table>
  1354. <h3 id="events">Events
  1355. </h3>
  1356. <span class="small pull-right mobile-hide">
  1357. <span class="divider">|</span>
  1358. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ComboBox_Collapsed.md&amp;value=---%0Auid%3A%20Terminal.Gui.ComboBox.Collapsed%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>
  1359. </span>
  1360. <span class="small pull-right mobile-hide">
  1361. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/Terminal.Gui/Views/ComboBox.cs/#L224">View Source</a>
  1362. </span>
  1363. <h4 id="Terminal_Gui_ComboBox_Collapsed" data-uid="Terminal.Gui.ComboBox.Collapsed">Collapsed</h4>
  1364. <div class="markdown level1 summary">
  1365. This event is raised when the drop-down list is collapsed.
  1366. </div>
  1367. <div class="markdown level1 conceptual"></div>
  1368. <h5 class="decalaration">Declaration</h5>
  1369. <div class="codewrapper">
  1370. <pre><code class="lang-csharp hljs">public event Action Collapsed</code></pre>
  1371. </div>
  1372. <h5 class="eventType">Event Type</h5>
  1373. <table class="table table-bordered table-striped table-condensed">
  1374. <thead>
  1375. <tr>
  1376. <th>Type</th>
  1377. <th>Description</th>
  1378. </tr>
  1379. </thead>
  1380. <tbody>
  1381. <tr>
  1382. <td><span class="xref">System.Action</span></td>
  1383. <td></td>
  1384. </tr>
  1385. </tbody>
  1386. </table>
  1387. <span class="small pull-right mobile-hide">
  1388. <span class="divider">|</span>
  1389. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ComboBox_Expanded.md&amp;value=---%0Auid%3A%20Terminal.Gui.ComboBox.Expanded%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>
  1390. </span>
  1391. <span class="small pull-right mobile-hide">
  1392. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/Terminal.Gui/Views/ComboBox.cs/#L219">View Source</a>
  1393. </span>
  1394. <h4 id="Terminal_Gui_ComboBox_Expanded" data-uid="Terminal.Gui.ComboBox.Expanded">Expanded</h4>
  1395. <div class="markdown level1 summary">
  1396. This event is raised when the drop-down list is expanded.
  1397. </div>
  1398. <div class="markdown level1 conceptual"></div>
  1399. <h5 class="decalaration">Declaration</h5>
  1400. <div class="codewrapper">
  1401. <pre><code class="lang-csharp hljs">public event Action Expanded</code></pre>
  1402. </div>
  1403. <h5 class="eventType">Event Type</h5>
  1404. <table class="table table-bordered table-striped table-condensed">
  1405. <thead>
  1406. <tr>
  1407. <th>Type</th>
  1408. <th>Description</th>
  1409. </tr>
  1410. </thead>
  1411. <tbody>
  1412. <tr>
  1413. <td><span class="xref">System.Action</span></td>
  1414. <td></td>
  1415. </tr>
  1416. </tbody>
  1417. </table>
  1418. <span class="small pull-right mobile-hide">
  1419. <span class="divider">|</span>
  1420. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ComboBox_OpenSelectedItem.md&amp;value=---%0Auid%3A%20Terminal.Gui.ComboBox.OpenSelectedItem%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>
  1421. </span>
  1422. <span class="small pull-right mobile-hide">
  1423. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/Terminal.Gui/Views/ComboBox.cs/#L229">View Source</a>
  1424. </span>
  1425. <h4 id="Terminal_Gui_ComboBox_OpenSelectedItem" data-uid="Terminal.Gui.ComboBox.OpenSelectedItem">OpenSelectedItem</h4>
  1426. <div class="markdown level1 summary">
  1427. This event is raised when the user Double Clicks on an item or presses ENTER to open the selected item.
  1428. </div>
  1429. <div class="markdown level1 conceptual"></div>
  1430. <h5 class="decalaration">Declaration</h5>
  1431. <div class="codewrapper">
  1432. <pre><code class="lang-csharp hljs">public event Action&lt;ListViewItemEventArgs&gt; OpenSelectedItem</code></pre>
  1433. </div>
  1434. <h5 class="eventType">Event Type</h5>
  1435. <table class="table table-bordered table-striped table-condensed">
  1436. <thead>
  1437. <tr>
  1438. <th>Type</th>
  1439. <th>Description</th>
  1440. </tr>
  1441. </thead>
  1442. <tbody>
  1443. <tr>
  1444. <td><span class="xref">System.Action</span>&lt;<a class="xref" href="Terminal.Gui.ListViewItemEventArgs.html">ListViewItemEventArgs</a>&gt;</td>
  1445. <td></td>
  1446. </tr>
  1447. </tbody>
  1448. </table>
  1449. <span class="small pull-right mobile-hide">
  1450. <span class="divider">|</span>
  1451. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ComboBox_SelectedItemChanged.md&amp;value=---%0Auid%3A%20Terminal.Gui.ComboBox.SelectedItemChanged%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>
  1452. </span>
  1453. <span class="small pull-right mobile-hide">
  1454. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/Terminal.Gui/Views/ComboBox.cs/#L214">View Source</a>
  1455. </span>
  1456. <h4 id="Terminal_Gui_ComboBox_SelectedItemChanged" data-uid="Terminal.Gui.ComboBox.SelectedItemChanged">SelectedItemChanged</h4>
  1457. <div class="markdown level1 summary">
  1458. This event is raised when the selected item in the <a class="xref" href="Terminal.Gui.ComboBox.html">ComboBox</a> has changed.
  1459. </div>
  1460. <div class="markdown level1 conceptual"></div>
  1461. <h5 class="decalaration">Declaration</h5>
  1462. <div class="codewrapper">
  1463. <pre><code class="lang-csharp hljs">public event Action&lt;ListViewItemEventArgs&gt; SelectedItemChanged</code></pre>
  1464. </div>
  1465. <h5 class="eventType">Event Type</h5>
  1466. <table class="table table-bordered table-striped table-condensed">
  1467. <thead>
  1468. <tr>
  1469. <th>Type</th>
  1470. <th>Description</th>
  1471. </tr>
  1472. </thead>
  1473. <tbody>
  1474. <tr>
  1475. <td><span class="xref">System.Action</span>&lt;<a class="xref" href="Terminal.Gui.ListViewItemEventArgs.html">ListViewItemEventArgs</a>&gt;</td>
  1476. <td></td>
  1477. </tr>
  1478. </tbody>
  1479. </table>
  1480. <h3 id="implements">Implements</h3>
  1481. <div>
  1482. <span class="xref">System.IDisposable</span>
  1483. </div>
  1484. <div>
  1485. <span class="xref">System.ComponentModel.ISupportInitializeNotification</span>
  1486. </div>
  1487. <div>
  1488. <span class="xref">System.ComponentModel.ISupportInitialize</span>
  1489. </div>
  1490. </article>
  1491. </div>
  1492. <div class="hidden-sm col-md-2" role="complementary">
  1493. <div class="sideaffix">
  1494. <div class="contribution">
  1495. <ul class="nav">
  1496. <li>
  1497. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ComboBox.md&amp;value=---%0Auid%3A%20Terminal.Gui.ComboBox%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>
  1498. </li>
  1499. <li>
  1500. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/Terminal.Gui/Views/ComboBox.cs/#L17" class="contribution-link">View Source</a>
  1501. </li>
  1502. </ul>
  1503. </div>
  1504. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  1505. <h5>In This Article</h5>
  1506. <div></div>
  1507. </nav>
  1508. </div>
  1509. </div>
  1510. </div>
  1511. </div>
  1512. <footer>
  1513. <div class="grad-bottom"></div>
  1514. <div class="footer">
  1515. <div class="container">
  1516. <span class="pull-right">
  1517. <a href="#top">Back to top</a>
  1518. </span>
  1519. <span>Generated by <strong>DocFX</strong></span>
  1520. </div>
  1521. </div>
  1522. </footer>
  1523. </div>
  1524. <script type="text/javascript" src="../../styles/docfx.vendor.js"></script>
  1525. <script type="text/javascript" src="../../styles/docfx.js"></script>
  1526. <script type="text/javascript" src="../../styles/main.js"></script>
  1527. </body>
  1528. </html>