Terminal.Gui.ListView.html 60 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574
  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 ListView
  8. </title>
  9. <meta name="viewport" content="width=device-width">
  10. <meta name="title" content="Class ListView
  11. ">
  12. <meta name="generator" content="docfx 2.56.7.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.ListView">
  73. <h1 id="Terminal_Gui_ListView" data-uid="Terminal.Gui.ListView" class="text-break">Class ListView
  74. </h1>
  75. <div class="markdown level0 summary">
  76. ListView <a class="xref" href="Terminal.Gui.View.html">View</a> renders a scrollable list of data where each item can be activated to perform an action.
  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">ListView</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_HotKey">View.HotKey</a>
  117. </div>
  118. <div>
  119. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_HotKeySpecifier">View.HotKeySpecifier</a>
  120. </div>
  121. <div>
  122. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Shortcut">View.Shortcut</a>
  123. </div>
  124. <div>
  125. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ShortcutTag">View.ShortcutTag</a>
  126. </div>
  127. <div>
  128. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ShortcutAction">View.ShortcutAction</a>
  129. </div>
  130. <div>
  131. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Data">View.Data</a>
  132. </div>
  133. <div>
  134. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Driver">View.Driver</a>
  135. </div>
  136. <div>
  137. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Subviews">View.Subviews</a>
  138. </div>
  139. <div>
  140. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TabIndexes">View.TabIndexes</a>
  141. </div>
  142. <div>
  143. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TabIndex">View.TabIndex</a>
  144. </div>
  145. <div>
  146. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TabStop">View.TabStop</a>
  147. </div>
  148. <div>
  149. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_CanFocus">View.CanFocus</a>
  150. </div>
  151. <div>
  152. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Id">View.Id</a>
  153. </div>
  154. <div>
  155. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_IsCurrentTop">View.IsCurrentTop</a>
  156. </div>
  157. <div>
  158. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_WantMousePositionReports">View.WantMousePositionReports</a>
  159. </div>
  160. <div>
  161. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_WantContinuousButtonPressed">View.WantContinuousButtonPressed</a>
  162. </div>
  163. <div>
  164. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Frame">View.Frame</a>
  165. </div>
  166. <div>
  167. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutStyle">View.LayoutStyle</a>
  168. </div>
  169. <div>
  170. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Bounds">View.Bounds</a>
  171. </div>
  172. <div>
  173. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_X">View.X</a>
  174. </div>
  175. <div>
  176. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Y">View.Y</a>
  177. </div>
  178. <div>
  179. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Width">View.Width</a>
  180. </div>
  181. <div>
  182. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Height">View.Height</a>
  183. </div>
  184. <div>
  185. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SuperView">View.SuperView</a>
  186. </div>
  187. <div>
  188. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetNeedsDisplay">View.SetNeedsDisplay()</a>
  189. </div>
  190. <div>
  191. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearLayoutNeeded">View.ClearLayoutNeeded()</a>
  192. </div>
  193. <div>
  194. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetNeedsDisplay_Terminal_Gui_Rect_">View.SetNeedsDisplay(Rect)</a>
  195. </div>
  196. <div>
  197. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetChildNeedsDisplay">View.SetChildNeedsDisplay()</a>
  198. </div>
  199. <div>
  200. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Add_Terminal_Gui_View_">View.Add(View)</a>
  201. </div>
  202. <div>
  203. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Add_Terminal_Gui_View___">View.Add(View[])</a>
  204. </div>
  205. <div>
  206. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_RemoveAll">View.RemoveAll()</a>
  207. </div>
  208. <div>
  209. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Remove_Terminal_Gui_View_">View.Remove(View)</a>
  210. </div>
  211. <div>
  212. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_BringSubviewToFront_Terminal_Gui_View_">View.BringSubviewToFront(View)</a>
  213. </div>
  214. <div>
  215. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SendSubviewToBack_Terminal_Gui_View_">View.SendSubviewToBack(View)</a>
  216. </div>
  217. <div>
  218. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SendSubviewBackwards_Terminal_Gui_View_">View.SendSubviewBackwards(View)</a>
  219. </div>
  220. <div>
  221. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_BringSubviewForward_Terminal_Gui_View_">View.BringSubviewForward(View)</a>
  222. </div>
  223. <div>
  224. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Clear">View.Clear()</a>
  225. </div>
  226. <div>
  227. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Clear_Terminal_Gui_Rect_">View.Clear(Rect)</a>
  228. </div>
  229. <div>
  230. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ScreenToView_System_Int32_System_Int32_">View.ScreenToView(Int32, Int32)</a>
  231. </div>
  232. <div>
  233. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClipToBounds">View.ClipToBounds()</a>
  234. </div>
  235. <div>
  236. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetClip_Terminal_Gui_Rect_">View.SetClip(Rect)</a>
  237. </div>
  238. <div>
  239. <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>
  240. </div>
  241. <div>
  242. <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>
  243. </div>
  244. <div>
  245. <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>
  246. </div>
  247. <div>
  248. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Move_System_Int32_System_Int32_">View.Move(Int32, Int32)</a>
  249. </div>
  250. <div>
  251. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_HasFocus">View.HasFocus</a>
  252. </div>
  253. <div>
  254. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnAdded_Terminal_Gui_View_">View.OnAdded(View)</a>
  255. </div>
  256. <div>
  257. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnRemoved_Terminal_Gui_View_">View.OnRemoved(View)</a>
  258. </div>
  259. <div>
  260. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Focused">View.Focused</a>
  261. </div>
  262. <div>
  263. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_MostFocused">View.MostFocused</a>
  264. </div>
  265. <div>
  266. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ColorScheme">View.ColorScheme</a>
  267. </div>
  268. <div>
  269. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_AddRune_System_Int32_System_Int32_System_Rune_">View.AddRune(Int32, Int32, Rune)</a>
  270. </div>
  271. <div>
  272. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearNeedsDisplay">View.ClearNeedsDisplay()</a>
  273. </div>
  274. <div>
  275. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_DrawContent">View.DrawContent</a>
  276. </div>
  277. <div>
  278. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnDrawContent_Terminal_Gui_Rect_">View.OnDrawContent(Rect)</a>
  279. </div>
  280. <div>
  281. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetFocus">View.SetFocus()</a>
  282. </div>
  283. <div>
  284. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_KeyPress">View.KeyPress</a>
  285. </div>
  286. <div>
  287. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ProcessHotKey_Terminal_Gui_KeyEvent_">View.ProcessHotKey(KeyEvent)</a>
  288. </div>
  289. <div>
  290. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ProcessColdKey_Terminal_Gui_KeyEvent_">View.ProcessColdKey(KeyEvent)</a>
  291. </div>
  292. <div>
  293. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_KeyDown">View.KeyDown</a>
  294. </div>
  295. <div>
  296. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnKeyDown_Terminal_Gui_KeyEvent_">View.OnKeyDown(KeyEvent)</a>
  297. </div>
  298. <div>
  299. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_KeyUp">View.KeyUp</a>
  300. </div>
  301. <div>
  302. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnKeyUp_Terminal_Gui_KeyEvent_">View.OnKeyUp(KeyEvent)</a>
  303. </div>
  304. <div>
  305. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_EnsureFocus">View.EnsureFocus()</a>
  306. </div>
  307. <div>
  308. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusFirst">View.FocusFirst()</a>
  309. </div>
  310. <div>
  311. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusLast">View.FocusLast()</a>
  312. </div>
  313. <div>
  314. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusPrev">View.FocusPrev()</a>
  315. </div>
  316. <div>
  317. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusNext">View.FocusNext()</a>
  318. </div>
  319. <div>
  320. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutStarted">View.LayoutStarted</a>
  321. </div>
  322. <div>
  323. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutComplete">View.LayoutComplete</a>
  324. </div>
  325. <div>
  326. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Initialized">View.Initialized</a>
  327. </div>
  328. <div>
  329. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutSubviews">View.LayoutSubviews()</a>
  330. </div>
  331. <div>
  332. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Text">View.Text</a>
  333. </div>
  334. <div>
  335. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_AutoSize">View.AutoSize</a>
  336. </div>
  337. <div>
  338. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TextAlignment">View.TextAlignment</a>
  339. </div>
  340. <div>
  341. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_IsInitialized">View.IsInitialized</a>
  342. </div>
  343. <div>
  344. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ToString">View.ToString()</a>
  345. </div>
  346. <div>
  347. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseEnter_Terminal_Gui_MouseEvent_">View.OnMouseEnter(MouseEvent)</a>
  348. </div>
  349. <div>
  350. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseLeave_Terminal_Gui_MouseEvent_">View.OnMouseLeave(MouseEvent)</a>
  351. </div>
  352. <div>
  353. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseEvent_Terminal_Gui_MouseEvent_">View.OnMouseEvent(MouseEvent)</a>
  354. </div>
  355. <div>
  356. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseClick_Terminal_Gui_View_MouseEventArgs_">View.OnMouseClick(View.MouseEventArgs)</a>
  357. </div>
  358. <div>
  359. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Dispose_System_Boolean_">View.Dispose(Boolean)</a>
  360. </div>
  361. <div>
  362. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_BeginInit">View.BeginInit()</a>
  363. </div>
  364. <div>
  365. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_EndInit">View.EndInit()</a>
  366. </div>
  367. <div>
  368. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Visible">View.Visible</a>
  369. </div>
  370. <div>
  371. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetWidth_System_Int32_System_Int32__">View.SetWidth(Int32, Int32)</a>
  372. </div>
  373. <div>
  374. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetHeight_System_Int32_System_Int32__">View.SetHeight(Int32, Int32)</a>
  375. </div>
  376. <div>
  377. <a class="xref" href="Terminal.Gui.Responder.html#Terminal_Gui_Responder_Dispose">Responder.Dispose()</a>
  378. </div>
  379. <div>
  380. <span class="xref">System.Object.Equals(System.Object)</span>
  381. </div>
  382. <div>
  383. <span class="xref">System.Object.Equals(System.Object, System.Object)</span>
  384. </div>
  385. <div>
  386. <span class="xref">System.Object.GetHashCode()</span>
  387. </div>
  388. <div>
  389. <span class="xref">System.Object.GetType()</span>
  390. </div>
  391. <div>
  392. <span class="xref">System.Object.MemberwiseClone()</span>
  393. </div>
  394. <div>
  395. <span class="xref">System.Object.ReferenceEquals(System.Object, System.Object)</span>
  396. </div>
  397. </div>
  398. <h6><strong>Namespace</strong>: <a class="xref" href="Terminal.Gui.html">Terminal.Gui</a></h6>
  399. <h6><strong>Assembly</strong>: Terminal.Gui.dll</h6>
  400. <h5 id="Terminal_Gui_ListView_syntax">Syntax</h5>
  401. <div class="codewrapper">
  402. <pre><code class="lang-csharp hljs">public class ListView : View, IDisposable, ISupportInitializeNotification, ISupportInitialize</code></pre>
  403. </div>
  404. <h5 id="Terminal_Gui_ListView_remarks"><strong>Remarks</strong></h5>
  405. <div class="markdown level0 remarks">
  406. <p>
  407. The <a class="xref" href="Terminal.Gui.ListView.html">ListView</a> displays lists of data and allows the user to scroll through the data.
  408. Items in the can be activated firing an event (with the ENTER key or a mouse double-click).
  409. If the <a class="xref" href="Terminal.Gui.ListView.html#Terminal_Gui_ListView_AllowsMarking">AllowsMarking</a> property is true, elements of the list can be marked by the user.
  410. </p>
  411. <p>
  412. By default <a class="xref" href="Terminal.Gui.ListView.html">ListView</a> uses <span class="xref">System.Object.ToString()</span> to render the items of any
  413. <span class="xref">System.Collections.IList</span> object (e.g. arrays, <span class="xref">System.Collections.Generic.List&lt;T&gt;</span>,
  414. and other collections). Alternatively, an object that implements the <a class="xref" href="Terminal.Gui.IListDataSource.html">IListDataSource</a>
  415. interface can be provided giving full control of what is rendered.
  416. </p>
  417. <p>
  418. <a class="xref" href="Terminal.Gui.ListView.html">ListView</a> can display any object that implements the <span class="xref">System.Collections.IList</span> interface.
  419. <span class="xref">System.String</span> values are converted into <span class="xref">NStack.ustring</span> values before rendering, and other values are
  420. converted into <span class="xref">System.String</span> by calling <span class="xref">System.Object.ToString()</span> and then converting to <span class="xref">NStack.ustring</span> .
  421. </p>
  422. <p>
  423. To change the contents of the ListView, set the <a class="xref" href="Terminal.Gui.ListView.html#Terminal_Gui_ListView_Source">Source</a> property (when
  424. providing custom rendering via <a class="xref" href="Terminal.Gui.IListDataSource.html">IListDataSource</a>) or call <a class="xref" href="Terminal.Gui.ListView.html#Terminal_Gui_ListView_SetSource_System_Collections_IList_">SetSource(IList)</a>
  425. an <span class="xref">System.Collections.IList</span> is being used.
  426. </p>
  427. <p>
  428. When <a class="xref" href="Terminal.Gui.ListView.html#Terminal_Gui_ListView_AllowsMarking">AllowsMarking</a> is set to true the rendering will prefix the rendered items with
  429. [x] or [ ] and bind the SPACE key to toggle the selection. To implement a different
  430. marking style set <a class="xref" href="Terminal.Gui.ListView.html#Terminal_Gui_ListView_AllowsMarking">AllowsMarking</a> to false and implement custom rendering.
  431. </p>
  432. </div>
  433. <h3 id="constructors">Constructors
  434. </h3>
  435. <a id="Terminal_Gui_ListView__ctor_" data-uid="Terminal.Gui.ListView.#ctor*"></a>
  436. <h4 id="Terminal_Gui_ListView__ctor" data-uid="Terminal.Gui.ListView.#ctor">ListView()</h4>
  437. <div class="markdown level1 summary">
  438. Initializes a new instance of <a class="xref" href="Terminal.Gui.ListView.html">ListView</a>. Set the <a class="xref" href="Terminal.Gui.ListView.html#Terminal_Gui_ListView_Source">Source</a> property to display something.
  439. </div>
  440. <div class="markdown level1 conceptual"></div>
  441. <h5 class="decalaration">Declaration</h5>
  442. <div class="codewrapper">
  443. <pre><code class="lang-csharp hljs">public ListView()</code></pre>
  444. </div>
  445. <a id="Terminal_Gui_ListView__ctor_" data-uid="Terminal.Gui.ListView.#ctor*"></a>
  446. <h4 id="Terminal_Gui_ListView__ctor_System_Collections_IList_" data-uid="Terminal.Gui.ListView.#ctor(System.Collections.IList)">ListView(IList)</h4>
  447. <div class="markdown level1 summary">
  448. Initializes a new instance of <a class="xref" href="Terminal.Gui.ListView.html">ListView</a> that will display the contents of the object implementing the <span class="xref">System.Collections.IList</span> interface,
  449. with relative positioning.
  450. </div>
  451. <div class="markdown level1 conceptual"></div>
  452. <h5 class="decalaration">Declaration</h5>
  453. <div class="codewrapper">
  454. <pre><code class="lang-csharp hljs">public ListView(IList source)</code></pre>
  455. </div>
  456. <h5 class="parameters">Parameters</h5>
  457. <table class="table table-bordered table-striped table-condensed">
  458. <thead>
  459. <tr>
  460. <th>Type</th>
  461. <th>Name</th>
  462. <th>Description</th>
  463. </tr>
  464. </thead>
  465. <tbody>
  466. <tr>
  467. <td><span class="xref">System.Collections.IList</span></td>
  468. <td><span class="parametername">source</span></td>
  469. <td>An <span class="xref">System.Collections.IList</span> data source, if the elements are strings or ustrings, the string is rendered, otherwise the ToString() method is invoked on the result.</td>
  470. </tr>
  471. </tbody>
  472. </table>
  473. <a id="Terminal_Gui_ListView__ctor_" data-uid="Terminal.Gui.ListView.#ctor*"></a>
  474. <h4 id="Terminal_Gui_ListView__ctor_Terminal_Gui_IListDataSource_" data-uid="Terminal.Gui.ListView.#ctor(Terminal.Gui.IListDataSource)">ListView(IListDataSource)</h4>
  475. <div class="markdown level1 summary">
  476. Initializes a new instance of <a class="xref" href="Terminal.Gui.ListView.html">ListView</a> that will display the provided data source, using relative positioning.
  477. </div>
  478. <div class="markdown level1 conceptual"></div>
  479. <h5 class="decalaration">Declaration</h5>
  480. <div class="codewrapper">
  481. <pre><code class="lang-csharp hljs">public ListView(IListDataSource source)</code></pre>
  482. </div>
  483. <h5 class="parameters">Parameters</h5>
  484. <table class="table table-bordered table-striped table-condensed">
  485. <thead>
  486. <tr>
  487. <th>Type</th>
  488. <th>Name</th>
  489. <th>Description</th>
  490. </tr>
  491. </thead>
  492. <tbody>
  493. <tr>
  494. <td><a class="xref" href="Terminal.Gui.IListDataSource.html">IListDataSource</a></td>
  495. <td><span class="parametername">source</span></td>
  496. <td><a class="xref" href="Terminal.Gui.IListDataSource.html">IListDataSource</a> object that provides a mechanism to render the data.
  497. The number of elements on the collection should not change, if you must change, set
  498. the &quot;Source&quot; property to reset the internal settings of the ListView.</td>
  499. </tr>
  500. </tbody>
  501. </table>
  502. <a id="Terminal_Gui_ListView__ctor_" data-uid="Terminal.Gui.ListView.#ctor*"></a>
  503. <h4 id="Terminal_Gui_ListView__ctor_Terminal_Gui_Rect_System_Collections_IList_" data-uid="Terminal.Gui.ListView.#ctor(Terminal.Gui.Rect,System.Collections.IList)">ListView(Rect, IList)</h4>
  504. <div class="markdown level1 summary">
  505. Initializes a new instance of <a class="xref" href="Terminal.Gui.ListView.html">ListView</a> that will display the contents of the object implementing the <span class="xref">System.Collections.IList</span> interface with an absolute position.
  506. </div>
  507. <div class="markdown level1 conceptual"></div>
  508. <h5 class="decalaration">Declaration</h5>
  509. <div class="codewrapper">
  510. <pre><code class="lang-csharp hljs">public ListView(Rect rect, IList source)</code></pre>
  511. </div>
  512. <h5 class="parameters">Parameters</h5>
  513. <table class="table table-bordered table-striped table-condensed">
  514. <thead>
  515. <tr>
  516. <th>Type</th>
  517. <th>Name</th>
  518. <th>Description</th>
  519. </tr>
  520. </thead>
  521. <tbody>
  522. <tr>
  523. <td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
  524. <td><span class="parametername">rect</span></td>
  525. <td>Frame for the listview.</td>
  526. </tr>
  527. <tr>
  528. <td><span class="xref">System.Collections.IList</span></td>
  529. <td><span class="parametername">source</span></td>
  530. <td>An IList data source, if the elements of the IList are strings or ustrings, the string is rendered, otherwise the ToString() method is invoked on the result.</td>
  531. </tr>
  532. </tbody>
  533. </table>
  534. <a id="Terminal_Gui_ListView__ctor_" data-uid="Terminal.Gui.ListView.#ctor*"></a>
  535. <h4 id="Terminal_Gui_ListView__ctor_Terminal_Gui_Rect_Terminal_Gui_IListDataSource_" data-uid="Terminal.Gui.ListView.#ctor(Terminal.Gui.Rect,Terminal.Gui.IListDataSource)">ListView(Rect, IListDataSource)</h4>
  536. <div class="markdown level1 summary">
  537. Initializes a new instance of <a class="xref" href="Terminal.Gui.ListView.html">ListView</a> with the provided data source and an absolute position
  538. </div>
  539. <div class="markdown level1 conceptual"></div>
  540. <h5 class="decalaration">Declaration</h5>
  541. <div class="codewrapper">
  542. <pre><code class="lang-csharp hljs">public ListView(Rect rect, IListDataSource source)</code></pre>
  543. </div>
  544. <h5 class="parameters">Parameters</h5>
  545. <table class="table table-bordered table-striped table-condensed">
  546. <thead>
  547. <tr>
  548. <th>Type</th>
  549. <th>Name</th>
  550. <th>Description</th>
  551. </tr>
  552. </thead>
  553. <tbody>
  554. <tr>
  555. <td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
  556. <td><span class="parametername">rect</span></td>
  557. <td>Frame for the listview.</td>
  558. </tr>
  559. <tr>
  560. <td><a class="xref" href="Terminal.Gui.IListDataSource.html">IListDataSource</a></td>
  561. <td><span class="parametername">source</span></td>
  562. <td>IListDataSource object that provides a mechanism to render the data. The number of elements on the collection should not change, if you must change, set the &quot;Source&quot; property to reset the internal settings of the ListView.</td>
  563. </tr>
  564. </tbody>
  565. </table>
  566. <h3 id="properties">Properties
  567. </h3>
  568. <a id="Terminal_Gui_ListView_AllowsMarking_" data-uid="Terminal.Gui.ListView.AllowsMarking*"></a>
  569. <h4 id="Terminal_Gui_ListView_AllowsMarking" data-uid="Terminal.Gui.ListView.AllowsMarking">AllowsMarking</h4>
  570. <div class="markdown level1 summary">
  571. Gets or sets whether this <a class="xref" href="Terminal.Gui.ListView.html">ListView</a> allows items to be marked.
  572. </div>
  573. <div class="markdown level1 conceptual"></div>
  574. <h5 class="decalaration">Declaration</h5>
  575. <div class="codewrapper">
  576. <pre><code class="lang-csharp hljs">public bool AllowsMarking { get; set; }</code></pre>
  577. </div>
  578. <h5 class="propertyValue">Property Value</h5>
  579. <table class="table table-bordered table-striped table-condensed">
  580. <thead>
  581. <tr>
  582. <th>Type</th>
  583. <th>Description</th>
  584. </tr>
  585. </thead>
  586. <tbody>
  587. <tr>
  588. <td><span class="xref">System.Boolean</span></td>
  589. <td><code>true</code> if allows marking elements of the list; otherwise, <code>false</code>.
  590. </td>
  591. </tr>
  592. </tbody>
  593. </table>
  594. <h5 id="Terminal_Gui_ListView_AllowsMarking_remarks">Remarks</h5>
  595. <div class="markdown level1 remarks">
  596. If set to true, <a class="xref" href="Terminal.Gui.ListView.html">ListView</a> will render items marked items with &quot;[x]&quot;, and unmarked items with &quot;[ ]&quot;
  597. spaces. SPACE key will toggle marking.
  598. </div>
  599. <a id="Terminal_Gui_ListView_AllowsMultipleSelection_" data-uid="Terminal.Gui.ListView.AllowsMultipleSelection*"></a>
  600. <h4 id="Terminal_Gui_ListView_AllowsMultipleSelection" data-uid="Terminal.Gui.ListView.AllowsMultipleSelection">AllowsMultipleSelection</h4>
  601. <div class="markdown level1 summary">
  602. If set to true allows more than one item to be selected. If false only allow one item selected.
  603. </div>
  604. <div class="markdown level1 conceptual"></div>
  605. <h5 class="decalaration">Declaration</h5>
  606. <div class="codewrapper">
  607. <pre><code class="lang-csharp hljs">public bool AllowsMultipleSelection { get; set; }</code></pre>
  608. </div>
  609. <h5 class="propertyValue">Property Value</h5>
  610. <table class="table table-bordered table-striped table-condensed">
  611. <thead>
  612. <tr>
  613. <th>Type</th>
  614. <th>Description</th>
  615. </tr>
  616. </thead>
  617. <tbody>
  618. <tr>
  619. <td><span class="xref">System.Boolean</span></td>
  620. <td></td>
  621. </tr>
  622. </tbody>
  623. </table>
  624. <a id="Terminal_Gui_ListView_LeftItem_" data-uid="Terminal.Gui.ListView.LeftItem*"></a>
  625. <h4 id="Terminal_Gui_ListView_LeftItem" data-uid="Terminal.Gui.ListView.LeftItem">LeftItem</h4>
  626. <div class="markdown level1 summary">
  627. Gets or sets the left column where the item start to be displayed at on the <a class="xref" href="Terminal.Gui.ListView.html">ListView</a>.
  628. </div>
  629. <div class="markdown level1 conceptual"></div>
  630. <h5 class="decalaration">Declaration</h5>
  631. <div class="codewrapper">
  632. <pre><code class="lang-csharp hljs">public int LeftItem { get; set; }</code></pre>
  633. </div>
  634. <h5 class="propertyValue">Property Value</h5>
  635. <table class="table table-bordered table-striped table-condensed">
  636. <thead>
  637. <tr>
  638. <th>Type</th>
  639. <th>Description</th>
  640. </tr>
  641. </thead>
  642. <tbody>
  643. <tr>
  644. <td><span class="xref">System.Int32</span></td>
  645. <td>The left position.</td>
  646. </tr>
  647. </tbody>
  648. </table>
  649. <a id="Terminal_Gui_ListView_Maxlength_" data-uid="Terminal.Gui.ListView.Maxlength*"></a>
  650. <h4 id="Terminal_Gui_ListView_Maxlength" data-uid="Terminal.Gui.ListView.Maxlength">Maxlength</h4>
  651. <div class="markdown level1 summary">
  652. Gets the widest item.
  653. </div>
  654. <div class="markdown level1 conceptual"></div>
  655. <h5 class="decalaration">Declaration</h5>
  656. <div class="codewrapper">
  657. <pre><code class="lang-csharp hljs">public int Maxlength { get; }</code></pre>
  658. </div>
  659. <h5 class="propertyValue">Property Value</h5>
  660. <table class="table table-bordered table-striped table-condensed">
  661. <thead>
  662. <tr>
  663. <th>Type</th>
  664. <th>Description</th>
  665. </tr>
  666. </thead>
  667. <tbody>
  668. <tr>
  669. <td><span class="xref">System.Int32</span></td>
  670. <td></td>
  671. </tr>
  672. </tbody>
  673. </table>
  674. <a id="Terminal_Gui_ListView_SelectedItem_" data-uid="Terminal.Gui.ListView.SelectedItem*"></a>
  675. <h4 id="Terminal_Gui_ListView_SelectedItem" data-uid="Terminal.Gui.ListView.SelectedItem">SelectedItem</h4>
  676. <div class="markdown level1 summary">
  677. Gets or sets the index of the currently selected item.
  678. </div>
  679. <div class="markdown level1 conceptual"></div>
  680. <h5 class="decalaration">Declaration</h5>
  681. <div class="codewrapper">
  682. <pre><code class="lang-csharp hljs">public int SelectedItem { get; set; }</code></pre>
  683. </div>
  684. <h5 class="propertyValue">Property Value</h5>
  685. <table class="table table-bordered table-striped table-condensed">
  686. <thead>
  687. <tr>
  688. <th>Type</th>
  689. <th>Description</th>
  690. </tr>
  691. </thead>
  692. <tbody>
  693. <tr>
  694. <td><span class="xref">System.Int32</span></td>
  695. <td>The selected item.</td>
  696. </tr>
  697. </tbody>
  698. </table>
  699. <a id="Terminal_Gui_ListView_Source_" data-uid="Terminal.Gui.ListView.Source*"></a>
  700. <h4 id="Terminal_Gui_ListView_Source" data-uid="Terminal.Gui.ListView.Source">Source</h4>
  701. <div class="markdown level1 summary">
  702. Gets or sets the <a class="xref" href="Terminal.Gui.IListDataSource.html">IListDataSource</a> backing this <a class="xref" href="Terminal.Gui.ListView.html">ListView</a>, enabling custom rendering.
  703. </div>
  704. <div class="markdown level1 conceptual"></div>
  705. <h5 class="decalaration">Declaration</h5>
  706. <div class="codewrapper">
  707. <pre><code class="lang-csharp hljs">public IListDataSource Source { get; set; }</code></pre>
  708. </div>
  709. <h5 class="propertyValue">Property Value</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><a class="xref" href="Terminal.Gui.IListDataSource.html">IListDataSource</a></td>
  720. <td>The source.</td>
  721. </tr>
  722. </tbody>
  723. </table>
  724. <h5 id="Terminal_Gui_ListView_Source_remarks">Remarks</h5>
  725. <div class="markdown level1 remarks">
  726. Use <a class="xref" href="Terminal.Gui.ListView.html#Terminal_Gui_ListView_SetSource_System_Collections_IList_">SetSource(IList)</a> to set a new <span class="xref">System.Collections.IList</span> source.
  727. </div>
  728. <a id="Terminal_Gui_ListView_TopItem_" data-uid="Terminal.Gui.ListView.TopItem*"></a>
  729. <h4 id="Terminal_Gui_ListView_TopItem" data-uid="Terminal.Gui.ListView.TopItem">TopItem</h4>
  730. <div class="markdown level1 summary">
  731. Gets or sets the item that is displayed at the top of the <a class="xref" href="Terminal.Gui.ListView.html">ListView</a>.
  732. </div>
  733. <div class="markdown level1 conceptual"></div>
  734. <h5 class="decalaration">Declaration</h5>
  735. <div class="codewrapper">
  736. <pre><code class="lang-csharp hljs">public int TopItem { get; set; }</code></pre>
  737. </div>
  738. <h5 class="propertyValue">Property Value</h5>
  739. <table class="table table-bordered table-striped table-condensed">
  740. <thead>
  741. <tr>
  742. <th>Type</th>
  743. <th>Description</th>
  744. </tr>
  745. </thead>
  746. <tbody>
  747. <tr>
  748. <td><span class="xref">System.Int32</span></td>
  749. <td>The top item.</td>
  750. </tr>
  751. </tbody>
  752. </table>
  753. <h3 id="methods">Methods
  754. </h3>
  755. <a id="Terminal_Gui_ListView_AllowsAll_" data-uid="Terminal.Gui.ListView.AllowsAll*"></a>
  756. <h4 id="Terminal_Gui_ListView_AllowsAll" data-uid="Terminal.Gui.ListView.AllowsAll">AllowsAll()</h4>
  757. <div class="markdown level1 summary">
  758. Prevents marking if it&apos;s not allowed mark and if it&apos;s not allows multiple selection.
  759. </div>
  760. <div class="markdown level1 conceptual"></div>
  761. <h5 class="decalaration">Declaration</h5>
  762. <div class="codewrapper">
  763. <pre><code class="lang-csharp hljs">public virtual bool AllowsAll()</code></pre>
  764. </div>
  765. <h5 class="returns">Returns</h5>
  766. <table class="table table-bordered table-striped table-condensed">
  767. <thead>
  768. <tr>
  769. <th>Type</th>
  770. <th>Description</th>
  771. </tr>
  772. </thead>
  773. <tbody>
  774. <tr>
  775. <td><span class="xref">System.Boolean</span></td>
  776. <td></td>
  777. </tr>
  778. </tbody>
  779. </table>
  780. <a id="Terminal_Gui_ListView_MarkUnmarkRow_" data-uid="Terminal.Gui.ListView.MarkUnmarkRow*"></a>
  781. <h4 id="Terminal_Gui_ListView_MarkUnmarkRow" data-uid="Terminal.Gui.ListView.MarkUnmarkRow">MarkUnmarkRow()</h4>
  782. <div class="markdown level1 summary">
  783. Marks an unmarked row.
  784. </div>
  785. <div class="markdown level1 conceptual"></div>
  786. <h5 class="decalaration">Declaration</h5>
  787. <div class="codewrapper">
  788. <pre><code class="lang-csharp hljs">public virtual bool MarkUnmarkRow()</code></pre>
  789. </div>
  790. <h5 class="returns">Returns</h5>
  791. <table class="table table-bordered table-striped table-condensed">
  792. <thead>
  793. <tr>
  794. <th>Type</th>
  795. <th>Description</th>
  796. </tr>
  797. </thead>
  798. <tbody>
  799. <tr>
  800. <td><span class="xref">System.Boolean</span></td>
  801. <td></td>
  802. </tr>
  803. </tbody>
  804. </table>
  805. <a id="Terminal_Gui_ListView_MouseEvent_" data-uid="Terminal.Gui.ListView.MouseEvent*"></a>
  806. <h4 id="Terminal_Gui_ListView_MouseEvent_Terminal_Gui_MouseEvent_" data-uid="Terminal.Gui.ListView.MouseEvent(Terminal.Gui.MouseEvent)">MouseEvent(MouseEvent)</h4>
  807. <div class="markdown level1 summary"></div>
  808. <div class="markdown level1 conceptual"></div>
  809. <h5 class="decalaration">Declaration</h5>
  810. <div class="codewrapper">
  811. <pre><code class="lang-csharp hljs">public override bool MouseEvent(MouseEvent me)</code></pre>
  812. </div>
  813. <h5 class="parameters">Parameters</h5>
  814. <table class="table table-bordered table-striped table-condensed">
  815. <thead>
  816. <tr>
  817. <th>Type</th>
  818. <th>Name</th>
  819. <th>Description</th>
  820. </tr>
  821. </thead>
  822. <tbody>
  823. <tr>
  824. <td><a class="xref" href="Terminal.Gui.MouseEvent.html">MouseEvent</a></td>
  825. <td><span class="parametername">me</span></td>
  826. <td></td>
  827. </tr>
  828. </tbody>
  829. </table>
  830. <h5 class="returns">Returns</h5>
  831. <table class="table table-bordered table-striped table-condensed">
  832. <thead>
  833. <tr>
  834. <th>Type</th>
  835. <th>Description</th>
  836. </tr>
  837. </thead>
  838. <tbody>
  839. <tr>
  840. <td><span class="xref">System.Boolean</span></td>
  841. <td></td>
  842. </tr>
  843. </tbody>
  844. </table>
  845. <h5 class="overrides">Overrides</h5>
  846. <div><a class="xref" href="Terminal.Gui.Responder.html#Terminal_Gui_Responder_MouseEvent_Terminal_Gui_MouseEvent_">Responder.MouseEvent(MouseEvent)</a></div>
  847. <a id="Terminal_Gui_ListView_MoveDown_" data-uid="Terminal.Gui.ListView.MoveDown*"></a>
  848. <h4 id="Terminal_Gui_ListView_MoveDown" data-uid="Terminal.Gui.ListView.MoveDown">MoveDown()</h4>
  849. <div class="markdown level1 summary">
  850. Moves the selected item index to the next row.
  851. </div>
  852. <div class="markdown level1 conceptual"></div>
  853. <h5 class="decalaration">Declaration</h5>
  854. <div class="codewrapper">
  855. <pre><code class="lang-csharp hljs">public virtual bool MoveDown()</code></pre>
  856. </div>
  857. <h5 class="returns">Returns</h5>
  858. <table class="table table-bordered table-striped table-condensed">
  859. <thead>
  860. <tr>
  861. <th>Type</th>
  862. <th>Description</th>
  863. </tr>
  864. </thead>
  865. <tbody>
  866. <tr>
  867. <td><span class="xref">System.Boolean</span></td>
  868. <td></td>
  869. </tr>
  870. </tbody>
  871. </table>
  872. <a id="Terminal_Gui_ListView_MoveEnd_" data-uid="Terminal.Gui.ListView.MoveEnd*"></a>
  873. <h4 id="Terminal_Gui_ListView_MoveEnd" data-uid="Terminal.Gui.ListView.MoveEnd">MoveEnd()</h4>
  874. <div class="markdown level1 summary">
  875. Moves the selected item index to the last row.
  876. </div>
  877. <div class="markdown level1 conceptual"></div>
  878. <h5 class="decalaration">Declaration</h5>
  879. <div class="codewrapper">
  880. <pre><code class="lang-csharp hljs">public virtual bool MoveEnd()</code></pre>
  881. </div>
  882. <h5 class="returns">Returns</h5>
  883. <table class="table table-bordered table-striped table-condensed">
  884. <thead>
  885. <tr>
  886. <th>Type</th>
  887. <th>Description</th>
  888. </tr>
  889. </thead>
  890. <tbody>
  891. <tr>
  892. <td><span class="xref">System.Boolean</span></td>
  893. <td></td>
  894. </tr>
  895. </tbody>
  896. </table>
  897. <a id="Terminal_Gui_ListView_MoveHome_" data-uid="Terminal.Gui.ListView.MoveHome*"></a>
  898. <h4 id="Terminal_Gui_ListView_MoveHome" data-uid="Terminal.Gui.ListView.MoveHome">MoveHome()</h4>
  899. <div class="markdown level1 summary">
  900. Moves the selected item index to the first row.
  901. </div>
  902. <div class="markdown level1 conceptual"></div>
  903. <h5 class="decalaration">Declaration</h5>
  904. <div class="codewrapper">
  905. <pre><code class="lang-csharp hljs">public virtual bool MoveHome()</code></pre>
  906. </div>
  907. <h5 class="returns">Returns</h5>
  908. <table class="table table-bordered table-striped table-condensed">
  909. <thead>
  910. <tr>
  911. <th>Type</th>
  912. <th>Description</th>
  913. </tr>
  914. </thead>
  915. <tbody>
  916. <tr>
  917. <td><span class="xref">System.Boolean</span></td>
  918. <td></td>
  919. </tr>
  920. </tbody>
  921. </table>
  922. <a id="Terminal_Gui_ListView_MovePageDown_" data-uid="Terminal.Gui.ListView.MovePageDown*"></a>
  923. <h4 id="Terminal_Gui_ListView_MovePageDown" data-uid="Terminal.Gui.ListView.MovePageDown">MovePageDown()</h4>
  924. <div class="markdown level1 summary">
  925. Moves the selected item index to the previous page.
  926. </div>
  927. <div class="markdown level1 conceptual"></div>
  928. <h5 class="decalaration">Declaration</h5>
  929. <div class="codewrapper">
  930. <pre><code class="lang-csharp hljs">public virtual bool MovePageDown()</code></pre>
  931. </div>
  932. <h5 class="returns">Returns</h5>
  933. <table class="table table-bordered table-striped table-condensed">
  934. <thead>
  935. <tr>
  936. <th>Type</th>
  937. <th>Description</th>
  938. </tr>
  939. </thead>
  940. <tbody>
  941. <tr>
  942. <td><span class="xref">System.Boolean</span></td>
  943. <td></td>
  944. </tr>
  945. </tbody>
  946. </table>
  947. <a id="Terminal_Gui_ListView_MovePageUp_" data-uid="Terminal.Gui.ListView.MovePageUp*"></a>
  948. <h4 id="Terminal_Gui_ListView_MovePageUp" data-uid="Terminal.Gui.ListView.MovePageUp">MovePageUp()</h4>
  949. <div class="markdown level1 summary">
  950. Moves the selected item index to the next page.
  951. </div>
  952. <div class="markdown level1 conceptual"></div>
  953. <h5 class="decalaration">Declaration</h5>
  954. <div class="codewrapper">
  955. <pre><code class="lang-csharp hljs">public virtual bool MovePageUp()</code></pre>
  956. </div>
  957. <h5 class="returns">Returns</h5>
  958. <table class="table table-bordered table-striped table-condensed">
  959. <thead>
  960. <tr>
  961. <th>Type</th>
  962. <th>Description</th>
  963. </tr>
  964. </thead>
  965. <tbody>
  966. <tr>
  967. <td><span class="xref">System.Boolean</span></td>
  968. <td></td>
  969. </tr>
  970. </tbody>
  971. </table>
  972. <a id="Terminal_Gui_ListView_MoveUp_" data-uid="Terminal.Gui.ListView.MoveUp*"></a>
  973. <h4 id="Terminal_Gui_ListView_MoveUp" data-uid="Terminal.Gui.ListView.MoveUp">MoveUp()</h4>
  974. <div class="markdown level1 summary">
  975. Moves the selected item index to the previous row.
  976. </div>
  977. <div class="markdown level1 conceptual"></div>
  978. <h5 class="decalaration">Declaration</h5>
  979. <div class="codewrapper">
  980. <pre><code class="lang-csharp hljs">public virtual bool MoveUp()</code></pre>
  981. </div>
  982. <h5 class="returns">Returns</h5>
  983. <table class="table table-bordered table-striped table-condensed">
  984. <thead>
  985. <tr>
  986. <th>Type</th>
  987. <th>Description</th>
  988. </tr>
  989. </thead>
  990. <tbody>
  991. <tr>
  992. <td><span class="xref">System.Boolean</span></td>
  993. <td></td>
  994. </tr>
  995. </tbody>
  996. </table>
  997. <a id="Terminal_Gui_ListView_OnEnter_" data-uid="Terminal.Gui.ListView.OnEnter*"></a>
  998. <h4 id="Terminal_Gui_ListView_OnEnter_Terminal_Gui_View_" data-uid="Terminal.Gui.ListView.OnEnter(Terminal.Gui.View)">OnEnter(View)</h4>
  999. <div class="markdown level1 summary"></div>
  1000. <div class="markdown level1 conceptual"></div>
  1001. <h5 class="decalaration">Declaration</h5>
  1002. <div class="codewrapper">
  1003. <pre><code class="lang-csharp hljs">public override bool OnEnter(View view)</code></pre>
  1004. </div>
  1005. <h5 class="parameters">Parameters</h5>
  1006. <table class="table table-bordered table-striped table-condensed">
  1007. <thead>
  1008. <tr>
  1009. <th>Type</th>
  1010. <th>Name</th>
  1011. <th>Description</th>
  1012. </tr>
  1013. </thead>
  1014. <tbody>
  1015. <tr>
  1016. <td><a class="xref" href="Terminal.Gui.View.html">View</a></td>
  1017. <td><span class="parametername">view</span></td>
  1018. <td></td>
  1019. </tr>
  1020. </tbody>
  1021. </table>
  1022. <h5 class="returns">Returns</h5>
  1023. <table class="table table-bordered table-striped table-condensed">
  1024. <thead>
  1025. <tr>
  1026. <th>Type</th>
  1027. <th>Description</th>
  1028. </tr>
  1029. </thead>
  1030. <tbody>
  1031. <tr>
  1032. <td><span class="xref">System.Boolean</span></td>
  1033. <td></td>
  1034. </tr>
  1035. </tbody>
  1036. </table>
  1037. <h5 class="overrides">Overrides</h5>
  1038. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnEnter_Terminal_Gui_View_">View.OnEnter(View)</a></div>
  1039. <a id="Terminal_Gui_ListView_OnLeave_" data-uid="Terminal.Gui.ListView.OnLeave*"></a>
  1040. <h4 id="Terminal_Gui_ListView_OnLeave_Terminal_Gui_View_" data-uid="Terminal.Gui.ListView.OnLeave(Terminal.Gui.View)">OnLeave(View)</h4>
  1041. <div class="markdown level1 summary"></div>
  1042. <div class="markdown level1 conceptual"></div>
  1043. <h5 class="decalaration">Declaration</h5>
  1044. <div class="codewrapper">
  1045. <pre><code class="lang-csharp hljs">public override bool OnLeave(View view)</code></pre>
  1046. </div>
  1047. <h5 class="parameters">Parameters</h5>
  1048. <table class="table table-bordered table-striped table-condensed">
  1049. <thead>
  1050. <tr>
  1051. <th>Type</th>
  1052. <th>Name</th>
  1053. <th>Description</th>
  1054. </tr>
  1055. </thead>
  1056. <tbody>
  1057. <tr>
  1058. <td><a class="xref" href="Terminal.Gui.View.html">View</a></td>
  1059. <td><span class="parametername">view</span></td>
  1060. <td></td>
  1061. </tr>
  1062. </tbody>
  1063. </table>
  1064. <h5 class="returns">Returns</h5>
  1065. <table class="table table-bordered table-striped table-condensed">
  1066. <thead>
  1067. <tr>
  1068. <th>Type</th>
  1069. <th>Description</th>
  1070. </tr>
  1071. </thead>
  1072. <tbody>
  1073. <tr>
  1074. <td><span class="xref">System.Boolean</span></td>
  1075. <td></td>
  1076. </tr>
  1077. </tbody>
  1078. </table>
  1079. <h5 class="overrides">Overrides</h5>
  1080. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnLeave_Terminal_Gui_View_">View.OnLeave(View)</a></div>
  1081. <a id="Terminal_Gui_ListView_OnOpenSelectedItem_" data-uid="Terminal.Gui.ListView.OnOpenSelectedItem*"></a>
  1082. <h4 id="Terminal_Gui_ListView_OnOpenSelectedItem" data-uid="Terminal.Gui.ListView.OnOpenSelectedItem">OnOpenSelectedItem()</h4>
  1083. <div class="markdown level1 summary">
  1084. Invokes the OnOpenSelectedItem event if it is defined.
  1085. </div>
  1086. <div class="markdown level1 conceptual"></div>
  1087. <h5 class="decalaration">Declaration</h5>
  1088. <div class="codewrapper">
  1089. <pre><code class="lang-csharp hljs">public virtual bool OnOpenSelectedItem()</code></pre>
  1090. </div>
  1091. <h5 class="returns">Returns</h5>
  1092. <table class="table table-bordered table-striped table-condensed">
  1093. <thead>
  1094. <tr>
  1095. <th>Type</th>
  1096. <th>Description</th>
  1097. </tr>
  1098. </thead>
  1099. <tbody>
  1100. <tr>
  1101. <td><span class="xref">System.Boolean</span></td>
  1102. <td></td>
  1103. </tr>
  1104. </tbody>
  1105. </table>
  1106. <a id="Terminal_Gui_ListView_OnSelectedChanged_" data-uid="Terminal.Gui.ListView.OnSelectedChanged*"></a>
  1107. <h4 id="Terminal_Gui_ListView_OnSelectedChanged" data-uid="Terminal.Gui.ListView.OnSelectedChanged">OnSelectedChanged()</h4>
  1108. <div class="markdown level1 summary">
  1109. Invokes the SelectedChanged event if it is defined.
  1110. </div>
  1111. <div class="markdown level1 conceptual"></div>
  1112. <h5 class="decalaration">Declaration</h5>
  1113. <div class="codewrapper">
  1114. <pre><code class="lang-csharp hljs">public virtual bool OnSelectedChanged()</code></pre>
  1115. </div>
  1116. <h5 class="returns">Returns</h5>
  1117. <table class="table table-bordered table-striped table-condensed">
  1118. <thead>
  1119. <tr>
  1120. <th>Type</th>
  1121. <th>Description</th>
  1122. </tr>
  1123. </thead>
  1124. <tbody>
  1125. <tr>
  1126. <td><span class="xref">System.Boolean</span></td>
  1127. <td></td>
  1128. </tr>
  1129. </tbody>
  1130. </table>
  1131. <a id="Terminal_Gui_ListView_PositionCursor_" data-uid="Terminal.Gui.ListView.PositionCursor*"></a>
  1132. <h4 id="Terminal_Gui_ListView_PositionCursor" data-uid="Terminal.Gui.ListView.PositionCursor">PositionCursor()</h4>
  1133. <div class="markdown level1 summary"></div>
  1134. <div class="markdown level1 conceptual"></div>
  1135. <h5 class="decalaration">Declaration</h5>
  1136. <div class="codewrapper">
  1137. <pre><code class="lang-csharp hljs">public override void PositionCursor()</code></pre>
  1138. </div>
  1139. <h5 class="overrides">Overrides</h5>
  1140. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_PositionCursor">View.PositionCursor()</a></div>
  1141. <a id="Terminal_Gui_ListView_ProcessKey_" data-uid="Terminal.Gui.ListView.ProcessKey*"></a>
  1142. <h4 id="Terminal_Gui_ListView_ProcessKey_Terminal_Gui_KeyEvent_" data-uid="Terminal.Gui.ListView.ProcessKey(Terminal.Gui.KeyEvent)">ProcessKey(KeyEvent)</h4>
  1143. <div class="markdown level1 summary"></div>
  1144. <div class="markdown level1 conceptual"></div>
  1145. <h5 class="decalaration">Declaration</h5>
  1146. <div class="codewrapper">
  1147. <pre><code class="lang-csharp hljs">public override bool ProcessKey(KeyEvent kb)</code></pre>
  1148. </div>
  1149. <h5 class="parameters">Parameters</h5>
  1150. <table class="table table-bordered table-striped table-condensed">
  1151. <thead>
  1152. <tr>
  1153. <th>Type</th>
  1154. <th>Name</th>
  1155. <th>Description</th>
  1156. </tr>
  1157. </thead>
  1158. <tbody>
  1159. <tr>
  1160. <td><a class="xref" href="Terminal.Gui.KeyEvent.html">KeyEvent</a></td>
  1161. <td><span class="parametername">kb</span></td>
  1162. <td></td>
  1163. </tr>
  1164. </tbody>
  1165. </table>
  1166. <h5 class="returns">Returns</h5>
  1167. <table class="table table-bordered table-striped table-condensed">
  1168. <thead>
  1169. <tr>
  1170. <th>Type</th>
  1171. <th>Description</th>
  1172. </tr>
  1173. </thead>
  1174. <tbody>
  1175. <tr>
  1176. <td><span class="xref">System.Boolean</span></td>
  1177. <td></td>
  1178. </tr>
  1179. </tbody>
  1180. </table>
  1181. <h5 class="overrides">Overrides</h5>
  1182. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ProcessKey_Terminal_Gui_KeyEvent_">View.ProcessKey(KeyEvent)</a></div>
  1183. <a id="Terminal_Gui_ListView_Redraw_" data-uid="Terminal.Gui.ListView.Redraw*"></a>
  1184. <h4 id="Terminal_Gui_ListView_Redraw_Terminal_Gui_Rect_" data-uid="Terminal.Gui.ListView.Redraw(Terminal.Gui.Rect)">Redraw(Rect)</h4>
  1185. <div class="markdown level1 summary"></div>
  1186. <div class="markdown level1 conceptual"></div>
  1187. <h5 class="decalaration">Declaration</h5>
  1188. <div class="codewrapper">
  1189. <pre><code class="lang-csharp hljs">public override void Redraw(Rect bounds)</code></pre>
  1190. </div>
  1191. <h5 class="parameters">Parameters</h5>
  1192. <table class="table table-bordered table-striped table-condensed">
  1193. <thead>
  1194. <tr>
  1195. <th>Type</th>
  1196. <th>Name</th>
  1197. <th>Description</th>
  1198. </tr>
  1199. </thead>
  1200. <tbody>
  1201. <tr>
  1202. <td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
  1203. <td><span class="parametername">bounds</span></td>
  1204. <td></td>
  1205. </tr>
  1206. </tbody>
  1207. </table>
  1208. <h5 class="overrides">Overrides</h5>
  1209. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Redraw_Terminal_Gui_Rect_">View.Redraw(Rect)</a></div>
  1210. <a id="Terminal_Gui_ListView_ScrollDown_" data-uid="Terminal.Gui.ListView.ScrollDown*"></a>
  1211. <h4 id="Terminal_Gui_ListView_ScrollDown_System_Int32_" data-uid="Terminal.Gui.ListView.ScrollDown(System.Int32)">ScrollDown(Int32)</h4>
  1212. <div class="markdown level1 summary">
  1213. Scrolls the view down.
  1214. </div>
  1215. <div class="markdown level1 conceptual"></div>
  1216. <h5 class="decalaration">Declaration</h5>
  1217. <div class="codewrapper">
  1218. <pre><code class="lang-csharp hljs">public virtual void ScrollDown(int lines)</code></pre>
  1219. </div>
  1220. <h5 class="parameters">Parameters</h5>
  1221. <table class="table table-bordered table-striped table-condensed">
  1222. <thead>
  1223. <tr>
  1224. <th>Type</th>
  1225. <th>Name</th>
  1226. <th>Description</th>
  1227. </tr>
  1228. </thead>
  1229. <tbody>
  1230. <tr>
  1231. <td><span class="xref">System.Int32</span></td>
  1232. <td><span class="parametername">lines</span></td>
  1233. <td>Number of lines to scroll down.</td>
  1234. </tr>
  1235. </tbody>
  1236. </table>
  1237. <a id="Terminal_Gui_ListView_ScrollLeft_" data-uid="Terminal.Gui.ListView.ScrollLeft*"></a>
  1238. <h4 id="Terminal_Gui_ListView_ScrollLeft_System_Int32_" data-uid="Terminal.Gui.ListView.ScrollLeft(System.Int32)">ScrollLeft(Int32)</h4>
  1239. <div class="markdown level1 summary">
  1240. Scrolls the view left.
  1241. </div>
  1242. <div class="markdown level1 conceptual"></div>
  1243. <h5 class="decalaration">Declaration</h5>
  1244. <div class="codewrapper">
  1245. <pre><code class="lang-csharp hljs">public virtual void ScrollLeft(int cols)</code></pre>
  1246. </div>
  1247. <h5 class="parameters">Parameters</h5>
  1248. <table class="table table-bordered table-striped table-condensed">
  1249. <thead>
  1250. <tr>
  1251. <th>Type</th>
  1252. <th>Name</th>
  1253. <th>Description</th>
  1254. </tr>
  1255. </thead>
  1256. <tbody>
  1257. <tr>
  1258. <td><span class="xref">System.Int32</span></td>
  1259. <td><span class="parametername">cols</span></td>
  1260. <td>Number of columns to scroll left.</td>
  1261. </tr>
  1262. </tbody>
  1263. </table>
  1264. <a id="Terminal_Gui_ListView_ScrollRight_" data-uid="Terminal.Gui.ListView.ScrollRight*"></a>
  1265. <h4 id="Terminal_Gui_ListView_ScrollRight_System_Int32_" data-uid="Terminal.Gui.ListView.ScrollRight(System.Int32)">ScrollRight(Int32)</h4>
  1266. <div class="markdown level1 summary">
  1267. Scrolls the view right.
  1268. </div>
  1269. <div class="markdown level1 conceptual"></div>
  1270. <h5 class="decalaration">Declaration</h5>
  1271. <div class="codewrapper">
  1272. <pre><code class="lang-csharp hljs">public virtual void ScrollRight(int cols)</code></pre>
  1273. </div>
  1274. <h5 class="parameters">Parameters</h5>
  1275. <table class="table table-bordered table-striped table-condensed">
  1276. <thead>
  1277. <tr>
  1278. <th>Type</th>
  1279. <th>Name</th>
  1280. <th>Description</th>
  1281. </tr>
  1282. </thead>
  1283. <tbody>
  1284. <tr>
  1285. <td><span class="xref">System.Int32</span></td>
  1286. <td><span class="parametername">cols</span></td>
  1287. <td>Number of columns to scroll right.</td>
  1288. </tr>
  1289. </tbody>
  1290. </table>
  1291. <a id="Terminal_Gui_ListView_ScrollUp_" data-uid="Terminal.Gui.ListView.ScrollUp*"></a>
  1292. <h4 id="Terminal_Gui_ListView_ScrollUp_System_Int32_" data-uid="Terminal.Gui.ListView.ScrollUp(System.Int32)">ScrollUp(Int32)</h4>
  1293. <div class="markdown level1 summary">
  1294. Scrolls the view up.
  1295. </div>
  1296. <div class="markdown level1 conceptual"></div>
  1297. <h5 class="decalaration">Declaration</h5>
  1298. <div class="codewrapper">
  1299. <pre><code class="lang-csharp hljs">public virtual void ScrollUp(int lines)</code></pre>
  1300. </div>
  1301. <h5 class="parameters">Parameters</h5>
  1302. <table class="table table-bordered table-striped table-condensed">
  1303. <thead>
  1304. <tr>
  1305. <th>Type</th>
  1306. <th>Name</th>
  1307. <th>Description</th>
  1308. </tr>
  1309. </thead>
  1310. <tbody>
  1311. <tr>
  1312. <td><span class="xref">System.Int32</span></td>
  1313. <td><span class="parametername">lines</span></td>
  1314. <td>Number of lines to scroll up.</td>
  1315. </tr>
  1316. </tbody>
  1317. </table>
  1318. <a id="Terminal_Gui_ListView_SetSource_" data-uid="Terminal.Gui.ListView.SetSource*"></a>
  1319. <h4 id="Terminal_Gui_ListView_SetSource_System_Collections_IList_" data-uid="Terminal.Gui.ListView.SetSource(System.Collections.IList)">SetSource(IList)</h4>
  1320. <div class="markdown level1 summary">
  1321. Sets the source of the <a class="xref" href="Terminal.Gui.ListView.html">ListView</a> to an <span class="xref">System.Collections.IList</span>.
  1322. </div>
  1323. <div class="markdown level1 conceptual"></div>
  1324. <h5 class="decalaration">Declaration</h5>
  1325. <div class="codewrapper">
  1326. <pre><code class="lang-csharp hljs">public void SetSource(IList source)</code></pre>
  1327. </div>
  1328. <h5 class="parameters">Parameters</h5>
  1329. <table class="table table-bordered table-striped table-condensed">
  1330. <thead>
  1331. <tr>
  1332. <th>Type</th>
  1333. <th>Name</th>
  1334. <th>Description</th>
  1335. </tr>
  1336. </thead>
  1337. <tbody>
  1338. <tr>
  1339. <td><span class="xref">System.Collections.IList</span></td>
  1340. <td><span class="parametername">source</span></td>
  1341. <td></td>
  1342. </tr>
  1343. </tbody>
  1344. </table>
  1345. <h5 id="Terminal_Gui_ListView_SetSource_System_Collections_IList__remarks">Remarks</h5>
  1346. <div class="markdown level1 remarks">
  1347. Use the <a class="xref" href="Terminal.Gui.ListView.html#Terminal_Gui_ListView_Source">Source</a> property to set a new <a class="xref" href="Terminal.Gui.IListDataSource.html">IListDataSource</a> source and use custome rendering.
  1348. </div>
  1349. <a id="Terminal_Gui_ListView_SetSourceAsync_" data-uid="Terminal.Gui.ListView.SetSourceAsync*"></a>
  1350. <h4 id="Terminal_Gui_ListView_SetSourceAsync_System_Collections_IList_" data-uid="Terminal.Gui.ListView.SetSourceAsync(System.Collections.IList)">SetSourceAsync(IList)</h4>
  1351. <div class="markdown level1 summary">
  1352. Sets the source to an <span class="xref">System.Collections.IList</span> value asynchronously.
  1353. </div>
  1354. <div class="markdown level1 conceptual"></div>
  1355. <h5 class="decalaration">Declaration</h5>
  1356. <div class="codewrapper">
  1357. <pre><code class="lang-csharp hljs">public Task SetSourceAsync(IList source)</code></pre>
  1358. </div>
  1359. <h5 class="parameters">Parameters</h5>
  1360. <table class="table table-bordered table-striped table-condensed">
  1361. <thead>
  1362. <tr>
  1363. <th>Type</th>
  1364. <th>Name</th>
  1365. <th>Description</th>
  1366. </tr>
  1367. </thead>
  1368. <tbody>
  1369. <tr>
  1370. <td><span class="xref">System.Collections.IList</span></td>
  1371. <td><span class="parametername">source</span></td>
  1372. <td></td>
  1373. </tr>
  1374. </tbody>
  1375. </table>
  1376. <h5 class="returns">Returns</h5>
  1377. <table class="table table-bordered table-striped table-condensed">
  1378. <thead>
  1379. <tr>
  1380. <th>Type</th>
  1381. <th>Description</th>
  1382. </tr>
  1383. </thead>
  1384. <tbody>
  1385. <tr>
  1386. <td><span class="xref">System.Threading.Tasks.Task</span></td>
  1387. <td>An item implementing the IList interface.</td>
  1388. </tr>
  1389. </tbody>
  1390. </table>
  1391. <h5 id="Terminal_Gui_ListView_SetSourceAsync_System_Collections_IList__remarks">Remarks</h5>
  1392. <div class="markdown level1 remarks">
  1393. Use the <a class="xref" href="Terminal.Gui.ListView.html#Terminal_Gui_ListView_Source">Source</a> property to set a new <a class="xref" href="Terminal.Gui.IListDataSource.html">IListDataSource</a> source and use custom rendering.
  1394. </div>
  1395. <h3 id="events">Events
  1396. </h3>
  1397. <h4 id="Terminal_Gui_ListView_OpenSelectedItem" data-uid="Terminal.Gui.ListView.OpenSelectedItem">OpenSelectedItem</h4>
  1398. <div class="markdown level1 summary">
  1399. This event is raised when the user Double Clicks on an item or presses ENTER to open the selected item.
  1400. </div>
  1401. <div class="markdown level1 conceptual"></div>
  1402. <h5 class="decalaration">Declaration</h5>
  1403. <div class="codewrapper">
  1404. <pre><code class="lang-csharp hljs">public event Action&lt;ListViewItemEventArgs&gt; OpenSelectedItem</code></pre>
  1405. </div>
  1406. <h5 class="eventType">Event Type</h5>
  1407. <table class="table table-bordered table-striped table-condensed">
  1408. <thead>
  1409. <tr>
  1410. <th>Type</th>
  1411. <th>Description</th>
  1412. </tr>
  1413. </thead>
  1414. <tbody>
  1415. <tr>
  1416. <td><span class="xref">System.Action</span>&lt;<a class="xref" href="Terminal.Gui.ListViewItemEventArgs.html">ListViewItemEventArgs</a>&gt;</td>
  1417. <td></td>
  1418. </tr>
  1419. </tbody>
  1420. </table>
  1421. <h4 id="Terminal_Gui_ListView_SelectedItemChanged" data-uid="Terminal.Gui.ListView.SelectedItemChanged">SelectedItemChanged</h4>
  1422. <div class="markdown level1 summary">
  1423. This event is raised when the selected item in the <a class="xref" href="Terminal.Gui.ListView.html">ListView</a> has changed.
  1424. </div>
  1425. <div class="markdown level1 conceptual"></div>
  1426. <h5 class="decalaration">Declaration</h5>
  1427. <div class="codewrapper">
  1428. <pre><code class="lang-csharp hljs">public event Action&lt;ListViewItemEventArgs&gt; SelectedItemChanged</code></pre>
  1429. </div>
  1430. <h5 class="eventType">Event Type</h5>
  1431. <table class="table table-bordered table-striped table-condensed">
  1432. <thead>
  1433. <tr>
  1434. <th>Type</th>
  1435. <th>Description</th>
  1436. </tr>
  1437. </thead>
  1438. <tbody>
  1439. <tr>
  1440. <td><span class="xref">System.Action</span>&lt;<a class="xref" href="Terminal.Gui.ListViewItemEventArgs.html">ListViewItemEventArgs</a>&gt;</td>
  1441. <td></td>
  1442. </tr>
  1443. </tbody>
  1444. </table>
  1445. <h3 id="implements">Implements</h3>
  1446. <div>
  1447. <span class="xref">System.IDisposable</span>
  1448. </div>
  1449. <div>
  1450. <span class="xref">System.ComponentModel.ISupportInitializeNotification</span>
  1451. </div>
  1452. <div>
  1453. <span class="xref">System.ComponentModel.ISupportInitialize</span>
  1454. </div>
  1455. </article>
  1456. </div>
  1457. <div class="hidden-sm col-md-2" role="complementary">
  1458. <div class="sideaffix">
  1459. <div class="contribution">
  1460. <ul class="nav">
  1461. </ul>
  1462. </div>
  1463. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  1464. <h5>In This Article</h5>
  1465. <div></div>
  1466. </nav>
  1467. </div>
  1468. </div>
  1469. </div>
  1470. </div>
  1471. <footer>
  1472. <div class="grad-bottom"></div>
  1473. <div class="footer">
  1474. <div class="container">
  1475. <span class="pull-right">
  1476. <a href="#top">Back to top</a>
  1477. </span>
  1478. <span>Generated by <strong>DocFX</strong></span>
  1479. </div>
  1480. </div>
  1481. </footer>
  1482. </div>
  1483. <script type="text/javascript" src="../../styles/docfx.vendor.js"></script>
  1484. <script type="text/javascript" src="../../styles/docfx.js"></script>
  1485. <script type="text/javascript" src="../../styles/main.js"></script>
  1486. </body>
  1487. </html>