Terminal.Gui.ComboBox.html 46 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162
  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.3.0">
  13. <link rel="shortcut icon" href="../../favicon.ico">
  14. <link rel="stylesheet" href="../../styles/docfx.vendor.css">
  15. <link rel="stylesheet" href="../../styles/docfx.css">
  16. <link rel="stylesheet" href="../../styles/main.css">
  17. <link href="https://fonts.googleapis.com/css?family=Source Sans Pro" rel="stylesheet">
  18. <link href="https://fonts.googleapis.com/css?family=Source Code Pro" rel="stylesheet">
  19. <meta property="docfx:navrel" content="../../toc.html">
  20. <meta property="docfx:tocrel" content="toc.html">
  21. <meta property="docfx:rel" content="../../">
  22. </head> <body data-spy="scroll" data-target="#affix" data-offset="120">
  23. <div id="wrapper">
  24. <header>
  25. <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
  26. <div class="container">
  27. <div class="navbar-header">
  28. <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
  29. <span class="sr-only">Toggle navigation</span>
  30. <span class="icon-bar"></span>
  31. <span class="icon-bar"></span>
  32. <span class="icon-bar"></span>
  33. </button>
  34. <a class="navbar-brand" href="../../index.html">
  35. <img id="logo" class="svg" src="../../images/logo48.png" alt="">
  36. </a>
  37. </div>
  38. <div class="collapse navbar-collapse" id="navbar">
  39. <form class="navbar-form navbar-right" role="search" id="search">
  40. <div class="form-group">
  41. <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
  42. </div>
  43. </form>
  44. </div>
  45. </div>
  46. </nav>
  47. <div class="subnav navbar navbar-default">
  48. <div class="container hide-when-search" id="breadcrumb">
  49. <ul class="breadcrumb">
  50. <li></li>
  51. </ul>
  52. </div>
  53. </div>
  54. </header>
  55. <div class="container body-content">
  56. <div id="search-results">
  57. <div class="search-list">Search Results for <span></span></div>
  58. <div class="sr-items">
  59. <p><i class="glyphicon glyphicon-refresh index-loading"></i></p>
  60. </div>
  61. <ul id="pagination" data-first="First" data-prev="Previous" data-next="Next" data-last="Last"></ul>
  62. </div>
  63. </div>
  64. <div role="main" class="container body-content hide-when-search">
  65. <div class="sidenav hide-when-search">
  66. <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
  67. <div class="sidetoggle collapse" id="sidetoggle">
  68. <div id="sidetoc"></div>
  69. </div>
  70. </div>
  71. <div class="article row grid-right">
  72. <div class="col-md-10">
  73. <article class="content wrap" id="_content" data-uid="Terminal.Gui.ComboBox">
  74. <h1 id="Terminal_Gui_ComboBox" data-uid="Terminal.Gui.ComboBox" class="text-break">Class ComboBox
  75. </h1>
  76. <div class="markdown level0 summary">
  77. Provides a drop-down list of items the user can select from.
  78. </div>
  79. <div class="markdown level0 conceptual"></div>
  80. <div class="inheritance">
  81. <h5>Inheritance</h5>
  82. <div class="level0"><span class="xref">System.Object</span></div>
  83. <div class="level1"><a class="xref" href="Terminal.Gui.Responder.html">Responder</a></div>
  84. <div class="level2"><a class="xref" href="Terminal.Gui.View.html">View</a></div>
  85. <div class="level3"><span class="xref">ComboBox</span></div>
  86. </div>
  87. <div class="implements">
  88. <h5>Implements</h5>
  89. <div><span class="xref">System.IDisposable</span></div>
  90. <div><span class="xref">System.ComponentModel.ISupportInitializeNotification</span></div>
  91. <div><span class="xref">System.ComponentModel.ISupportInitialize</span></div>
  92. </div>
  93. <div class="inheritedMembers">
  94. <h5>Inherited Members</h5>
  95. <div>
  96. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetMinWidthHeight_Terminal_Gui_Size__">View.GetMinWidthHeight(Size)</a>
  97. </div>
  98. <div>
  99. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetMinWidthHeight">View.SetMinWidthHeight()</a>
  100. </div>
  101. <div>
  102. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_UpdateTextFormatterText">View.UpdateTextFormatterText()</a>
  103. </div>
  104. <div>
  105. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ProcessResizeView">View.ProcessResizeView()</a>
  106. </div>
  107. <div>
  108. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetNeedsDisplay">View.SetNeedsDisplay()</a>
  109. </div>
  110. <div>
  111. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearLayoutNeeded">View.ClearLayoutNeeded()</a>
  112. </div>
  113. <div>
  114. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetNeedsDisplay_Terminal_Gui_Rect_">View.SetNeedsDisplay(Rect)</a>
  115. </div>
  116. <div>
  117. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetChildNeedsDisplay">View.SetChildNeedsDisplay()</a>
  118. </div>
  119. <div>
  120. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Add_Terminal_Gui_View_">View.Add(View)</a>
  121. </div>
  122. <div>
  123. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Add_Terminal_Gui_View___">View.Add(View[])</a>
  124. </div>
  125. <div>
  126. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_RemoveAll">View.RemoveAll()</a>
  127. </div>
  128. <div>
  129. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Remove_Terminal_Gui_View_">View.Remove(View)</a>
  130. </div>
  131. <div>
  132. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_BringSubviewToFront_Terminal_Gui_View_">View.BringSubviewToFront(View)</a>
  133. </div>
  134. <div>
  135. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SendSubviewToBack_Terminal_Gui_View_">View.SendSubviewToBack(View)</a>
  136. </div>
  137. <div>
  138. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SendSubviewBackwards_Terminal_Gui_View_">View.SendSubviewBackwards(View)</a>
  139. </div>
  140. <div>
  141. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_BringSubviewForward_Terminal_Gui_View_">View.BringSubviewForward(View)</a>
  142. </div>
  143. <div>
  144. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Clear">View.Clear()</a>
  145. </div>
  146. <div>
  147. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Clear_Terminal_Gui_Rect_">View.Clear(Rect)</a>
  148. </div>
  149. <div>
  150. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ScreenToView_System_Int32_System_Int32_">View.ScreenToView(Int32, Int32)</a>
  151. </div>
  152. <div>
  153. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClipToBounds">View.ClipToBounds()</a>
  154. </div>
  155. <div>
  156. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetClip_Terminal_Gui_Rect_">View.SetClip(Rect)</a>
  157. </div>
  158. <div>
  159. <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>
  160. </div>
  161. <div>
  162. <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>
  163. </div>
  164. <div>
  165. <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>
  166. </div>
  167. <div>
  168. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Move_System_Int32_System_Int32_System_Boolean_">View.Move(Int32, Int32, Boolean)</a>
  169. </div>
  170. <div>
  171. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_PositionCursor">View.PositionCursor()</a>
  172. </div>
  173. <div>
  174. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnAdded_Terminal_Gui_View_">View.OnAdded(View)</a>
  175. </div>
  176. <div>
  177. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnRemoved_Terminal_Gui_View_">View.OnRemoved(View)</a>
  178. </div>
  179. <div>
  180. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_AddRune_System_Int32_System_Int32_System_Rune_">View.AddRune(Int32, Int32, Rune)</a>
  181. </div>
  182. <div>
  183. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearNeedsDisplay">View.ClearNeedsDisplay()</a>
  184. </div>
  185. <div>
  186. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnDrawContent_Terminal_Gui_Rect_">View.OnDrawContent(Rect)</a>
  187. </div>
  188. <div>
  189. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnDrawContentComplete_Terminal_Gui_Rect_">View.OnDrawContentComplete(Rect)</a>
  190. </div>
  191. <div>
  192. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetFocus">View.SetFocus()</a>
  193. </div>
  194. <div>
  195. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_InvokeKeybindings_Terminal_Gui_KeyEvent_">View.InvokeKeybindings(KeyEvent)</a>
  196. </div>
  197. <div>
  198. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_AddKeyBinding_Terminal_Gui_Key_Terminal_Gui_Command_">View.AddKeyBinding(Key, Command)</a>
  199. </div>
  200. <div>
  201. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ReplaceKeyBinding_Terminal_Gui_Key_Terminal_Gui_Key_">View.ReplaceKeyBinding(Key, Key)</a>
  202. </div>
  203. <div>
  204. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ContainsKeyBinding_Terminal_Gui_Key_">View.ContainsKeyBinding(Key)</a>
  205. </div>
  206. <div>
  207. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearKeybindings">View.ClearKeybindings()</a>
  208. </div>
  209. <div>
  210. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearKeybinding_Terminal_Gui_Key_">View.ClearKeybinding(Key)</a>
  211. </div>
  212. <div>
  213. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearKeybinding_Terminal_Gui_Command_">View.ClearKeybinding(Command)</a>
  214. </div>
  215. <div>
  216. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_AddCommand_Terminal_Gui_Command_System_Func_System_Nullable_System_Boolean___">View.AddCommand(Command, Func&lt;Nullable&lt;Boolean&gt;&gt;)</a>
  217. </div>
  218. <div>
  219. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetSupportedCommands">View.GetSupportedCommands()</a>
  220. </div>
  221. <div>
  222. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetKeyFromCommand_Terminal_Gui_Command_">View.GetKeyFromCommand(Command)</a>
  223. </div>
  224. <div>
  225. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ProcessHotKey_Terminal_Gui_KeyEvent_">View.ProcessHotKey(KeyEvent)</a>
  226. </div>
  227. <div>
  228. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ProcessColdKey_Terminal_Gui_KeyEvent_">View.ProcessColdKey(KeyEvent)</a>
  229. </div>
  230. <div>
  231. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnKeyDown_Terminal_Gui_KeyEvent_">View.OnKeyDown(KeyEvent)</a>
  232. </div>
  233. <div>
  234. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnKeyUp_Terminal_Gui_KeyEvent_">View.OnKeyUp(KeyEvent)</a>
  235. </div>
  236. <div>
  237. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_EnsureFocus">View.EnsureFocus()</a>
  238. </div>
  239. <div>
  240. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusFirst">View.FocusFirst()</a>
  241. </div>
  242. <div>
  243. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusLast">View.FocusLast()</a>
  244. </div>
  245. <div>
  246. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusPrev">View.FocusPrev()</a>
  247. </div>
  248. <div>
  249. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusNext">View.FocusNext()</a>
  250. </div>
  251. <div>
  252. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutSubviews">View.LayoutSubviews()</a>
  253. </div>
  254. <div>
  255. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ToString">View.ToString()</a>
  256. </div>
  257. <div>
  258. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetAutoSize">View.GetAutoSize()</a>
  259. </div>
  260. <div>
  261. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetHotKeySpecifierLength_System_Boolean_">View.GetHotKeySpecifierLength(Boolean)</a>
  262. </div>
  263. <div>
  264. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetTextFormatterBoundsSize">View.GetTextFormatterBoundsSize()</a>
  265. </div>
  266. <div>
  267. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetBoundsTextFormatterSize">View.GetBoundsTextFormatterSize()</a>
  268. </div>
  269. <div>
  270. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseEnter_Terminal_Gui_MouseEvent_">View.OnMouseEnter(MouseEvent)</a>
  271. </div>
  272. <div>
  273. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseLeave_Terminal_Gui_MouseEvent_">View.OnMouseLeave(MouseEvent)</a>
  274. </div>
  275. <div>
  276. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseEvent_Terminal_Gui_MouseEvent_">View.OnMouseEvent(MouseEvent)</a>
  277. </div>
  278. <div>
  279. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseClick_Terminal_Gui_View_MouseEventArgs_">View.OnMouseClick(View.MouseEventArgs)</a>
  280. </div>
  281. <div>
  282. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnCanFocusChanged">View.OnCanFocusChanged()</a>
  283. </div>
  284. <div>
  285. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnEnabledChanged">View.OnEnabledChanged()</a>
  286. </div>
  287. <div>
  288. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnVisibleChanged">View.OnVisibleChanged()</a>
  289. </div>
  290. <div>
  291. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Dispose_System_Boolean_">View.Dispose(Boolean)</a>
  292. </div>
  293. <div>
  294. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_BeginInit">View.BeginInit()</a>
  295. </div>
  296. <div>
  297. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_EndInit">View.EndInit()</a>
  298. </div>
  299. <div>
  300. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetWidth_System_Int32_System_Int32__">View.SetWidth(Int32, Int32)</a>
  301. </div>
  302. <div>
  303. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetHeight_System_Int32_System_Int32__">View.SetHeight(Int32, Int32)</a>
  304. </div>
  305. <div>
  306. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetCurrentWidth_System_Int32__">View.GetCurrentWidth(Int32)</a>
  307. </div>
  308. <div>
  309. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetCurrentHeight_System_Int32__">View.GetCurrentHeight(Int32)</a>
  310. </div>
  311. <div>
  312. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetNormalColor">View.GetNormalColor()</a>
  313. </div>
  314. <div>
  315. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetTopSuperView">View.GetTopSuperView()</a>
  316. </div>
  317. <div>
  318. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_HotKey">View.HotKey</a>
  319. </div>
  320. <div>
  321. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_HotKeySpecifier">View.HotKeySpecifier</a>
  322. </div>
  323. <div>
  324. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Shortcut">View.Shortcut</a>
  325. </div>
  326. <div>
  327. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ShortcutTag">View.ShortcutTag</a>
  328. </div>
  329. <div>
  330. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ShortcutAction">View.ShortcutAction</a>
  331. </div>
  332. <div>
  333. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Data">View.Data</a>
  334. </div>
  335. <div>
  336. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Driver">View.Driver</a>
  337. </div>
  338. <div>
  339. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Subviews">View.Subviews</a>
  340. </div>
  341. <div>
  342. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TabIndexes">View.TabIndexes</a>
  343. </div>
  344. <div>
  345. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TabIndex">View.TabIndex</a>
  346. </div>
  347. <div>
  348. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TabStop">View.TabStop</a>
  349. </div>
  350. <div>
  351. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_CanFocus">View.CanFocus</a>
  352. </div>
  353. <div>
  354. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Id">View.Id</a>
  355. </div>
  356. <div>
  357. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_IsCurrentTop">View.IsCurrentTop</a>
  358. </div>
  359. <div>
  360. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_WantMousePositionReports">View.WantMousePositionReports</a>
  361. </div>
  362. <div>
  363. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_WantContinuousButtonPressed">View.WantContinuousButtonPressed</a>
  364. </div>
  365. <div>
  366. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Frame">View.Frame</a>
  367. </div>
  368. <div>
  369. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutStyle">View.LayoutStyle</a>
  370. </div>
  371. <div>
  372. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Bounds">View.Bounds</a>
  373. </div>
  374. <div>
  375. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_X">View.X</a>
  376. </div>
  377. <div>
  378. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Y">View.Y</a>
  379. </div>
  380. <div>
  381. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Width">View.Width</a>
  382. </div>
  383. <div>
  384. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Height">View.Height</a>
  385. </div>
  386. <div>
  387. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ForceValidatePosDim">View.ForceValidatePosDim</a>
  388. </div>
  389. <div>
  390. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TextFormatter">View.TextFormatter</a>
  391. </div>
  392. <div>
  393. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SuperView">View.SuperView</a>
  394. </div>
  395. <div>
  396. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_HasFocus">View.HasFocus</a>
  397. </div>
  398. <div>
  399. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Focused">View.Focused</a>
  400. </div>
  401. <div>
  402. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_MostFocused">View.MostFocused</a>
  403. </div>
  404. <div>
  405. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_AutoSize">View.AutoSize</a>
  406. </div>
  407. <div>
  408. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_PreserveTrailingSpaces">View.PreserveTrailingSpaces</a>
  409. </div>
  410. <div>
  411. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TextAlignment">View.TextAlignment</a>
  412. </div>
  413. <div>
  414. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_VerticalTextAlignment">View.VerticalTextAlignment</a>
  415. </div>
  416. <div>
  417. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TextDirection">View.TextDirection</a>
  418. </div>
  419. <div>
  420. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_IsInitialized">View.IsInitialized</a>
  421. </div>
  422. <div>
  423. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_IsAdded">View.IsAdded</a>
  424. </div>
  425. <div>
  426. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Enabled">View.Enabled</a>
  427. </div>
  428. <div>
  429. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Visible">View.Visible</a>
  430. </div>
  431. <div>
  432. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Border">View.Border</a>
  433. </div>
  434. <div>
  435. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Added">View.Added</a>
  436. </div>
  437. <div>
  438. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Removed">View.Removed</a>
  439. </div>
  440. <div>
  441. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Enter">View.Enter</a>
  442. </div>
  443. <div>
  444. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Leave">View.Leave</a>
  445. </div>
  446. <div>
  447. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_MouseEnter">View.MouseEnter</a>
  448. </div>
  449. <div>
  450. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_MouseLeave">View.MouseLeave</a>
  451. </div>
  452. <div>
  453. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_MouseClick">View.MouseClick</a>
  454. </div>
  455. <div>
  456. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_CanFocusChanged">View.CanFocusChanged</a>
  457. </div>
  458. <div>
  459. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_EnabledChanged">View.EnabledChanged</a>
  460. </div>
  461. <div>
  462. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_VisibleChanged">View.VisibleChanged</a>
  463. </div>
  464. <div>
  465. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_HotKeyChanged">View.HotKeyChanged</a>
  466. </div>
  467. <div>
  468. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_DrawContent">View.DrawContent</a>
  469. </div>
  470. <div>
  471. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_DrawContentComplete">View.DrawContentComplete</a>
  472. </div>
  473. <div>
  474. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_KeyPress">View.KeyPress</a>
  475. </div>
  476. <div>
  477. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_KeyDown">View.KeyDown</a>
  478. </div>
  479. <div>
  480. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_KeyUp">View.KeyUp</a>
  481. </div>
  482. <div>
  483. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutStarted">View.LayoutStarted</a>
  484. </div>
  485. <div>
  486. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutComplete">View.LayoutComplete</a>
  487. </div>
  488. <div>
  489. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Initialized">View.Initialized</a>
  490. </div>
  491. <div>
  492. <a class="xref" href="Terminal.Gui.Responder.html#Terminal_Gui_Responder_Dispose">Responder.Dispose()</a>
  493. </div>
  494. </div>
  495. <h6><strong>Namespace</strong>: <a class="xref" href="Terminal.Gui.html">Terminal.Gui</a></h6>
  496. <h6><strong>Assembly</strong>: Terminal.Gui.dll</h6>
  497. <h5 id="Terminal_Gui_ComboBox_syntax">Syntax</h5>
  498. <div class="codewrapper">
  499. <pre><code class="lang-csharp hljs">public class ComboBox : View</code></pre>
  500. </div>
  501. <h3 id="constructors">Constructors
  502. </h3>
  503. <a id="Terminal_Gui_ComboBox__ctor_" data-uid="Terminal.Gui.ComboBox.#ctor*"></a>
  504. <h4 id="Terminal_Gui_ComboBox__ctor" data-uid="Terminal.Gui.ComboBox.#ctor">ComboBox()</h4>
  505. <div class="markdown level1 summary">
  506. Public constructor
  507. </div>
  508. <div class="markdown level1 conceptual"></div>
  509. <h5 class="decalaration">Declaration</h5>
  510. <div class="codewrapper">
  511. <pre><code class="lang-csharp hljs">public ComboBox()</code></pre>
  512. </div>
  513. <a id="Terminal_Gui_ComboBox__ctor_" data-uid="Terminal.Gui.ComboBox.#ctor*"></a>
  514. <h4 id="Terminal_Gui_ComboBox__ctor_NStack_ustring_" data-uid="Terminal.Gui.ComboBox.#ctor(NStack.ustring)">ComboBox(ustring)</h4>
  515. <div class="markdown level1 summary">
  516. Public constructor
  517. </div>
  518. <div class="markdown level1 conceptual"></div>
  519. <h5 class="decalaration">Declaration</h5>
  520. <div class="codewrapper">
  521. <pre><code class="lang-csharp hljs">public ComboBox(ustring text)</code></pre>
  522. </div>
  523. <h5 class="parameters">Parameters</h5>
  524. <table class="table table-bordered table-striped table-condensed">
  525. <thead>
  526. <tr>
  527. <th>Type</th>
  528. <th>Name</th>
  529. <th>Description</th>
  530. </tr>
  531. </thead>
  532. <tbody>
  533. <tr>
  534. <td><span class="xref">NStack.ustring</span></td>
  535. <td><span class="parametername">text</span></td>
  536. <td></td>
  537. </tr>
  538. </tbody>
  539. </table>
  540. <a id="Terminal_Gui_ComboBox__ctor_" data-uid="Terminal.Gui.ComboBox.#ctor*"></a>
  541. <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>
  542. <div class="markdown level1 summary">
  543. Public constructor
  544. </div>
  545. <div class="markdown level1 conceptual"></div>
  546. <h5 class="decalaration">Declaration</h5>
  547. <div class="codewrapper">
  548. <pre><code class="lang-csharp hljs">public ComboBox(Rect rect, IList source)</code></pre>
  549. </div>
  550. <h5 class="parameters">Parameters</h5>
  551. <table class="table table-bordered table-striped table-condensed">
  552. <thead>
  553. <tr>
  554. <th>Type</th>
  555. <th>Name</th>
  556. <th>Description</th>
  557. </tr>
  558. </thead>
  559. <tbody>
  560. <tr>
  561. <td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
  562. <td><span class="parametername">rect</span></td>
  563. <td></td>
  564. </tr>
  565. <tr>
  566. <td><span class="xref">System.Collections.IList</span></td>
  567. <td><span class="parametername">source</span></td>
  568. <td></td>
  569. </tr>
  570. </tbody>
  571. </table>
  572. <h3 id="properties">Properties
  573. </h3>
  574. <a id="Terminal_Gui_ComboBox_ColorScheme_" data-uid="Terminal.Gui.ComboBox.ColorScheme*"></a>
  575. <h4 id="Terminal_Gui_ComboBox_ColorScheme" data-uid="Terminal.Gui.ComboBox.ColorScheme">ColorScheme</h4>
  576. <div class="markdown level1 summary"></div>
  577. <div class="markdown level1 conceptual"></div>
  578. <h5 class="decalaration">Declaration</h5>
  579. <div class="codewrapper">
  580. <pre><code class="lang-csharp hljs">public ColorScheme ColorScheme { get; set; }</code></pre>
  581. </div>
  582. <h5 class="propertyValue">Property Value</h5>
  583. <table class="table table-bordered table-striped table-condensed">
  584. <thead>
  585. <tr>
  586. <th>Type</th>
  587. <th>Description</th>
  588. </tr>
  589. </thead>
  590. <tbody>
  591. <tr>
  592. <td><a class="xref" href="Terminal.Gui.ColorScheme.html">ColorScheme</a></td>
  593. <td></td>
  594. </tr>
  595. </tbody>
  596. </table>
  597. <a id="Terminal_Gui_ComboBox_IsShow_" data-uid="Terminal.Gui.ComboBox.IsShow*"></a>
  598. <h4 id="Terminal_Gui_ComboBox_IsShow" data-uid="Terminal.Gui.ComboBox.IsShow">IsShow</h4>
  599. <div class="markdown level1 summary">
  600. Gets the drop down list state, expanded or collapsed.
  601. </div>
  602. <div class="markdown level1 conceptual"></div>
  603. <h5 class="decalaration">Declaration</h5>
  604. <div class="codewrapper">
  605. <pre><code class="lang-csharp hljs">public bool IsShow { get; }</code></pre>
  606. </div>
  607. <h5 class="propertyValue">Property Value</h5>
  608. <table class="table table-bordered table-striped table-condensed">
  609. <thead>
  610. <tr>
  611. <th>Type</th>
  612. <th>Description</th>
  613. </tr>
  614. </thead>
  615. <tbody>
  616. <tr>
  617. <td><span class="xref">System.Boolean</span></td>
  618. <td></td>
  619. </tr>
  620. </tbody>
  621. </table>
  622. <a id="Terminal_Gui_ComboBox_ReadOnly_" data-uid="Terminal.Gui.ComboBox.ReadOnly*"></a>
  623. <h4 id="Terminal_Gui_ComboBox_ReadOnly" data-uid="Terminal.Gui.ComboBox.ReadOnly">ReadOnly</h4>
  624. <div class="markdown level1 summary">
  625. If set to true its not allow any changes in the text.
  626. </div>
  627. <div class="markdown level1 conceptual"></div>
  628. <h5 class="decalaration">Declaration</h5>
  629. <div class="codewrapper">
  630. <pre><code class="lang-csharp hljs">public bool ReadOnly { get; set; }</code></pre>
  631. </div>
  632. <h5 class="propertyValue">Property Value</h5>
  633. <table class="table table-bordered table-striped table-condensed">
  634. <thead>
  635. <tr>
  636. <th>Type</th>
  637. <th>Description</th>
  638. </tr>
  639. </thead>
  640. <tbody>
  641. <tr>
  642. <td><span class="xref">System.Boolean</span></td>
  643. <td></td>
  644. </tr>
  645. </tbody>
  646. </table>
  647. <a id="Terminal_Gui_ComboBox_SelectedItem_" data-uid="Terminal.Gui.ComboBox.SelectedItem*"></a>
  648. <h4 id="Terminal_Gui_ComboBox_SelectedItem" data-uid="Terminal.Gui.ComboBox.SelectedItem">SelectedItem</h4>
  649. <div class="markdown level1 summary">
  650. Gets the index of the currently selected item in the <a class="xref" href="Terminal.Gui.ComboBox.html#Terminal_Gui_ComboBox_Source">Source</a>
  651. </div>
  652. <div class="markdown level1 conceptual"></div>
  653. <h5 class="decalaration">Declaration</h5>
  654. <div class="codewrapper">
  655. <pre><code class="lang-csharp hljs">public int SelectedItem { get; set; }</code></pre>
  656. </div>
  657. <h5 class="propertyValue">Property Value</h5>
  658. <table class="table table-bordered table-striped table-condensed">
  659. <thead>
  660. <tr>
  661. <th>Type</th>
  662. <th>Description</th>
  663. </tr>
  664. </thead>
  665. <tbody>
  666. <tr>
  667. <td><span class="xref">System.Int32</span></td>
  668. <td>The selected item or -1 none selected.</td>
  669. </tr>
  670. </tbody>
  671. </table>
  672. <a id="Terminal_Gui_ComboBox_Source_" data-uid="Terminal.Gui.ComboBox.Source*"></a>
  673. <h4 id="Terminal_Gui_ComboBox_Source" data-uid="Terminal.Gui.ComboBox.Source">Source</h4>
  674. <div class="markdown level1 summary">
  675. 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.
  676. </div>
  677. <div class="markdown level1 conceptual"></div>
  678. <h5 class="decalaration">Declaration</h5>
  679. <div class="codewrapper">
  680. <pre><code class="lang-csharp hljs">public IListDataSource Source { get; set; }</code></pre>
  681. </div>
  682. <h5 class="propertyValue">Property Value</h5>
  683. <table class="table table-bordered table-striped table-condensed">
  684. <thead>
  685. <tr>
  686. <th>Type</th>
  687. <th>Description</th>
  688. </tr>
  689. </thead>
  690. <tbody>
  691. <tr>
  692. <td><a class="xref" href="Terminal.Gui.IListDataSource.html">IListDataSource</a></td>
  693. <td>The source.</td>
  694. </tr>
  695. </tbody>
  696. </table>
  697. <a id="Terminal_Gui_ComboBox_Text_" data-uid="Terminal.Gui.ComboBox.Text*"></a>
  698. <h4 id="Terminal_Gui_ComboBox_Text" data-uid="Terminal.Gui.ComboBox.Text">Text</h4>
  699. <div class="markdown level1 summary">
  700. The currently selected list item
  701. </div>
  702. <div class="markdown level1 conceptual"></div>
  703. <h5 class="decalaration">Declaration</h5>
  704. <div class="codewrapper">
  705. <pre><code class="lang-csharp hljs">public ustring Text { get; set; }</code></pre>
  706. </div>
  707. <h5 class="propertyValue">Property Value</h5>
  708. <table class="table table-bordered table-striped table-condensed">
  709. <thead>
  710. <tr>
  711. <th>Type</th>
  712. <th>Description</th>
  713. </tr>
  714. </thead>
  715. <tbody>
  716. <tr>
  717. <td><span class="xref">NStack.ustring</span></td>
  718. <td></td>
  719. </tr>
  720. </tbody>
  721. </table>
  722. <h3 id="methods">Methods
  723. </h3>
  724. <a id="Terminal_Gui_ComboBox_Collapse_" data-uid="Terminal.Gui.ComboBox.Collapse*"></a>
  725. <h4 id="Terminal_Gui_ComboBox_Collapse" data-uid="Terminal.Gui.ComboBox.Collapse">Collapse()</h4>
  726. <div class="markdown level1 summary">
  727. Collapses the drop down list. Returns true if the state chagned or false
  728. if it was already collapsed and no action was taken
  729. </div>
  730. <div class="markdown level1 conceptual"></div>
  731. <h5 class="decalaration">Declaration</h5>
  732. <div class="codewrapper">
  733. <pre><code class="lang-csharp hljs">public virtual bool Collapse()</code></pre>
  734. </div>
  735. <h5 class="returns">Returns</h5>
  736. <table class="table table-bordered table-striped table-condensed">
  737. <thead>
  738. <tr>
  739. <th>Type</th>
  740. <th>Description</th>
  741. </tr>
  742. </thead>
  743. <tbody>
  744. <tr>
  745. <td><span class="xref">System.Boolean</span></td>
  746. <td></td>
  747. </tr>
  748. </tbody>
  749. </table>
  750. <a id="Terminal_Gui_ComboBox_Expand_" data-uid="Terminal.Gui.ComboBox.Expand*"></a>
  751. <h4 id="Terminal_Gui_ComboBox_Expand" data-uid="Terminal.Gui.ComboBox.Expand">Expand()</h4>
  752. <div class="markdown level1 summary">
  753. Expands the drop down list. Returns true if the state chagned or false
  754. if it was already expanded and no action was taken
  755. </div>
  756. <div class="markdown level1 conceptual"></div>
  757. <h5 class="decalaration">Declaration</h5>
  758. <div class="codewrapper">
  759. <pre><code class="lang-csharp hljs">public virtual bool Expand()</code></pre>
  760. </div>
  761. <h5 class="returns">Returns</h5>
  762. <table class="table table-bordered table-striped table-condensed">
  763. <thead>
  764. <tr>
  765. <th>Type</th>
  766. <th>Description</th>
  767. </tr>
  768. </thead>
  769. <tbody>
  770. <tr>
  771. <td><span class="xref">System.Boolean</span></td>
  772. <td></td>
  773. </tr>
  774. </tbody>
  775. </table>
  776. <a id="Terminal_Gui_ComboBox_MouseEvent_" data-uid="Terminal.Gui.ComboBox.MouseEvent*"></a>
  777. <h4 id="Terminal_Gui_ComboBox_MouseEvent_Terminal_Gui_MouseEvent_" data-uid="Terminal.Gui.ComboBox.MouseEvent(Terminal.Gui.MouseEvent)">MouseEvent(MouseEvent)</h4>
  778. <div class="markdown level1 summary">
  779. Method invoked when a mouse event is generated
  780. </div>
  781. <div class="markdown level1 conceptual"></div>
  782. <h5 class="decalaration">Declaration</h5>
  783. <div class="codewrapper">
  784. <pre><code class="lang-csharp hljs">public override bool MouseEvent(MouseEvent me)</code></pre>
  785. </div>
  786. <h5 class="parameters">Parameters</h5>
  787. <table class="table table-bordered table-striped table-condensed">
  788. <thead>
  789. <tr>
  790. <th>Type</th>
  791. <th>Name</th>
  792. <th>Description</th>
  793. </tr>
  794. </thead>
  795. <tbody>
  796. <tr>
  797. <td><a class="xref" href="Terminal.Gui.MouseEvent.html">MouseEvent</a></td>
  798. <td><span class="parametername">me</span></td>
  799. <td></td>
  800. </tr>
  801. </tbody>
  802. </table>
  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><code>true</code>, if the event was handled, <code>false</code> otherwise.</td>
  815. </tr>
  816. </tbody>
  817. </table>
  818. <h5 class="overrides">Overrides</h5>
  819. <div><a class="xref" href="Terminal.Gui.Responder.html#Terminal_Gui_Responder_MouseEvent_Terminal_Gui_MouseEvent_">Responder.MouseEvent(MouseEvent)</a></div>
  820. <a id="Terminal_Gui_ComboBox_OnEnter_" data-uid="Terminal.Gui.ComboBox.OnEnter*"></a>
  821. <h4 id="Terminal_Gui_ComboBox_OnEnter_Terminal_Gui_View_" data-uid="Terminal.Gui.ComboBox.OnEnter(Terminal.Gui.View)">OnEnter(View)</h4>
  822. <div class="markdown level1 summary">
  823. Method invoked when a view gets focus.
  824. </div>
  825. <div class="markdown level1 conceptual"></div>
  826. <h5 class="decalaration">Declaration</h5>
  827. <div class="codewrapper">
  828. <pre><code class="lang-csharp hljs">public override bool OnEnter(View view)</code></pre>
  829. </div>
  830. <h5 class="parameters">Parameters</h5>
  831. <table class="table table-bordered table-striped table-condensed">
  832. <thead>
  833. <tr>
  834. <th>Type</th>
  835. <th>Name</th>
  836. <th>Description</th>
  837. </tr>
  838. </thead>
  839. <tbody>
  840. <tr>
  841. <td><a class="xref" href="Terminal.Gui.View.html">View</a></td>
  842. <td><span class="parametername">view</span></td>
  843. <td>The view that is losing focus.</td>
  844. </tr>
  845. </tbody>
  846. </table>
  847. <h5 class="returns">Returns</h5>
  848. <table class="table table-bordered table-striped table-condensed">
  849. <thead>
  850. <tr>
  851. <th>Type</th>
  852. <th>Description</th>
  853. </tr>
  854. </thead>
  855. <tbody>
  856. <tr>
  857. <td><span class="xref">System.Boolean</span></td>
  858. <td><code>true</code>, if the event was handled, <code>false</code> otherwise.</td>
  859. </tr>
  860. </tbody>
  861. </table>
  862. <h5 class="overrides">Overrides</h5>
  863. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnEnter_Terminal_Gui_View_">View.OnEnter(View)</a></div>
  864. <a id="Terminal_Gui_ComboBox_OnLeave_" data-uid="Terminal.Gui.ComboBox.OnLeave*"></a>
  865. <h4 id="Terminal_Gui_ComboBox_OnLeave_Terminal_Gui_View_" data-uid="Terminal.Gui.ComboBox.OnLeave(Terminal.Gui.View)">OnLeave(View)</h4>
  866. <div class="markdown level1 summary">
  867. Method invoked when a view loses focus.
  868. </div>
  869. <div class="markdown level1 conceptual"></div>
  870. <h5 class="decalaration">Declaration</h5>
  871. <div class="codewrapper">
  872. <pre><code class="lang-csharp hljs">public override bool OnLeave(View view)</code></pre>
  873. </div>
  874. <h5 class="parameters">Parameters</h5>
  875. <table class="table table-bordered table-striped table-condensed">
  876. <thead>
  877. <tr>
  878. <th>Type</th>
  879. <th>Name</th>
  880. <th>Description</th>
  881. </tr>
  882. </thead>
  883. <tbody>
  884. <tr>
  885. <td><a class="xref" href="Terminal.Gui.View.html">View</a></td>
  886. <td><span class="parametername">view</span></td>
  887. <td>The view that is getting focus.</td>
  888. </tr>
  889. </tbody>
  890. </table>
  891. <h5 class="returns">Returns</h5>
  892. <table class="table table-bordered table-striped table-condensed">
  893. <thead>
  894. <tr>
  895. <th>Type</th>
  896. <th>Description</th>
  897. </tr>
  898. </thead>
  899. <tbody>
  900. <tr>
  901. <td><span class="xref">System.Boolean</span></td>
  902. <td><code>true</code>, if the event was handled, <code>false</code> otherwise.</td>
  903. </tr>
  904. </tbody>
  905. </table>
  906. <h5 class="overrides">Overrides</h5>
  907. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnLeave_Terminal_Gui_View_">View.OnLeave(View)</a></div>
  908. <a id="Terminal_Gui_ComboBox_OnOpenSelectedItem_" data-uid="Terminal.Gui.ComboBox.OnOpenSelectedItem*"></a>
  909. <h4 id="Terminal_Gui_ComboBox_OnOpenSelectedItem" data-uid="Terminal.Gui.ComboBox.OnOpenSelectedItem">OnOpenSelectedItem()</h4>
  910. <div class="markdown level1 summary">
  911. Invokes the OnOpenSelectedItem event if it is defined.
  912. </div>
  913. <div class="markdown level1 conceptual"></div>
  914. <h5 class="decalaration">Declaration</h5>
  915. <div class="codewrapper">
  916. <pre><code class="lang-csharp hljs">public virtual bool OnOpenSelectedItem()</code></pre>
  917. </div>
  918. <h5 class="returns">Returns</h5>
  919. <table class="table table-bordered table-striped table-condensed">
  920. <thead>
  921. <tr>
  922. <th>Type</th>
  923. <th>Description</th>
  924. </tr>
  925. </thead>
  926. <tbody>
  927. <tr>
  928. <td><span class="xref">System.Boolean</span></td>
  929. <td></td>
  930. </tr>
  931. </tbody>
  932. </table>
  933. <a id="Terminal_Gui_ComboBox_OnSelectedChanged_" data-uid="Terminal.Gui.ComboBox.OnSelectedChanged*"></a>
  934. <h4 id="Terminal_Gui_ComboBox_OnSelectedChanged" data-uid="Terminal.Gui.ComboBox.OnSelectedChanged">OnSelectedChanged()</h4>
  935. <div class="markdown level1 summary">
  936. Invokes the SelectedChanged event if it is defined.
  937. </div>
  938. <div class="markdown level1 conceptual"></div>
  939. <h5 class="decalaration">Declaration</h5>
  940. <div class="codewrapper">
  941. <pre><code class="lang-csharp hljs">public virtual bool OnSelectedChanged()</code></pre>
  942. </div>
  943. <h5 class="returns">Returns</h5>
  944. <table class="table table-bordered table-striped table-condensed">
  945. <thead>
  946. <tr>
  947. <th>Type</th>
  948. <th>Description</th>
  949. </tr>
  950. </thead>
  951. <tbody>
  952. <tr>
  953. <td><span class="xref">System.Boolean</span></td>
  954. <td></td>
  955. </tr>
  956. </tbody>
  957. </table>
  958. <a id="Terminal_Gui_ComboBox_ProcessKey_" data-uid="Terminal.Gui.ComboBox.ProcessKey*"></a>
  959. <h4 id="Terminal_Gui_ComboBox_ProcessKey_Terminal_Gui_KeyEvent_" data-uid="Terminal.Gui.ComboBox.ProcessKey(Terminal.Gui.KeyEvent)">ProcessKey(KeyEvent)</h4>
  960. <div class="markdown level1 summary">
  961. If the view is focused, gives the view a
  962. chance to process the keystroke.
  963. </div>
  964. <div class="markdown level1 conceptual"></div>
  965. <h5 class="decalaration">Declaration</h5>
  966. <div class="codewrapper">
  967. <pre><code class="lang-csharp hljs">public override bool ProcessKey(KeyEvent e)</code></pre>
  968. </div>
  969. <h5 class="parameters">Parameters</h5>
  970. <table class="table table-bordered table-striped table-condensed">
  971. <thead>
  972. <tr>
  973. <th>Type</th>
  974. <th>Name</th>
  975. <th>Description</th>
  976. </tr>
  977. </thead>
  978. <tbody>
  979. <tr>
  980. <td><a class="xref" href="Terminal.Gui.KeyEvent.html">KeyEvent</a></td>
  981. <td><span class="parametername">e</span></td>
  982. <td></td>
  983. </tr>
  984. </tbody>
  985. </table>
  986. <h5 class="returns">Returns</h5>
  987. <table class="table table-bordered table-striped table-condensed">
  988. <thead>
  989. <tr>
  990. <th>Type</th>
  991. <th>Description</th>
  992. </tr>
  993. </thead>
  994. <tbody>
  995. <tr>
  996. <td><span class="xref">System.Boolean</span></td>
  997. <td></td>
  998. </tr>
  999. </tbody>
  1000. </table>
  1001. <h5 class="overrides">Overrides</h5>
  1002. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ProcessKey_Terminal_Gui_KeyEvent_">View.ProcessKey(KeyEvent)</a></div>
  1003. <a id="Terminal_Gui_ComboBox_Redraw_" data-uid="Terminal.Gui.ComboBox.Redraw*"></a>
  1004. <h4 id="Terminal_Gui_ComboBox_Redraw_Terminal_Gui_Rect_" data-uid="Terminal.Gui.ComboBox.Redraw(Terminal.Gui.Rect)">Redraw(Rect)</h4>
  1005. <div class="markdown level1 summary">
  1006. Redraws this view and its subviews; only redraws the views that have been flagged for a re-display.
  1007. </div>
  1008. <div class="markdown level1 conceptual"></div>
  1009. <h5 class="decalaration">Declaration</h5>
  1010. <div class="codewrapper">
  1011. <pre><code class="lang-csharp hljs">public override void Redraw(Rect bounds)</code></pre>
  1012. </div>
  1013. <h5 class="parameters">Parameters</h5>
  1014. <table class="table table-bordered table-striped table-condensed">
  1015. <thead>
  1016. <tr>
  1017. <th>Type</th>
  1018. <th>Name</th>
  1019. <th>Description</th>
  1020. </tr>
  1021. </thead>
  1022. <tbody>
  1023. <tr>
  1024. <td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
  1025. <td><span class="parametername">bounds</span></td>
  1026. <td>The bounds (view-relative region) to redraw.</td>
  1027. </tr>
  1028. </tbody>
  1029. </table>
  1030. <h5 class="overrides">Overrides</h5>
  1031. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Redraw_Terminal_Gui_Rect_">View.Redraw(Rect)</a></div>
  1032. <a id="Terminal_Gui_ComboBox_SetSource_" data-uid="Terminal.Gui.ComboBox.SetSource*"></a>
  1033. <h4 id="Terminal_Gui_ComboBox_SetSource_System_Collections_IList_" data-uid="Terminal.Gui.ComboBox.SetSource(System.Collections.IList)">SetSource(IList)</h4>
  1034. <div class="markdown level1 summary">
  1035. Sets the source of the <a class="xref" href="Terminal.Gui.ComboBox.html">ComboBox</a> to an <span class="xref">System.Collections.IList</span>.
  1036. </div>
  1037. <div class="markdown level1 conceptual"></div>
  1038. <h5 class="decalaration">Declaration</h5>
  1039. <div class="codewrapper">
  1040. <pre><code class="lang-csharp hljs">public void SetSource(IList source)</code></pre>
  1041. </div>
  1042. <h5 class="parameters">Parameters</h5>
  1043. <table class="table table-bordered table-striped table-condensed">
  1044. <thead>
  1045. <tr>
  1046. <th>Type</th>
  1047. <th>Name</th>
  1048. <th>Description</th>
  1049. </tr>
  1050. </thead>
  1051. <tbody>
  1052. <tr>
  1053. <td><span class="xref">System.Collections.IList</span></td>
  1054. <td><span class="parametername">source</span></td>
  1055. <td></td>
  1056. </tr>
  1057. </tbody>
  1058. </table>
  1059. <h3 id="events">Events
  1060. </h3>
  1061. <h4 id="Terminal_Gui_ComboBox_OpenSelectedItem" data-uid="Terminal.Gui.ComboBox.OpenSelectedItem">OpenSelectedItem</h4>
  1062. <div class="markdown level1 summary">
  1063. This event is raised when the user Double Clicks on an item or presses ENTER to open the selected item.
  1064. </div>
  1065. <div class="markdown level1 conceptual"></div>
  1066. <h5 class="decalaration">Declaration</h5>
  1067. <div class="codewrapper">
  1068. <pre><code class="lang-csharp hljs">public event Action&lt;ListViewItemEventArgs&gt; OpenSelectedItem</code></pre>
  1069. </div>
  1070. <h5 class="eventType">Event Type</h5>
  1071. <table class="table table-bordered table-striped table-condensed">
  1072. <thead>
  1073. <tr>
  1074. <th>Type</th>
  1075. <th>Description</th>
  1076. </tr>
  1077. </thead>
  1078. <tbody>
  1079. <tr>
  1080. <td><span class="xref">System.Action</span>&lt;<a class="xref" href="Terminal.Gui.ListViewItemEventArgs.html">ListViewItemEventArgs</a>&gt;</td>
  1081. <td></td>
  1082. </tr>
  1083. </tbody>
  1084. </table>
  1085. <h4 id="Terminal_Gui_ComboBox_SelectedItemChanged" data-uid="Terminal.Gui.ComboBox.SelectedItemChanged">SelectedItemChanged</h4>
  1086. <div class="markdown level1 summary">
  1087. This event is raised when the selected item in the <a class="xref" href="Terminal.Gui.ComboBox.html">ComboBox</a> has changed.
  1088. </div>
  1089. <div class="markdown level1 conceptual"></div>
  1090. <h5 class="decalaration">Declaration</h5>
  1091. <div class="codewrapper">
  1092. <pre><code class="lang-csharp hljs">public event Action&lt;ListViewItemEventArgs&gt; SelectedItemChanged</code></pre>
  1093. </div>
  1094. <h5 class="eventType">Event Type</h5>
  1095. <table class="table table-bordered table-striped table-condensed">
  1096. <thead>
  1097. <tr>
  1098. <th>Type</th>
  1099. <th>Description</th>
  1100. </tr>
  1101. </thead>
  1102. <tbody>
  1103. <tr>
  1104. <td><span class="xref">System.Action</span>&lt;<a class="xref" href="Terminal.Gui.ListViewItemEventArgs.html">ListViewItemEventArgs</a>&gt;</td>
  1105. <td></td>
  1106. </tr>
  1107. </tbody>
  1108. </table>
  1109. <h3 id="implements">Implements</h3>
  1110. <div>
  1111. <span class="xref">System.IDisposable</span>
  1112. </div>
  1113. <div>
  1114. <span class="xref">System.ComponentModel.ISupportInitializeNotification</span>
  1115. </div>
  1116. <div>
  1117. <span class="xref">System.ComponentModel.ISupportInitialize</span>
  1118. </div>
  1119. </article>
  1120. </div>
  1121. <div class="hidden-sm col-md-2" role="complementary">
  1122. <div class="sideaffix">
  1123. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  1124. <h5>In This Article</h5>
  1125. <div></div>
  1126. </nav>
  1127. </div>
  1128. </div>
  1129. </div>
  1130. </div>
  1131. <footer>
  1132. <div class="grad-bottom"></div>
  1133. <div class="footer">
  1134. <div class="container">
  1135. <span class="pull-right">
  1136. <a href="#top">Back to top</a>
  1137. </span>
  1138. <span>Generated by <strong>DocFX</strong></span>
  1139. </div>
  1140. </div>
  1141. </footer>
  1142. </div>
  1143. <script type="text/javascript" src="../../styles/docfx.vendor.js"></script>
  1144. <script type="text/javascript" src="../../styles/docfx.js"></script>
  1145. <script type="text/javascript" src="../../styles/main.js"></script>
  1146. </body>
  1147. </html>