Terminal.Gui.ComboBox.html 75 KB

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