Terminal.Gui.ComboBox.html 40 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021
  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.0.0">
  13. <link rel="shortcut icon" href="../../favicon.ico">
  14. <link rel="stylesheet" href="../../styles/docfx.vendor.css">
  15. <link rel="stylesheet" href="../../styles/docfx.css">
  16. <link rel="stylesheet" href="../../styles/main.css">
  17. <meta property="docfx:navrel" content="../../toc.html">
  18. <meta property="docfx:tocrel" content="toc.html">
  19. <meta property="docfx:rel" content="../../">
  20. </head>
  21. <body data-spy="scroll" data-target="#affix" data-offset="120">
  22. <div id="wrapper">
  23. <header>
  24. <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
  25. <div class="container">
  26. <div class="navbar-header">
  27. <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
  28. <span class="sr-only">Toggle navigation</span>
  29. <span class="icon-bar"></span>
  30. <span class="icon-bar"></span>
  31. <span class="icon-bar"></span>
  32. </button>
  33. <a class="navbar-brand" href="../../index.html">
  34. <img id="logo" class="svg" src="../../images/logo48.png" alt="">
  35. </a>
  36. </div>
  37. <div class="collapse navbar-collapse" id="navbar">
  38. <form class="navbar-form navbar-right" role="search" id="search">
  39. <div class="form-group">
  40. <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
  41. </div>
  42. </form>
  43. </div>
  44. </div>
  45. </nav>
  46. <div class="subnav navbar navbar-default">
  47. <div class="container hide-when-search" id="breadcrumb">
  48. <ul class="breadcrumb">
  49. <li></li>
  50. </ul>
  51. </div>
  52. </div>
  53. </header>
  54. <div class="container body-content">
  55. <div id="search-results">
  56. <div class="search-list">Search Results for <span></span></div>
  57. <div class="sr-items">
  58. <p><i class="glyphicon glyphicon-refresh index-loading"></i></p>
  59. </div>
  60. <ul id="pagination" data-first="First" data-prev="Previous" data-next="Next" data-last="Last"></ul>
  61. </div>
  62. </div>
  63. <div role="main" class="container body-content hide-when-search">
  64. <div class="sidenav hide-when-search">
  65. <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
  66. <div class="sidetoggle collapse" id="sidetoggle">
  67. <div id="sidetoc"></div>
  68. </div>
  69. </div>
  70. <div class="article row grid-right">
  71. <div class="col-md-10">
  72. <article class="content wrap" id="_content" data-uid="Terminal.Gui.ComboBox">
  73. <h1 id="Terminal_Gui_ComboBox" data-uid="Terminal.Gui.ComboBox" class="text-break">Class ComboBox
  74. </h1>
  75. <div class="markdown level0 summary">
  76. ComboBox control
  77. </div>
  78. <div class="markdown level0 conceptual"></div>
  79. <div class="inheritance">
  80. <h5>Inheritance</h5>
  81. <div class="level0"><span class="xref">System.Object</span></div>
  82. <div class="level1"><a class="xref" href="Terminal.Gui.Responder.html">Responder</a></div>
  83. <div class="level2"><a class="xref" href="Terminal.Gui.View.html">View</a></div>
  84. <div class="level3"><span class="xref">ComboBox</span></div>
  85. </div>
  86. <div classs="implements">
  87. <h5>Implements</h5>
  88. <div><span class="xref">System.IDisposable</span></div>
  89. <div><span class="xref">System.ComponentModel.ISupportInitializeNotification</span></div>
  90. <div><span class="xref">System.ComponentModel.ISupportInitialize</span></div>
  91. </div>
  92. <div class="inheritedMembers">
  93. <h5>Inherited Members</h5>
  94. <div>
  95. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Added">View.Added</a>
  96. </div>
  97. <div>
  98. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Removed">View.Removed</a>
  99. </div>
  100. <div>
  101. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Enter">View.Enter</a>
  102. </div>
  103. <div>
  104. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Leave">View.Leave</a>
  105. </div>
  106. <div>
  107. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_MouseEnter">View.MouseEnter</a>
  108. </div>
  109. <div>
  110. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_MouseLeave">View.MouseLeave</a>
  111. </div>
  112. <div>
  113. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_MouseClick">View.MouseClick</a>
  114. </div>
  115. <div>
  116. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_CanFocusChanged">View.CanFocusChanged</a>
  117. </div>
  118. <div>
  119. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_EnabledChanged">View.EnabledChanged</a>
  120. </div>
  121. <div>
  122. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_VisibleChanged">View.VisibleChanged</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_SuperView">View.SuperView</a>
  195. </div>
  196. <div>
  197. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetNeedsDisplay">View.SetNeedsDisplay()</a>
  198. </div>
  199. <div>
  200. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearLayoutNeeded">View.ClearLayoutNeeded()</a>
  201. </div>
  202. <div>
  203. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetNeedsDisplay_Terminal_Gui_Rect_">View.SetNeedsDisplay(Rect)</a>
  204. </div>
  205. <div>
  206. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetChildNeedsDisplay">View.SetChildNeedsDisplay()</a>
  207. </div>
  208. <div>
  209. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Add_Terminal_Gui_View_">View.Add(View)</a>
  210. </div>
  211. <div>
  212. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Add_Terminal_Gui_View___">View.Add(View[])</a>
  213. </div>
  214. <div>
  215. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_RemoveAll">View.RemoveAll()</a>
  216. </div>
  217. <div>
  218. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Remove_Terminal_Gui_View_">View.Remove(View)</a>
  219. </div>
  220. <div>
  221. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_BringSubviewToFront_Terminal_Gui_View_">View.BringSubviewToFront(View)</a>
  222. </div>
  223. <div>
  224. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SendSubviewToBack_Terminal_Gui_View_">View.SendSubviewToBack(View)</a>
  225. </div>
  226. <div>
  227. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SendSubviewBackwards_Terminal_Gui_View_">View.SendSubviewBackwards(View)</a>
  228. </div>
  229. <div>
  230. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_BringSubviewForward_Terminal_Gui_View_">View.BringSubviewForward(View)</a>
  231. </div>
  232. <div>
  233. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Clear">View.Clear()</a>
  234. </div>
  235. <div>
  236. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Clear_Terminal_Gui_Rect_">View.Clear(Rect)</a>
  237. </div>
  238. <div>
  239. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ScreenToView_System_Int32_System_Int32_">View.ScreenToView(Int32, Int32)</a>
  240. </div>
  241. <div>
  242. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClipToBounds">View.ClipToBounds()</a>
  243. </div>
  244. <div>
  245. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetClip_Terminal_Gui_Rect_">View.SetClip(Rect)</a>
  246. </div>
  247. <div>
  248. <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>
  249. </div>
  250. <div>
  251. <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>
  252. </div>
  253. <div>
  254. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_DrawHotString_NStack_ustring_System_Boolean_Terminal_Gui_ColorScheme_">View.DrawHotString(ustring, Boolean, ColorScheme)</a>
  255. </div>
  256. <div>
  257. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Move_System_Int32_System_Int32_">View.Move(Int32, Int32)</a>
  258. </div>
  259. <div>
  260. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_PositionCursor">View.PositionCursor()</a>
  261. </div>
  262. <div>
  263. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_HasFocus">View.HasFocus</a>
  264. </div>
  265. <div>
  266. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnAdded_Terminal_Gui_View_">View.OnAdded(View)</a>
  267. </div>
  268. <div>
  269. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnRemoved_Terminal_Gui_View_">View.OnRemoved(View)</a>
  270. </div>
  271. <div>
  272. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Focused">View.Focused</a>
  273. </div>
  274. <div>
  275. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_MostFocused">View.MostFocused</a>
  276. </div>
  277. <div>
  278. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_AddRune_System_Int32_System_Int32_System_Rune_">View.AddRune(Int32, Int32, Rune)</a>
  279. </div>
  280. <div>
  281. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearNeedsDisplay">View.ClearNeedsDisplay()</a>
  282. </div>
  283. <div>
  284. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_DrawContent">View.DrawContent</a>
  285. </div>
  286. <div>
  287. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnDrawContent_Terminal_Gui_Rect_">View.OnDrawContent(Rect)</a>
  288. </div>
  289. <div>
  290. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetFocus">View.SetFocus()</a>
  291. </div>
  292. <div>
  293. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_KeyPress">View.KeyPress</a>
  294. </div>
  295. <div>
  296. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ProcessHotKey_Terminal_Gui_KeyEvent_">View.ProcessHotKey(KeyEvent)</a>
  297. </div>
  298. <div>
  299. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ProcessColdKey_Terminal_Gui_KeyEvent_">View.ProcessColdKey(KeyEvent)</a>
  300. </div>
  301. <div>
  302. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_KeyDown">View.KeyDown</a>
  303. </div>
  304. <div>
  305. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnKeyDown_Terminal_Gui_KeyEvent_">View.OnKeyDown(KeyEvent)</a>
  306. </div>
  307. <div>
  308. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_KeyUp">View.KeyUp</a>
  309. </div>
  310. <div>
  311. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnKeyUp_Terminal_Gui_KeyEvent_">View.OnKeyUp(KeyEvent)</a>
  312. </div>
  313. <div>
  314. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_EnsureFocus">View.EnsureFocus()</a>
  315. </div>
  316. <div>
  317. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusFirst">View.FocusFirst()</a>
  318. </div>
  319. <div>
  320. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusLast">View.FocusLast()</a>
  321. </div>
  322. <div>
  323. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusPrev">View.FocusPrev()</a>
  324. </div>
  325. <div>
  326. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusNext">View.FocusNext()</a>
  327. </div>
  328. <div>
  329. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutStarted">View.LayoutStarted</a>
  330. </div>
  331. <div>
  332. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutComplete">View.LayoutComplete</a>
  333. </div>
  334. <div>
  335. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Initialized">View.Initialized</a>
  336. </div>
  337. <div>
  338. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutSubviews">View.LayoutSubviews()</a>
  339. </div>
  340. <div>
  341. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_AutoSize">View.AutoSize</a>
  342. </div>
  343. <div>
  344. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TextAlignment">View.TextAlignment</a>
  345. </div>
  346. <div>
  347. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_VerticalTextAlignment">View.VerticalTextAlignment</a>
  348. </div>
  349. <div>
  350. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TextDirection">View.TextDirection</a>
  351. </div>
  352. <div>
  353. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_IsInitialized">View.IsInitialized</a>
  354. </div>
  355. <div>
  356. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Enabled">View.Enabled</a>
  357. </div>
  358. <div>
  359. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Visible">View.Visible</a>
  360. </div>
  361. <div>
  362. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Border">View.Border</a>
  363. </div>
  364. <div>
  365. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ToString">View.ToString()</a>
  366. </div>
  367. <div>
  368. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseEnter_Terminal_Gui_MouseEvent_">View.OnMouseEnter(MouseEvent)</a>
  369. </div>
  370. <div>
  371. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseLeave_Terminal_Gui_MouseEvent_">View.OnMouseLeave(MouseEvent)</a>
  372. </div>
  373. <div>
  374. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseEvent_Terminal_Gui_MouseEvent_">View.OnMouseEvent(MouseEvent)</a>
  375. </div>
  376. <div>
  377. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseClick_Terminal_Gui_View_MouseEventArgs_">View.OnMouseClick(View.MouseEventArgs)</a>
  378. </div>
  379. <div>
  380. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnCanFocusChanged">View.OnCanFocusChanged()</a>
  381. </div>
  382. <div>
  383. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnEnabledChanged">View.OnEnabledChanged()</a>
  384. </div>
  385. <div>
  386. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnVisibleChanged">View.OnVisibleChanged()</a>
  387. </div>
  388. <div>
  389. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Dispose_System_Boolean_">View.Dispose(Boolean)</a>
  390. </div>
  391. <div>
  392. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_BeginInit">View.BeginInit()</a>
  393. </div>
  394. <div>
  395. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_EndInit">View.EndInit()</a>
  396. </div>
  397. <div>
  398. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetWidth_System_Int32_System_Int32__">View.SetWidth(Int32, Int32)</a>
  399. </div>
  400. <div>
  401. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetHeight_System_Int32_System_Int32__">View.SetHeight(Int32, Int32)</a>
  402. </div>
  403. <div>
  404. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetCurrentWidth_System_Int32__">View.GetCurrentWidth(Int32)</a>
  405. </div>
  406. <div>
  407. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetCurrentHeight_System_Int32__">View.GetCurrentHeight(Int32)</a>
  408. </div>
  409. <div>
  410. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetNormalColor">View.GetNormalColor()</a>
  411. </div>
  412. <div>
  413. <a class="xref" href="Terminal.Gui.Responder.html#Terminal_Gui_Responder_Dispose">Responder.Dispose()</a>
  414. </div>
  415. <div>
  416. <span class="xref">System.Object.Equals(System.Object)</span>
  417. </div>
  418. <div>
  419. <span class="xref">System.Object.Equals(System.Object, System.Object)</span>
  420. </div>
  421. <div>
  422. <span class="xref">System.Object.GetHashCode()</span>
  423. </div>
  424. <div>
  425. <span class="xref">System.Object.GetType()</span>
  426. </div>
  427. <div>
  428. <span class="xref">System.Object.MemberwiseClone()</span>
  429. </div>
  430. <div>
  431. <span class="xref">System.Object.ReferenceEquals(System.Object, System.Object)</span>
  432. </div>
  433. </div>
  434. <h6><strong>Namespace</strong>: <a class="xref" href="Terminal.Gui.html">Terminal.Gui</a></h6>
  435. <h6><strong>Assembly</strong>: Terminal.Gui.dll</h6>
  436. <h5 id="Terminal_Gui_ComboBox_syntax">Syntax</h5>
  437. <div class="codewrapper">
  438. <pre><code class="lang-csharp hljs">public class ComboBox : View, IDisposable, ISupportInitializeNotification, ISupportInitialize</code></pre>
  439. </div>
  440. <h3 id="constructors">Constructors
  441. </h3>
  442. <a id="Terminal_Gui_ComboBox__ctor_" data-uid="Terminal.Gui.ComboBox.#ctor*"></a>
  443. <h4 id="Terminal_Gui_ComboBox__ctor" data-uid="Terminal.Gui.ComboBox.#ctor">ComboBox()</h4>
  444. <div class="markdown level1 summary">
  445. Public constructor
  446. </div>
  447. <div class="markdown level1 conceptual"></div>
  448. <h5 class="decalaration">Declaration</h5>
  449. <div class="codewrapper">
  450. <pre><code class="lang-csharp hljs">public ComboBox()</code></pre>
  451. </div>
  452. <a id="Terminal_Gui_ComboBox__ctor_" data-uid="Terminal.Gui.ComboBox.#ctor*"></a>
  453. <h4 id="Terminal_Gui_ComboBox__ctor_NStack_ustring_" data-uid="Terminal.Gui.ComboBox.#ctor(NStack.ustring)">ComboBox(ustring)</h4>
  454. <div class="markdown level1 summary">
  455. Public constructor
  456. </div>
  457. <div class="markdown level1 conceptual"></div>
  458. <h5 class="decalaration">Declaration</h5>
  459. <div class="codewrapper">
  460. <pre><code class="lang-csharp hljs">public ComboBox(ustring text)</code></pre>
  461. </div>
  462. <h5 class="parameters">Parameters</h5>
  463. <table class="table table-bordered table-striped table-condensed">
  464. <thead>
  465. <tr>
  466. <th>Type</th>
  467. <th>Name</th>
  468. <th>Description</th>
  469. </tr>
  470. </thead>
  471. <tbody>
  472. <tr>
  473. <td><span class="xref">NStack.ustring</span></td>
  474. <td><span class="parametername">text</span></td>
  475. <td></td>
  476. </tr>
  477. </tbody>
  478. </table>
  479. <a id="Terminal_Gui_ComboBox__ctor_" data-uid="Terminal.Gui.ComboBox.#ctor*"></a>
  480. <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>
  481. <div class="markdown level1 summary">
  482. Public constructor
  483. </div>
  484. <div class="markdown level1 conceptual"></div>
  485. <h5 class="decalaration">Declaration</h5>
  486. <div class="codewrapper">
  487. <pre><code class="lang-csharp hljs">public ComboBox(Rect rect, IList source)</code></pre>
  488. </div>
  489. <h5 class="parameters">Parameters</h5>
  490. <table class="table table-bordered table-striped table-condensed">
  491. <thead>
  492. <tr>
  493. <th>Type</th>
  494. <th>Name</th>
  495. <th>Description</th>
  496. </tr>
  497. </thead>
  498. <tbody>
  499. <tr>
  500. <td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
  501. <td><span class="parametername">rect</span></td>
  502. <td></td>
  503. </tr>
  504. <tr>
  505. <td><span class="xref">System.Collections.IList</span></td>
  506. <td><span class="parametername">source</span></td>
  507. <td></td>
  508. </tr>
  509. </tbody>
  510. </table>
  511. <h3 id="properties">Properties
  512. </h3>
  513. <a id="Terminal_Gui_ComboBox_ColorScheme_" data-uid="Terminal.Gui.ComboBox.ColorScheme*"></a>
  514. <h4 id="Terminal_Gui_ComboBox_ColorScheme" data-uid="Terminal.Gui.ComboBox.ColorScheme">ColorScheme</h4>
  515. <div class="markdown level1 summary"></div>
  516. <div class="markdown level1 conceptual"></div>
  517. <h5 class="decalaration">Declaration</h5>
  518. <div class="codewrapper">
  519. <pre><code class="lang-csharp hljs">public ColorScheme ColorScheme { get; set; }</code></pre>
  520. </div>
  521. <h5 class="propertyValue">Property Value</h5>
  522. <table class="table table-bordered table-striped table-condensed">
  523. <thead>
  524. <tr>
  525. <th>Type</th>
  526. <th>Description</th>
  527. </tr>
  528. </thead>
  529. <tbody>
  530. <tr>
  531. <td><a class="xref" href="Terminal.Gui.ColorScheme.html">ColorScheme</a></td>
  532. <td></td>
  533. </tr>
  534. </tbody>
  535. </table>
  536. <a id="Terminal_Gui_ComboBox_ReadOnly_" data-uid="Terminal.Gui.ComboBox.ReadOnly*"></a>
  537. <h4 id="Terminal_Gui_ComboBox_ReadOnly" data-uid="Terminal.Gui.ComboBox.ReadOnly">ReadOnly</h4>
  538. <div class="markdown level1 summary">
  539. If set to true its not allow any changes in the text.
  540. </div>
  541. <div class="markdown level1 conceptual"></div>
  542. <h5 class="decalaration">Declaration</h5>
  543. <div class="codewrapper">
  544. <pre><code class="lang-csharp hljs">public bool ReadOnly { get; set; }</code></pre>
  545. </div>
  546. <h5 class="propertyValue">Property Value</h5>
  547. <table class="table table-bordered table-striped table-condensed">
  548. <thead>
  549. <tr>
  550. <th>Type</th>
  551. <th>Description</th>
  552. </tr>
  553. </thead>
  554. <tbody>
  555. <tr>
  556. <td><span class="xref">System.Boolean</span></td>
  557. <td></td>
  558. </tr>
  559. </tbody>
  560. </table>
  561. <a id="Terminal_Gui_ComboBox_SelectedItem_" data-uid="Terminal.Gui.ComboBox.SelectedItem*"></a>
  562. <h4 id="Terminal_Gui_ComboBox_SelectedItem" data-uid="Terminal.Gui.ComboBox.SelectedItem">SelectedItem</h4>
  563. <div class="markdown level1 summary">
  564. Gets the index of the currently selected item in the <a class="xref" href="Terminal.Gui.ComboBox.html#Terminal_Gui_ComboBox_Source">Source</a>
  565. </div>
  566. <div class="markdown level1 conceptual"></div>
  567. <h5 class="decalaration">Declaration</h5>
  568. <div class="codewrapper">
  569. <pre><code class="lang-csharp hljs">public int SelectedItem { get; }</code></pre>
  570. </div>
  571. <h5 class="propertyValue">Property Value</h5>
  572. <table class="table table-bordered table-striped table-condensed">
  573. <thead>
  574. <tr>
  575. <th>Type</th>
  576. <th>Description</th>
  577. </tr>
  578. </thead>
  579. <tbody>
  580. <tr>
  581. <td><span class="xref">System.Int32</span></td>
  582. <td>The selected item or -1 none selected.</td>
  583. </tr>
  584. </tbody>
  585. </table>
  586. <a id="Terminal_Gui_ComboBox_Source_" data-uid="Terminal.Gui.ComboBox.Source*"></a>
  587. <h4 id="Terminal_Gui_ComboBox_Source" data-uid="Terminal.Gui.ComboBox.Source">Source</h4>
  588. <div class="markdown level1 summary">
  589. 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.
  590. </div>
  591. <div class="markdown level1 conceptual"></div>
  592. <h5 class="decalaration">Declaration</h5>
  593. <div class="codewrapper">
  594. <pre><code class="lang-csharp hljs">public IListDataSource Source { get; set; }</code></pre>
  595. </div>
  596. <h5 class="propertyValue">Property Value</h5>
  597. <table class="table table-bordered table-striped table-condensed">
  598. <thead>
  599. <tr>
  600. <th>Type</th>
  601. <th>Description</th>
  602. </tr>
  603. </thead>
  604. <tbody>
  605. <tr>
  606. <td><a class="xref" href="Terminal.Gui.IListDataSource.html">IListDataSource</a></td>
  607. <td>The source.</td>
  608. </tr>
  609. </tbody>
  610. </table>
  611. <h5 id="Terminal_Gui_ComboBox_Source_remarks">Remarks</h5>
  612. <div class="markdown level1 remarks">
  613. Use <a class="xref" href="Terminal.Gui.ComboBox.html#Terminal_Gui_ComboBox_SetSource_System_Collections_IList_">SetSource(IList)</a> to set a new <span class="xref">System.Collections.IList</span> source.
  614. </div>
  615. <a id="Terminal_Gui_ComboBox_Text_" data-uid="Terminal.Gui.ComboBox.Text*"></a>
  616. <h4 id="Terminal_Gui_ComboBox_Text" data-uid="Terminal.Gui.ComboBox.Text">Text</h4>
  617. <div class="markdown level1 summary">
  618. The currently selected list item
  619. </div>
  620. <div class="markdown level1 conceptual"></div>
  621. <h5 class="decalaration">Declaration</h5>
  622. <div class="codewrapper">
  623. <pre><code class="lang-csharp hljs">public ustring Text { get; set; }</code></pre>
  624. </div>
  625. <h5 class="propertyValue">Property Value</h5>
  626. <table class="table table-bordered table-striped table-condensed">
  627. <thead>
  628. <tr>
  629. <th>Type</th>
  630. <th>Description</th>
  631. </tr>
  632. </thead>
  633. <tbody>
  634. <tr>
  635. <td><span class="xref">NStack.ustring</span></td>
  636. <td></td>
  637. </tr>
  638. </tbody>
  639. </table>
  640. <h3 id="methods">Methods
  641. </h3>
  642. <a id="Terminal_Gui_ComboBox_MouseEvent_" data-uid="Terminal.Gui.ComboBox.MouseEvent*"></a>
  643. <h4 id="Terminal_Gui_ComboBox_MouseEvent_Terminal_Gui_MouseEvent_" data-uid="Terminal.Gui.ComboBox.MouseEvent(Terminal.Gui.MouseEvent)">MouseEvent(MouseEvent)</h4>
  644. <div class="markdown level1 summary"></div>
  645. <div class="markdown level1 conceptual"></div>
  646. <h5 class="decalaration">Declaration</h5>
  647. <div class="codewrapper">
  648. <pre><code class="lang-csharp hljs">public override bool MouseEvent(MouseEvent me)</code></pre>
  649. </div>
  650. <h5 class="parameters">Parameters</h5>
  651. <table class="table table-bordered table-striped table-condensed">
  652. <thead>
  653. <tr>
  654. <th>Type</th>
  655. <th>Name</th>
  656. <th>Description</th>
  657. </tr>
  658. </thead>
  659. <tbody>
  660. <tr>
  661. <td><a class="xref" href="Terminal.Gui.MouseEvent.html">MouseEvent</a></td>
  662. <td><span class="parametername">me</span></td>
  663. <td></td>
  664. </tr>
  665. </tbody>
  666. </table>
  667. <h5 class="returns">Returns</h5>
  668. <table class="table table-bordered table-striped table-condensed">
  669. <thead>
  670. <tr>
  671. <th>Type</th>
  672. <th>Description</th>
  673. </tr>
  674. </thead>
  675. <tbody>
  676. <tr>
  677. <td><span class="xref">System.Boolean</span></td>
  678. <td></td>
  679. </tr>
  680. </tbody>
  681. </table>
  682. <h5 class="overrides">Overrides</h5>
  683. <div><a class="xref" href="Terminal.Gui.Responder.html#Terminal_Gui_Responder_MouseEvent_Terminal_Gui_MouseEvent_">Responder.MouseEvent(MouseEvent)</a></div>
  684. <a id="Terminal_Gui_ComboBox_OnEnter_" data-uid="Terminal.Gui.ComboBox.OnEnter*"></a>
  685. <h4 id="Terminal_Gui_ComboBox_OnEnter_Terminal_Gui_View_" data-uid="Terminal.Gui.ComboBox.OnEnter(Terminal.Gui.View)">OnEnter(View)</h4>
  686. <div class="markdown level1 summary"></div>
  687. <div class="markdown level1 conceptual"></div>
  688. <h5 class="decalaration">Declaration</h5>
  689. <div class="codewrapper">
  690. <pre><code class="lang-csharp hljs">public override bool OnEnter(View view)</code></pre>
  691. </div>
  692. <h5 class="parameters">Parameters</h5>
  693. <table class="table table-bordered table-striped table-condensed">
  694. <thead>
  695. <tr>
  696. <th>Type</th>
  697. <th>Name</th>
  698. <th>Description</th>
  699. </tr>
  700. </thead>
  701. <tbody>
  702. <tr>
  703. <td><a class="xref" href="Terminal.Gui.View.html">View</a></td>
  704. <td><span class="parametername">view</span></td>
  705. <td></td>
  706. </tr>
  707. </tbody>
  708. </table>
  709. <h5 class="returns">Returns</h5>
  710. <table class="table table-bordered table-striped table-condensed">
  711. <thead>
  712. <tr>
  713. <th>Type</th>
  714. <th>Description</th>
  715. </tr>
  716. </thead>
  717. <tbody>
  718. <tr>
  719. <td><span class="xref">System.Boolean</span></td>
  720. <td></td>
  721. </tr>
  722. </tbody>
  723. </table>
  724. <h5 class="overrides">Overrides</h5>
  725. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnEnter_Terminal_Gui_View_">View.OnEnter(View)</a></div>
  726. <a id="Terminal_Gui_ComboBox_OnLeave_" data-uid="Terminal.Gui.ComboBox.OnLeave*"></a>
  727. <h4 id="Terminal_Gui_ComboBox_OnLeave_Terminal_Gui_View_" data-uid="Terminal.Gui.ComboBox.OnLeave(Terminal.Gui.View)">OnLeave(View)</h4>
  728. <div class="markdown level1 summary"></div>
  729. <div class="markdown level1 conceptual"></div>
  730. <h5 class="decalaration">Declaration</h5>
  731. <div class="codewrapper">
  732. <pre><code class="lang-csharp hljs">public override bool OnLeave(View view)</code></pre>
  733. </div>
  734. <h5 class="parameters">Parameters</h5>
  735. <table class="table table-bordered table-striped table-condensed">
  736. <thead>
  737. <tr>
  738. <th>Type</th>
  739. <th>Name</th>
  740. <th>Description</th>
  741. </tr>
  742. </thead>
  743. <tbody>
  744. <tr>
  745. <td><a class="xref" href="Terminal.Gui.View.html">View</a></td>
  746. <td><span class="parametername">view</span></td>
  747. <td></td>
  748. </tr>
  749. </tbody>
  750. </table>
  751. <h5 class="returns">Returns</h5>
  752. <table class="table table-bordered table-striped table-condensed">
  753. <thead>
  754. <tr>
  755. <th>Type</th>
  756. <th>Description</th>
  757. </tr>
  758. </thead>
  759. <tbody>
  760. <tr>
  761. <td><span class="xref">System.Boolean</span></td>
  762. <td></td>
  763. </tr>
  764. </tbody>
  765. </table>
  766. <h5 class="overrides">Overrides</h5>
  767. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnLeave_Terminal_Gui_View_">View.OnLeave(View)</a></div>
  768. <a id="Terminal_Gui_ComboBox_OnOpenSelectedItem_" data-uid="Terminal.Gui.ComboBox.OnOpenSelectedItem*"></a>
  769. <h4 id="Terminal_Gui_ComboBox_OnOpenSelectedItem" data-uid="Terminal.Gui.ComboBox.OnOpenSelectedItem">OnOpenSelectedItem()</h4>
  770. <div class="markdown level1 summary">
  771. Invokes the OnOpenSelectedItem event if it is defined.
  772. </div>
  773. <div class="markdown level1 conceptual"></div>
  774. <h5 class="decalaration">Declaration</h5>
  775. <div class="codewrapper">
  776. <pre><code class="lang-csharp hljs">public virtual bool OnOpenSelectedItem()</code></pre>
  777. </div>
  778. <h5 class="returns">Returns</h5>
  779. <table class="table table-bordered table-striped table-condensed">
  780. <thead>
  781. <tr>
  782. <th>Type</th>
  783. <th>Description</th>
  784. </tr>
  785. </thead>
  786. <tbody>
  787. <tr>
  788. <td><span class="xref">System.Boolean</span></td>
  789. <td></td>
  790. </tr>
  791. </tbody>
  792. </table>
  793. <a id="Terminal_Gui_ComboBox_OnSelectedChanged_" data-uid="Terminal.Gui.ComboBox.OnSelectedChanged*"></a>
  794. <h4 id="Terminal_Gui_ComboBox_OnSelectedChanged" data-uid="Terminal.Gui.ComboBox.OnSelectedChanged">OnSelectedChanged()</h4>
  795. <div class="markdown level1 summary">
  796. Invokes the SelectedChanged event if it is defined.
  797. </div>
  798. <div class="markdown level1 conceptual"></div>
  799. <h5 class="decalaration">Declaration</h5>
  800. <div class="codewrapper">
  801. <pre><code class="lang-csharp hljs">public virtual bool OnSelectedChanged()</code></pre>
  802. </div>
  803. <h5 class="returns">Returns</h5>
  804. <table class="table table-bordered table-striped table-condensed">
  805. <thead>
  806. <tr>
  807. <th>Type</th>
  808. <th>Description</th>
  809. </tr>
  810. </thead>
  811. <tbody>
  812. <tr>
  813. <td><span class="xref">System.Boolean</span></td>
  814. <td></td>
  815. </tr>
  816. </tbody>
  817. </table>
  818. <a id="Terminal_Gui_ComboBox_ProcessKey_" data-uid="Terminal.Gui.ComboBox.ProcessKey*"></a>
  819. <h4 id="Terminal_Gui_ComboBox_ProcessKey_Terminal_Gui_KeyEvent_" data-uid="Terminal.Gui.ComboBox.ProcessKey(Terminal.Gui.KeyEvent)">ProcessKey(KeyEvent)</h4>
  820. <div class="markdown level1 summary"></div>
  821. <div class="markdown level1 conceptual"></div>
  822. <h5 class="decalaration">Declaration</h5>
  823. <div class="codewrapper">
  824. <pre><code class="lang-csharp hljs">public override bool ProcessKey(KeyEvent e)</code></pre>
  825. </div>
  826. <h5 class="parameters">Parameters</h5>
  827. <table class="table table-bordered table-striped table-condensed">
  828. <thead>
  829. <tr>
  830. <th>Type</th>
  831. <th>Name</th>
  832. <th>Description</th>
  833. </tr>
  834. </thead>
  835. <tbody>
  836. <tr>
  837. <td><a class="xref" href="Terminal.Gui.KeyEvent.html">KeyEvent</a></td>
  838. <td><span class="parametername">e</span></td>
  839. <td></td>
  840. </tr>
  841. </tbody>
  842. </table>
  843. <h5 class="returns">Returns</h5>
  844. <table class="table table-bordered table-striped table-condensed">
  845. <thead>
  846. <tr>
  847. <th>Type</th>
  848. <th>Description</th>
  849. </tr>
  850. </thead>
  851. <tbody>
  852. <tr>
  853. <td><span class="xref">System.Boolean</span></td>
  854. <td></td>
  855. </tr>
  856. </tbody>
  857. </table>
  858. <h5 class="overrides">Overrides</h5>
  859. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ProcessKey_Terminal_Gui_KeyEvent_">View.ProcessKey(KeyEvent)</a></div>
  860. <a id="Terminal_Gui_ComboBox_Redraw_" data-uid="Terminal.Gui.ComboBox.Redraw*"></a>
  861. <h4 id="Terminal_Gui_ComboBox_Redraw_Terminal_Gui_Rect_" data-uid="Terminal.Gui.ComboBox.Redraw(Terminal.Gui.Rect)">Redraw(Rect)</h4>
  862. <div class="markdown level1 summary"></div>
  863. <div class="markdown level1 conceptual"></div>
  864. <h5 class="decalaration">Declaration</h5>
  865. <div class="codewrapper">
  866. <pre><code class="lang-csharp hljs">public override void Redraw(Rect bounds)</code></pre>
  867. </div>
  868. <h5 class="parameters">Parameters</h5>
  869. <table class="table table-bordered table-striped table-condensed">
  870. <thead>
  871. <tr>
  872. <th>Type</th>
  873. <th>Name</th>
  874. <th>Description</th>
  875. </tr>
  876. </thead>
  877. <tbody>
  878. <tr>
  879. <td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
  880. <td><span class="parametername">bounds</span></td>
  881. <td></td>
  882. </tr>
  883. </tbody>
  884. </table>
  885. <h5 class="overrides">Overrides</h5>
  886. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Redraw_Terminal_Gui_Rect_">View.Redraw(Rect)</a></div>
  887. <a id="Terminal_Gui_ComboBox_SetSource_" data-uid="Terminal.Gui.ComboBox.SetSource*"></a>
  888. <h4 id="Terminal_Gui_ComboBox_SetSource_System_Collections_IList_" data-uid="Terminal.Gui.ComboBox.SetSource(System.Collections.IList)">SetSource(IList)</h4>
  889. <div class="markdown level1 summary">
  890. Sets the source of the <a class="xref" href="Terminal.Gui.ComboBox.html">ComboBox</a> to an <span class="xref">System.Collections.IList</span>.
  891. </div>
  892. <div class="markdown level1 conceptual"></div>
  893. <h5 class="decalaration">Declaration</h5>
  894. <div class="codewrapper">
  895. <pre><code class="lang-csharp hljs">public void SetSource(IList source)</code></pre>
  896. </div>
  897. <h5 class="parameters">Parameters</h5>
  898. <table class="table table-bordered table-striped table-condensed">
  899. <thead>
  900. <tr>
  901. <th>Type</th>
  902. <th>Name</th>
  903. <th>Description</th>
  904. </tr>
  905. </thead>
  906. <tbody>
  907. <tr>
  908. <td><span class="xref">System.Collections.IList</span></td>
  909. <td><span class="parametername">source</span></td>
  910. <td></td>
  911. </tr>
  912. </tbody>
  913. </table>
  914. <h5 id="Terminal_Gui_ComboBox_SetSource_System_Collections_IList__remarks">Remarks</h5>
  915. <div class="markdown level1 remarks">
  916. 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.
  917. </div>
  918. <h3 id="events">Events
  919. </h3>
  920. <h4 id="Terminal_Gui_ComboBox_OpenSelectedItem" data-uid="Terminal.Gui.ComboBox.OpenSelectedItem">OpenSelectedItem</h4>
  921. <div class="markdown level1 summary">
  922. This event is raised when the user Double Clicks on an item or presses ENTER to open the selected item.
  923. </div>
  924. <div class="markdown level1 conceptual"></div>
  925. <h5 class="decalaration">Declaration</h5>
  926. <div class="codewrapper">
  927. <pre><code class="lang-csharp hljs">public event Action&lt;ListViewItemEventArgs&gt; OpenSelectedItem</code></pre>
  928. </div>
  929. <h5 class="eventType">Event Type</h5>
  930. <table class="table table-bordered table-striped table-condensed">
  931. <thead>
  932. <tr>
  933. <th>Type</th>
  934. <th>Description</th>
  935. </tr>
  936. </thead>
  937. <tbody>
  938. <tr>
  939. <td><span class="xref">System.Action</span>&lt;<a class="xref" href="Terminal.Gui.ListViewItemEventArgs.html">ListViewItemEventArgs</a>&gt;</td>
  940. <td></td>
  941. </tr>
  942. </tbody>
  943. </table>
  944. <h4 id="Terminal_Gui_ComboBox_SelectedItemChanged" data-uid="Terminal.Gui.ComboBox.SelectedItemChanged">SelectedItemChanged</h4>
  945. <div class="markdown level1 summary">
  946. This event is raised when the selected item in the <a class="xref" href="Terminal.Gui.ComboBox.html">ComboBox</a> has changed.
  947. </div>
  948. <div class="markdown level1 conceptual"></div>
  949. <h5 class="decalaration">Declaration</h5>
  950. <div class="codewrapper">
  951. <pre><code class="lang-csharp hljs">public event Action&lt;ListViewItemEventArgs&gt; SelectedItemChanged</code></pre>
  952. </div>
  953. <h5 class="eventType">Event Type</h5>
  954. <table class="table table-bordered table-striped table-condensed">
  955. <thead>
  956. <tr>
  957. <th>Type</th>
  958. <th>Description</th>
  959. </tr>
  960. </thead>
  961. <tbody>
  962. <tr>
  963. <td><span class="xref">System.Action</span>&lt;<a class="xref" href="Terminal.Gui.ListViewItemEventArgs.html">ListViewItemEventArgs</a>&gt;</td>
  964. <td></td>
  965. </tr>
  966. </tbody>
  967. </table>
  968. <h3 id="implements">Implements</h3>
  969. <div>
  970. <span class="xref">System.IDisposable</span>
  971. </div>
  972. <div>
  973. <span class="xref">System.ComponentModel.ISupportInitializeNotification</span>
  974. </div>
  975. <div>
  976. <span class="xref">System.ComponentModel.ISupportInitialize</span>
  977. </div>
  978. </article>
  979. </div>
  980. <div class="hidden-sm col-md-2" role="complementary">
  981. <div class="sideaffix">
  982. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  983. <h5>In This Article</h5>
  984. <div></div>
  985. </nav>
  986. </div>
  987. </div>
  988. </div>
  989. </div>
  990. <footer>
  991. <div class="grad-bottom"></div>
  992. <div class="footer">
  993. <div class="container">
  994. <span class="pull-right">
  995. <a href="#top">Back to top</a>
  996. </span>
  997. <span>Generated by <strong>DocFX</strong></span>
  998. </div>
  999. </div>
  1000. </footer>
  1001. </div>
  1002. <script type="text/javascript" src="../../styles/docfx.vendor.js"></script>
  1003. <script type="text/javascript" src="../../styles/docfx.js"></script>
  1004. <script type="text/javascript" src="../../styles/main.js"></script>
  1005. </body>
  1006. </html>