Terminal.Gui.ListView.html 61 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586
  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_VerticalTextAlignment">View.VerticalTextAlignment</a>
  342. </div>
  343. <div>
  344. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TextDirection">View.TextDirection</a>
  345. </div>
  346. <div>
  347. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_IsInitialized">View.IsInitialized</a>
  348. </div>
  349. <div>
  350. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ToString">View.ToString()</a>
  351. </div>
  352. <div>
  353. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseEnter_Terminal_Gui_MouseEvent_">View.OnMouseEnter(MouseEvent)</a>
  354. </div>
  355. <div>
  356. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseLeave_Terminal_Gui_MouseEvent_">View.OnMouseLeave(MouseEvent)</a>
  357. </div>
  358. <div>
  359. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseEvent_Terminal_Gui_MouseEvent_">View.OnMouseEvent(MouseEvent)</a>
  360. </div>
  361. <div>
  362. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseClick_Terminal_Gui_View_MouseEventArgs_">View.OnMouseClick(View.MouseEventArgs)</a>
  363. </div>
  364. <div>
  365. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Dispose_System_Boolean_">View.Dispose(Boolean)</a>
  366. </div>
  367. <div>
  368. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_BeginInit">View.BeginInit()</a>
  369. </div>
  370. <div>
  371. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_EndInit">View.EndInit()</a>
  372. </div>
  373. <div>
  374. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Visible">View.Visible</a>
  375. </div>
  376. <div>
  377. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetWidth_System_Int32_System_Int32__">View.SetWidth(Int32, Int32)</a>
  378. </div>
  379. <div>
  380. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetHeight_System_Int32_System_Int32__">View.SetHeight(Int32, Int32)</a>
  381. </div>
  382. <div>
  383. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetCurrentWidth_System_Int32__">View.GetCurrentWidth(Int32)</a>
  384. </div>
  385. <div>
  386. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetCurrentHeight_System_Int32__">View.GetCurrentHeight(Int32)</a>
  387. </div>
  388. <div>
  389. <a class="xref" href="Terminal.Gui.Responder.html#Terminal_Gui_Responder_Dispose">Responder.Dispose()</a>
  390. </div>
  391. <div>
  392. <span class="xref">System.Object.Equals(System.Object)</span>
  393. </div>
  394. <div>
  395. <span class="xref">System.Object.Equals(System.Object, System.Object)</span>
  396. </div>
  397. <div>
  398. <span class="xref">System.Object.GetHashCode()</span>
  399. </div>
  400. <div>
  401. <span class="xref">System.Object.GetType()</span>
  402. </div>
  403. <div>
  404. <span class="xref">System.Object.MemberwiseClone()</span>
  405. </div>
  406. <div>
  407. <span class="xref">System.Object.ReferenceEquals(System.Object, System.Object)</span>
  408. </div>
  409. </div>
  410. <h6><strong>Namespace</strong>: <a class="xref" href="Terminal.Gui.html">Terminal.Gui</a></h6>
  411. <h6><strong>Assembly</strong>: Terminal.Gui.dll</h6>
  412. <h5 id="Terminal_Gui_ListView_syntax">Syntax</h5>
  413. <div class="codewrapper">
  414. <pre><code class="lang-csharp hljs">public class ListView : View, IDisposable, ISupportInitializeNotification, ISupportInitialize</code></pre>
  415. </div>
  416. <h5 id="Terminal_Gui_ListView_remarks"><strong>Remarks</strong></h5>
  417. <div class="markdown level0 remarks">
  418. <p>
  419. The <a class="xref" href="Terminal.Gui.ListView.html">ListView</a> displays lists of data and allows the user to scroll through the data.
  420. Items in the can be activated firing an event (with the ENTER key or a mouse double-click).
  421. 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.
  422. </p>
  423. <p>
  424. 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
  425. <span class="xref">System.Collections.IList</span> object (e.g. arrays, <span class="xref">System.Collections.Generic.List&lt;T&gt;</span>,
  426. and other collections). Alternatively, an object that implements the <a class="xref" href="Terminal.Gui.IListDataSource.html">IListDataSource</a>
  427. interface can be provided giving full control of what is rendered.
  428. </p>
  429. <p>
  430. <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.
  431. <span class="xref">System.String</span> values are converted into <span class="xref">NStack.ustring</span> values before rendering, and other values are
  432. 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> .
  433. </p>
  434. <p>
  435. 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
  436. 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>
  437. an <span class="xref">System.Collections.IList</span> is being used.
  438. </p>
  439. <p>
  440. 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
  441. [x] or [ ] and bind the SPACE key to toggle the selection. To implement a different
  442. marking style set <a class="xref" href="Terminal.Gui.ListView.html#Terminal_Gui_ListView_AllowsMarking">AllowsMarking</a> to false and implement custom rendering.
  443. </p>
  444. </div>
  445. <h3 id="constructors">Constructors
  446. </h3>
  447. <a id="Terminal_Gui_ListView__ctor_" data-uid="Terminal.Gui.ListView.#ctor*"></a>
  448. <h4 id="Terminal_Gui_ListView__ctor" data-uid="Terminal.Gui.ListView.#ctor">ListView()</h4>
  449. <div class="markdown level1 summary">
  450. 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.
  451. </div>
  452. <div class="markdown level1 conceptual"></div>
  453. <h5 class="decalaration">Declaration</h5>
  454. <div class="codewrapper">
  455. <pre><code class="lang-csharp hljs">public ListView()</code></pre>
  456. </div>
  457. <a id="Terminal_Gui_ListView__ctor_" data-uid="Terminal.Gui.ListView.#ctor*"></a>
  458. <h4 id="Terminal_Gui_ListView__ctor_System_Collections_IList_" data-uid="Terminal.Gui.ListView.#ctor(System.Collections.IList)">ListView(IList)</h4>
  459. <div class="markdown level1 summary">
  460. 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,
  461. with relative positioning.
  462. </div>
  463. <div class="markdown level1 conceptual"></div>
  464. <h5 class="decalaration">Declaration</h5>
  465. <div class="codewrapper">
  466. <pre><code class="lang-csharp hljs">public ListView(IList source)</code></pre>
  467. </div>
  468. <h5 class="parameters">Parameters</h5>
  469. <table class="table table-bordered table-striped table-condensed">
  470. <thead>
  471. <tr>
  472. <th>Type</th>
  473. <th>Name</th>
  474. <th>Description</th>
  475. </tr>
  476. </thead>
  477. <tbody>
  478. <tr>
  479. <td><span class="xref">System.Collections.IList</span></td>
  480. <td><span class="parametername">source</span></td>
  481. <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>
  482. </tr>
  483. </tbody>
  484. </table>
  485. <a id="Terminal_Gui_ListView__ctor_" data-uid="Terminal.Gui.ListView.#ctor*"></a>
  486. <h4 id="Terminal_Gui_ListView__ctor_Terminal_Gui_IListDataSource_" data-uid="Terminal.Gui.ListView.#ctor(Terminal.Gui.IListDataSource)">ListView(IListDataSource)</h4>
  487. <div class="markdown level1 summary">
  488. 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.
  489. </div>
  490. <div class="markdown level1 conceptual"></div>
  491. <h5 class="decalaration">Declaration</h5>
  492. <div class="codewrapper">
  493. <pre><code class="lang-csharp hljs">public ListView(IListDataSource source)</code></pre>
  494. </div>
  495. <h5 class="parameters">Parameters</h5>
  496. <table class="table table-bordered table-striped table-condensed">
  497. <thead>
  498. <tr>
  499. <th>Type</th>
  500. <th>Name</th>
  501. <th>Description</th>
  502. </tr>
  503. </thead>
  504. <tbody>
  505. <tr>
  506. <td><a class="xref" href="Terminal.Gui.IListDataSource.html">IListDataSource</a></td>
  507. <td><span class="parametername">source</span></td>
  508. <td><a class="xref" href="Terminal.Gui.IListDataSource.html">IListDataSource</a> object that provides a mechanism to render the data.
  509. The number of elements on the collection should not change, if you must change, set
  510. the &quot;Source&quot; property to reset the internal settings of the ListView.</td>
  511. </tr>
  512. </tbody>
  513. </table>
  514. <a id="Terminal_Gui_ListView__ctor_" data-uid="Terminal.Gui.ListView.#ctor*"></a>
  515. <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>
  516. <div class="markdown level1 summary">
  517. 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.
  518. </div>
  519. <div class="markdown level1 conceptual"></div>
  520. <h5 class="decalaration">Declaration</h5>
  521. <div class="codewrapper">
  522. <pre><code class="lang-csharp hljs">public ListView(Rect rect, IList source)</code></pre>
  523. </div>
  524. <h5 class="parameters">Parameters</h5>
  525. <table class="table table-bordered table-striped table-condensed">
  526. <thead>
  527. <tr>
  528. <th>Type</th>
  529. <th>Name</th>
  530. <th>Description</th>
  531. </tr>
  532. </thead>
  533. <tbody>
  534. <tr>
  535. <td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
  536. <td><span class="parametername">rect</span></td>
  537. <td>Frame for the listview.</td>
  538. </tr>
  539. <tr>
  540. <td><span class="xref">System.Collections.IList</span></td>
  541. <td><span class="parametername">source</span></td>
  542. <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>
  543. </tr>
  544. </tbody>
  545. </table>
  546. <a id="Terminal_Gui_ListView__ctor_" data-uid="Terminal.Gui.ListView.#ctor*"></a>
  547. <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>
  548. <div class="markdown level1 summary">
  549. Initializes a new instance of <a class="xref" href="Terminal.Gui.ListView.html">ListView</a> with the provided data source and an absolute position
  550. </div>
  551. <div class="markdown level1 conceptual"></div>
  552. <h5 class="decalaration">Declaration</h5>
  553. <div class="codewrapper">
  554. <pre><code class="lang-csharp hljs">public ListView(Rect rect, IListDataSource source)</code></pre>
  555. </div>
  556. <h5 class="parameters">Parameters</h5>
  557. <table class="table table-bordered table-striped table-condensed">
  558. <thead>
  559. <tr>
  560. <th>Type</th>
  561. <th>Name</th>
  562. <th>Description</th>
  563. </tr>
  564. </thead>
  565. <tbody>
  566. <tr>
  567. <td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
  568. <td><span class="parametername">rect</span></td>
  569. <td>Frame for the listview.</td>
  570. </tr>
  571. <tr>
  572. <td><a class="xref" href="Terminal.Gui.IListDataSource.html">IListDataSource</a></td>
  573. <td><span class="parametername">source</span></td>
  574. <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>
  575. </tr>
  576. </tbody>
  577. </table>
  578. <h3 id="properties">Properties
  579. </h3>
  580. <a id="Terminal_Gui_ListView_AllowsMarking_" data-uid="Terminal.Gui.ListView.AllowsMarking*"></a>
  581. <h4 id="Terminal_Gui_ListView_AllowsMarking" data-uid="Terminal.Gui.ListView.AllowsMarking">AllowsMarking</h4>
  582. <div class="markdown level1 summary">
  583. Gets or sets whether this <a class="xref" href="Terminal.Gui.ListView.html">ListView</a> allows items to be marked.
  584. </div>
  585. <div class="markdown level1 conceptual"></div>
  586. <h5 class="decalaration">Declaration</h5>
  587. <div class="codewrapper">
  588. <pre><code class="lang-csharp hljs">public bool AllowsMarking { get; set; }</code></pre>
  589. </div>
  590. <h5 class="propertyValue">Property Value</h5>
  591. <table class="table table-bordered table-striped table-condensed">
  592. <thead>
  593. <tr>
  594. <th>Type</th>
  595. <th>Description</th>
  596. </tr>
  597. </thead>
  598. <tbody>
  599. <tr>
  600. <td><span class="xref">System.Boolean</span></td>
  601. <td><code>true</code> if allows marking elements of the list; otherwise, <code>false</code>.
  602. </td>
  603. </tr>
  604. </tbody>
  605. </table>
  606. <h5 id="Terminal_Gui_ListView_AllowsMarking_remarks">Remarks</h5>
  607. <div class="markdown level1 remarks">
  608. 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;
  609. spaces. SPACE key will toggle marking.
  610. </div>
  611. <a id="Terminal_Gui_ListView_AllowsMultipleSelection_" data-uid="Terminal.Gui.ListView.AllowsMultipleSelection*"></a>
  612. <h4 id="Terminal_Gui_ListView_AllowsMultipleSelection" data-uid="Terminal.Gui.ListView.AllowsMultipleSelection">AllowsMultipleSelection</h4>
  613. <div class="markdown level1 summary">
  614. If set to true allows more than one item to be selected. If false only allow one item selected.
  615. </div>
  616. <div class="markdown level1 conceptual"></div>
  617. <h5 class="decalaration">Declaration</h5>
  618. <div class="codewrapper">
  619. <pre><code class="lang-csharp hljs">public bool AllowsMultipleSelection { get; set; }</code></pre>
  620. </div>
  621. <h5 class="propertyValue">Property Value</h5>
  622. <table class="table table-bordered table-striped table-condensed">
  623. <thead>
  624. <tr>
  625. <th>Type</th>
  626. <th>Description</th>
  627. </tr>
  628. </thead>
  629. <tbody>
  630. <tr>
  631. <td><span class="xref">System.Boolean</span></td>
  632. <td></td>
  633. </tr>
  634. </tbody>
  635. </table>
  636. <a id="Terminal_Gui_ListView_LeftItem_" data-uid="Terminal.Gui.ListView.LeftItem*"></a>
  637. <h4 id="Terminal_Gui_ListView_LeftItem" data-uid="Terminal.Gui.ListView.LeftItem">LeftItem</h4>
  638. <div class="markdown level1 summary">
  639. 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>.
  640. </div>
  641. <div class="markdown level1 conceptual"></div>
  642. <h5 class="decalaration">Declaration</h5>
  643. <div class="codewrapper">
  644. <pre><code class="lang-csharp hljs">public int LeftItem { get; set; }</code></pre>
  645. </div>
  646. <h5 class="propertyValue">Property Value</h5>
  647. <table class="table table-bordered table-striped table-condensed">
  648. <thead>
  649. <tr>
  650. <th>Type</th>
  651. <th>Description</th>
  652. </tr>
  653. </thead>
  654. <tbody>
  655. <tr>
  656. <td><span class="xref">System.Int32</span></td>
  657. <td>The left position.</td>
  658. </tr>
  659. </tbody>
  660. </table>
  661. <a id="Terminal_Gui_ListView_Maxlength_" data-uid="Terminal.Gui.ListView.Maxlength*"></a>
  662. <h4 id="Terminal_Gui_ListView_Maxlength" data-uid="Terminal.Gui.ListView.Maxlength">Maxlength</h4>
  663. <div class="markdown level1 summary">
  664. Gets the widest item.
  665. </div>
  666. <div class="markdown level1 conceptual"></div>
  667. <h5 class="decalaration">Declaration</h5>
  668. <div class="codewrapper">
  669. <pre><code class="lang-csharp hljs">public int Maxlength { get; }</code></pre>
  670. </div>
  671. <h5 class="propertyValue">Property Value</h5>
  672. <table class="table table-bordered table-striped table-condensed">
  673. <thead>
  674. <tr>
  675. <th>Type</th>
  676. <th>Description</th>
  677. </tr>
  678. </thead>
  679. <tbody>
  680. <tr>
  681. <td><span class="xref">System.Int32</span></td>
  682. <td></td>
  683. </tr>
  684. </tbody>
  685. </table>
  686. <a id="Terminal_Gui_ListView_SelectedItem_" data-uid="Terminal.Gui.ListView.SelectedItem*"></a>
  687. <h4 id="Terminal_Gui_ListView_SelectedItem" data-uid="Terminal.Gui.ListView.SelectedItem">SelectedItem</h4>
  688. <div class="markdown level1 summary">
  689. Gets or sets the index of the currently selected item.
  690. </div>
  691. <div class="markdown level1 conceptual"></div>
  692. <h5 class="decalaration">Declaration</h5>
  693. <div class="codewrapper">
  694. <pre><code class="lang-csharp hljs">public int SelectedItem { get; set; }</code></pre>
  695. </div>
  696. <h5 class="propertyValue">Property Value</h5>
  697. <table class="table table-bordered table-striped table-condensed">
  698. <thead>
  699. <tr>
  700. <th>Type</th>
  701. <th>Description</th>
  702. </tr>
  703. </thead>
  704. <tbody>
  705. <tr>
  706. <td><span class="xref">System.Int32</span></td>
  707. <td>The selected item.</td>
  708. </tr>
  709. </tbody>
  710. </table>
  711. <a id="Terminal_Gui_ListView_Source_" data-uid="Terminal.Gui.ListView.Source*"></a>
  712. <h4 id="Terminal_Gui_ListView_Source" data-uid="Terminal.Gui.ListView.Source">Source</h4>
  713. <div class="markdown level1 summary">
  714. 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.
  715. </div>
  716. <div class="markdown level1 conceptual"></div>
  717. <h5 class="decalaration">Declaration</h5>
  718. <div class="codewrapper">
  719. <pre><code class="lang-csharp hljs">public IListDataSource Source { get; set; }</code></pre>
  720. </div>
  721. <h5 class="propertyValue">Property Value</h5>
  722. <table class="table table-bordered table-striped table-condensed">
  723. <thead>
  724. <tr>
  725. <th>Type</th>
  726. <th>Description</th>
  727. </tr>
  728. </thead>
  729. <tbody>
  730. <tr>
  731. <td><a class="xref" href="Terminal.Gui.IListDataSource.html">IListDataSource</a></td>
  732. <td>The source.</td>
  733. </tr>
  734. </tbody>
  735. </table>
  736. <h5 id="Terminal_Gui_ListView_Source_remarks">Remarks</h5>
  737. <div class="markdown level1 remarks">
  738. 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.
  739. </div>
  740. <a id="Terminal_Gui_ListView_TopItem_" data-uid="Terminal.Gui.ListView.TopItem*"></a>
  741. <h4 id="Terminal_Gui_ListView_TopItem" data-uid="Terminal.Gui.ListView.TopItem">TopItem</h4>
  742. <div class="markdown level1 summary">
  743. Gets or sets the item that is displayed at the top of the <a class="xref" href="Terminal.Gui.ListView.html">ListView</a>.
  744. </div>
  745. <div class="markdown level1 conceptual"></div>
  746. <h5 class="decalaration">Declaration</h5>
  747. <div class="codewrapper">
  748. <pre><code class="lang-csharp hljs">public int TopItem { get; set; }</code></pre>
  749. </div>
  750. <h5 class="propertyValue">Property Value</h5>
  751. <table class="table table-bordered table-striped table-condensed">
  752. <thead>
  753. <tr>
  754. <th>Type</th>
  755. <th>Description</th>
  756. </tr>
  757. </thead>
  758. <tbody>
  759. <tr>
  760. <td><span class="xref">System.Int32</span></td>
  761. <td>The top item.</td>
  762. </tr>
  763. </tbody>
  764. </table>
  765. <h3 id="methods">Methods
  766. </h3>
  767. <a id="Terminal_Gui_ListView_AllowsAll_" data-uid="Terminal.Gui.ListView.AllowsAll*"></a>
  768. <h4 id="Terminal_Gui_ListView_AllowsAll" data-uid="Terminal.Gui.ListView.AllowsAll">AllowsAll()</h4>
  769. <div class="markdown level1 summary">
  770. Prevents marking if it&apos;s not allowed mark and if it&apos;s not allows multiple selection.
  771. </div>
  772. <div class="markdown level1 conceptual"></div>
  773. <h5 class="decalaration">Declaration</h5>
  774. <div class="codewrapper">
  775. <pre><code class="lang-csharp hljs">public virtual bool AllowsAll()</code></pre>
  776. </div>
  777. <h5 class="returns">Returns</h5>
  778. <table class="table table-bordered table-striped table-condensed">
  779. <thead>
  780. <tr>
  781. <th>Type</th>
  782. <th>Description</th>
  783. </tr>
  784. </thead>
  785. <tbody>
  786. <tr>
  787. <td><span class="xref">System.Boolean</span></td>
  788. <td></td>
  789. </tr>
  790. </tbody>
  791. </table>
  792. <a id="Terminal_Gui_ListView_MarkUnmarkRow_" data-uid="Terminal.Gui.ListView.MarkUnmarkRow*"></a>
  793. <h4 id="Terminal_Gui_ListView_MarkUnmarkRow" data-uid="Terminal.Gui.ListView.MarkUnmarkRow">MarkUnmarkRow()</h4>
  794. <div class="markdown level1 summary">
  795. Marks an unmarked row.
  796. </div>
  797. <div class="markdown level1 conceptual"></div>
  798. <h5 class="decalaration">Declaration</h5>
  799. <div class="codewrapper">
  800. <pre><code class="lang-csharp hljs">public virtual bool MarkUnmarkRow()</code></pre>
  801. </div>
  802. <h5 class="returns">Returns</h5>
  803. <table class="table table-bordered table-striped table-condensed">
  804. <thead>
  805. <tr>
  806. <th>Type</th>
  807. <th>Description</th>
  808. </tr>
  809. </thead>
  810. <tbody>
  811. <tr>
  812. <td><span class="xref">System.Boolean</span></td>
  813. <td></td>
  814. </tr>
  815. </tbody>
  816. </table>
  817. <a id="Terminal_Gui_ListView_MouseEvent_" data-uid="Terminal.Gui.ListView.MouseEvent*"></a>
  818. <h4 id="Terminal_Gui_ListView_MouseEvent_Terminal_Gui_MouseEvent_" data-uid="Terminal.Gui.ListView.MouseEvent(Terminal.Gui.MouseEvent)">MouseEvent(MouseEvent)</h4>
  819. <div class="markdown level1 summary"></div>
  820. <div class="markdown level1 conceptual"></div>
  821. <h5 class="decalaration">Declaration</h5>
  822. <div class="codewrapper">
  823. <pre><code class="lang-csharp hljs">public override bool MouseEvent(MouseEvent me)</code></pre>
  824. </div>
  825. <h5 class="parameters">Parameters</h5>
  826. <table class="table table-bordered table-striped table-condensed">
  827. <thead>
  828. <tr>
  829. <th>Type</th>
  830. <th>Name</th>
  831. <th>Description</th>
  832. </tr>
  833. </thead>
  834. <tbody>
  835. <tr>
  836. <td><a class="xref" href="Terminal.Gui.MouseEvent.html">MouseEvent</a></td>
  837. <td><span class="parametername">me</span></td>
  838. <td></td>
  839. </tr>
  840. </tbody>
  841. </table>
  842. <h5 class="returns">Returns</h5>
  843. <table class="table table-bordered table-striped table-condensed">
  844. <thead>
  845. <tr>
  846. <th>Type</th>
  847. <th>Description</th>
  848. </tr>
  849. </thead>
  850. <tbody>
  851. <tr>
  852. <td><span class="xref">System.Boolean</span></td>
  853. <td></td>
  854. </tr>
  855. </tbody>
  856. </table>
  857. <h5 class="overrides">Overrides</h5>
  858. <div><a class="xref" href="Terminal.Gui.Responder.html#Terminal_Gui_Responder_MouseEvent_Terminal_Gui_MouseEvent_">Responder.MouseEvent(MouseEvent)</a></div>
  859. <a id="Terminal_Gui_ListView_MoveDown_" data-uid="Terminal.Gui.ListView.MoveDown*"></a>
  860. <h4 id="Terminal_Gui_ListView_MoveDown" data-uid="Terminal.Gui.ListView.MoveDown">MoveDown()</h4>
  861. <div class="markdown level1 summary">
  862. Moves the selected item index to the next row.
  863. </div>
  864. <div class="markdown level1 conceptual"></div>
  865. <h5 class="decalaration">Declaration</h5>
  866. <div class="codewrapper">
  867. <pre><code class="lang-csharp hljs">public virtual bool MoveDown()</code></pre>
  868. </div>
  869. <h5 class="returns">Returns</h5>
  870. <table class="table table-bordered table-striped table-condensed">
  871. <thead>
  872. <tr>
  873. <th>Type</th>
  874. <th>Description</th>
  875. </tr>
  876. </thead>
  877. <tbody>
  878. <tr>
  879. <td><span class="xref">System.Boolean</span></td>
  880. <td></td>
  881. </tr>
  882. </tbody>
  883. </table>
  884. <a id="Terminal_Gui_ListView_MoveEnd_" data-uid="Terminal.Gui.ListView.MoveEnd*"></a>
  885. <h4 id="Terminal_Gui_ListView_MoveEnd" data-uid="Terminal.Gui.ListView.MoveEnd">MoveEnd()</h4>
  886. <div class="markdown level1 summary">
  887. Moves the selected item index to the last row.
  888. </div>
  889. <div class="markdown level1 conceptual"></div>
  890. <h5 class="decalaration">Declaration</h5>
  891. <div class="codewrapper">
  892. <pre><code class="lang-csharp hljs">public virtual bool MoveEnd()</code></pre>
  893. </div>
  894. <h5 class="returns">Returns</h5>
  895. <table class="table table-bordered table-striped table-condensed">
  896. <thead>
  897. <tr>
  898. <th>Type</th>
  899. <th>Description</th>
  900. </tr>
  901. </thead>
  902. <tbody>
  903. <tr>
  904. <td><span class="xref">System.Boolean</span></td>
  905. <td></td>
  906. </tr>
  907. </tbody>
  908. </table>
  909. <a id="Terminal_Gui_ListView_MoveHome_" data-uid="Terminal.Gui.ListView.MoveHome*"></a>
  910. <h4 id="Terminal_Gui_ListView_MoveHome" data-uid="Terminal.Gui.ListView.MoveHome">MoveHome()</h4>
  911. <div class="markdown level1 summary">
  912. Moves the selected item index to the first row.
  913. </div>
  914. <div class="markdown level1 conceptual"></div>
  915. <h5 class="decalaration">Declaration</h5>
  916. <div class="codewrapper">
  917. <pre><code class="lang-csharp hljs">public virtual bool MoveHome()</code></pre>
  918. </div>
  919. <h5 class="returns">Returns</h5>
  920. <table class="table table-bordered table-striped table-condensed">
  921. <thead>
  922. <tr>
  923. <th>Type</th>
  924. <th>Description</th>
  925. </tr>
  926. </thead>
  927. <tbody>
  928. <tr>
  929. <td><span class="xref">System.Boolean</span></td>
  930. <td></td>
  931. </tr>
  932. </tbody>
  933. </table>
  934. <a id="Terminal_Gui_ListView_MovePageDown_" data-uid="Terminal.Gui.ListView.MovePageDown*"></a>
  935. <h4 id="Terminal_Gui_ListView_MovePageDown" data-uid="Terminal.Gui.ListView.MovePageDown">MovePageDown()</h4>
  936. <div class="markdown level1 summary">
  937. Moves the selected item index to the previous page.
  938. </div>
  939. <div class="markdown level1 conceptual"></div>
  940. <h5 class="decalaration">Declaration</h5>
  941. <div class="codewrapper">
  942. <pre><code class="lang-csharp hljs">public virtual bool MovePageDown()</code></pre>
  943. </div>
  944. <h5 class="returns">Returns</h5>
  945. <table class="table table-bordered table-striped table-condensed">
  946. <thead>
  947. <tr>
  948. <th>Type</th>
  949. <th>Description</th>
  950. </tr>
  951. </thead>
  952. <tbody>
  953. <tr>
  954. <td><span class="xref">System.Boolean</span></td>
  955. <td></td>
  956. </tr>
  957. </tbody>
  958. </table>
  959. <a id="Terminal_Gui_ListView_MovePageUp_" data-uid="Terminal.Gui.ListView.MovePageUp*"></a>
  960. <h4 id="Terminal_Gui_ListView_MovePageUp" data-uid="Terminal.Gui.ListView.MovePageUp">MovePageUp()</h4>
  961. <div class="markdown level1 summary">
  962. Moves the selected item index to the next page.
  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 virtual bool MovePageUp()</code></pre>
  968. </div>
  969. <h5 class="returns">Returns</h5>
  970. <table class="table table-bordered table-striped table-condensed">
  971. <thead>
  972. <tr>
  973. <th>Type</th>
  974. <th>Description</th>
  975. </tr>
  976. </thead>
  977. <tbody>
  978. <tr>
  979. <td><span class="xref">System.Boolean</span></td>
  980. <td></td>
  981. </tr>
  982. </tbody>
  983. </table>
  984. <a id="Terminal_Gui_ListView_MoveUp_" data-uid="Terminal.Gui.ListView.MoveUp*"></a>
  985. <h4 id="Terminal_Gui_ListView_MoveUp" data-uid="Terminal.Gui.ListView.MoveUp">MoveUp()</h4>
  986. <div class="markdown level1 summary">
  987. Moves the selected item index to the previous row.
  988. </div>
  989. <div class="markdown level1 conceptual"></div>
  990. <h5 class="decalaration">Declaration</h5>
  991. <div class="codewrapper">
  992. <pre><code class="lang-csharp hljs">public virtual bool MoveUp()</code></pre>
  993. </div>
  994. <h5 class="returns">Returns</h5>
  995. <table class="table table-bordered table-striped table-condensed">
  996. <thead>
  997. <tr>
  998. <th>Type</th>
  999. <th>Description</th>
  1000. </tr>
  1001. </thead>
  1002. <tbody>
  1003. <tr>
  1004. <td><span class="xref">System.Boolean</span></td>
  1005. <td></td>
  1006. </tr>
  1007. </tbody>
  1008. </table>
  1009. <a id="Terminal_Gui_ListView_OnEnter_" data-uid="Terminal.Gui.ListView.OnEnter*"></a>
  1010. <h4 id="Terminal_Gui_ListView_OnEnter_Terminal_Gui_View_" data-uid="Terminal.Gui.ListView.OnEnter(Terminal.Gui.View)">OnEnter(View)</h4>
  1011. <div class="markdown level1 summary"></div>
  1012. <div class="markdown level1 conceptual"></div>
  1013. <h5 class="decalaration">Declaration</h5>
  1014. <div class="codewrapper">
  1015. <pre><code class="lang-csharp hljs">public override bool OnEnter(View view)</code></pre>
  1016. </div>
  1017. <h5 class="parameters">Parameters</h5>
  1018. <table class="table table-bordered table-striped table-condensed">
  1019. <thead>
  1020. <tr>
  1021. <th>Type</th>
  1022. <th>Name</th>
  1023. <th>Description</th>
  1024. </tr>
  1025. </thead>
  1026. <tbody>
  1027. <tr>
  1028. <td><a class="xref" href="Terminal.Gui.View.html">View</a></td>
  1029. <td><span class="parametername">view</span></td>
  1030. <td></td>
  1031. </tr>
  1032. </tbody>
  1033. </table>
  1034. <h5 class="returns">Returns</h5>
  1035. <table class="table table-bordered table-striped table-condensed">
  1036. <thead>
  1037. <tr>
  1038. <th>Type</th>
  1039. <th>Description</th>
  1040. </tr>
  1041. </thead>
  1042. <tbody>
  1043. <tr>
  1044. <td><span class="xref">System.Boolean</span></td>
  1045. <td></td>
  1046. </tr>
  1047. </tbody>
  1048. </table>
  1049. <h5 class="overrides">Overrides</h5>
  1050. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnEnter_Terminal_Gui_View_">View.OnEnter(View)</a></div>
  1051. <a id="Terminal_Gui_ListView_OnLeave_" data-uid="Terminal.Gui.ListView.OnLeave*"></a>
  1052. <h4 id="Terminal_Gui_ListView_OnLeave_Terminal_Gui_View_" data-uid="Terminal.Gui.ListView.OnLeave(Terminal.Gui.View)">OnLeave(View)</h4>
  1053. <div class="markdown level1 summary"></div>
  1054. <div class="markdown level1 conceptual"></div>
  1055. <h5 class="decalaration">Declaration</h5>
  1056. <div class="codewrapper">
  1057. <pre><code class="lang-csharp hljs">public override bool OnLeave(View view)</code></pre>
  1058. </div>
  1059. <h5 class="parameters">Parameters</h5>
  1060. <table class="table table-bordered table-striped table-condensed">
  1061. <thead>
  1062. <tr>
  1063. <th>Type</th>
  1064. <th>Name</th>
  1065. <th>Description</th>
  1066. </tr>
  1067. </thead>
  1068. <tbody>
  1069. <tr>
  1070. <td><a class="xref" href="Terminal.Gui.View.html">View</a></td>
  1071. <td><span class="parametername">view</span></td>
  1072. <td></td>
  1073. </tr>
  1074. </tbody>
  1075. </table>
  1076. <h5 class="returns">Returns</h5>
  1077. <table class="table table-bordered table-striped table-condensed">
  1078. <thead>
  1079. <tr>
  1080. <th>Type</th>
  1081. <th>Description</th>
  1082. </tr>
  1083. </thead>
  1084. <tbody>
  1085. <tr>
  1086. <td><span class="xref">System.Boolean</span></td>
  1087. <td></td>
  1088. </tr>
  1089. </tbody>
  1090. </table>
  1091. <h5 class="overrides">Overrides</h5>
  1092. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnLeave_Terminal_Gui_View_">View.OnLeave(View)</a></div>
  1093. <a id="Terminal_Gui_ListView_OnOpenSelectedItem_" data-uid="Terminal.Gui.ListView.OnOpenSelectedItem*"></a>
  1094. <h4 id="Terminal_Gui_ListView_OnOpenSelectedItem" data-uid="Terminal.Gui.ListView.OnOpenSelectedItem">OnOpenSelectedItem()</h4>
  1095. <div class="markdown level1 summary">
  1096. Invokes the OnOpenSelectedItem event if it is defined.
  1097. </div>
  1098. <div class="markdown level1 conceptual"></div>
  1099. <h5 class="decalaration">Declaration</h5>
  1100. <div class="codewrapper">
  1101. <pre><code class="lang-csharp hljs">public virtual bool OnOpenSelectedItem()</code></pre>
  1102. </div>
  1103. <h5 class="returns">Returns</h5>
  1104. <table class="table table-bordered table-striped table-condensed">
  1105. <thead>
  1106. <tr>
  1107. <th>Type</th>
  1108. <th>Description</th>
  1109. </tr>
  1110. </thead>
  1111. <tbody>
  1112. <tr>
  1113. <td><span class="xref">System.Boolean</span></td>
  1114. <td></td>
  1115. </tr>
  1116. </tbody>
  1117. </table>
  1118. <a id="Terminal_Gui_ListView_OnSelectedChanged_" data-uid="Terminal.Gui.ListView.OnSelectedChanged*"></a>
  1119. <h4 id="Terminal_Gui_ListView_OnSelectedChanged" data-uid="Terminal.Gui.ListView.OnSelectedChanged">OnSelectedChanged()</h4>
  1120. <div class="markdown level1 summary">
  1121. Invokes the SelectedChanged event if it is defined.
  1122. </div>
  1123. <div class="markdown level1 conceptual"></div>
  1124. <h5 class="decalaration">Declaration</h5>
  1125. <div class="codewrapper">
  1126. <pre><code class="lang-csharp hljs">public virtual bool OnSelectedChanged()</code></pre>
  1127. </div>
  1128. <h5 class="returns">Returns</h5>
  1129. <table class="table table-bordered table-striped table-condensed">
  1130. <thead>
  1131. <tr>
  1132. <th>Type</th>
  1133. <th>Description</th>
  1134. </tr>
  1135. </thead>
  1136. <tbody>
  1137. <tr>
  1138. <td><span class="xref">System.Boolean</span></td>
  1139. <td></td>
  1140. </tr>
  1141. </tbody>
  1142. </table>
  1143. <a id="Terminal_Gui_ListView_PositionCursor_" data-uid="Terminal.Gui.ListView.PositionCursor*"></a>
  1144. <h4 id="Terminal_Gui_ListView_PositionCursor" data-uid="Terminal.Gui.ListView.PositionCursor">PositionCursor()</h4>
  1145. <div class="markdown level1 summary"></div>
  1146. <div class="markdown level1 conceptual"></div>
  1147. <h5 class="decalaration">Declaration</h5>
  1148. <div class="codewrapper">
  1149. <pre><code class="lang-csharp hljs">public override void PositionCursor()</code></pre>
  1150. </div>
  1151. <h5 class="overrides">Overrides</h5>
  1152. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_PositionCursor">View.PositionCursor()</a></div>
  1153. <a id="Terminal_Gui_ListView_ProcessKey_" data-uid="Terminal.Gui.ListView.ProcessKey*"></a>
  1154. <h4 id="Terminal_Gui_ListView_ProcessKey_Terminal_Gui_KeyEvent_" data-uid="Terminal.Gui.ListView.ProcessKey(Terminal.Gui.KeyEvent)">ProcessKey(KeyEvent)</h4>
  1155. <div class="markdown level1 summary"></div>
  1156. <div class="markdown level1 conceptual"></div>
  1157. <h5 class="decalaration">Declaration</h5>
  1158. <div class="codewrapper">
  1159. <pre><code class="lang-csharp hljs">public override bool ProcessKey(KeyEvent kb)</code></pre>
  1160. </div>
  1161. <h5 class="parameters">Parameters</h5>
  1162. <table class="table table-bordered table-striped table-condensed">
  1163. <thead>
  1164. <tr>
  1165. <th>Type</th>
  1166. <th>Name</th>
  1167. <th>Description</th>
  1168. </tr>
  1169. </thead>
  1170. <tbody>
  1171. <tr>
  1172. <td><a class="xref" href="Terminal.Gui.KeyEvent.html">KeyEvent</a></td>
  1173. <td><span class="parametername">kb</span></td>
  1174. <td></td>
  1175. </tr>
  1176. </tbody>
  1177. </table>
  1178. <h5 class="returns">Returns</h5>
  1179. <table class="table table-bordered table-striped table-condensed">
  1180. <thead>
  1181. <tr>
  1182. <th>Type</th>
  1183. <th>Description</th>
  1184. </tr>
  1185. </thead>
  1186. <tbody>
  1187. <tr>
  1188. <td><span class="xref">System.Boolean</span></td>
  1189. <td></td>
  1190. </tr>
  1191. </tbody>
  1192. </table>
  1193. <h5 class="overrides">Overrides</h5>
  1194. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ProcessKey_Terminal_Gui_KeyEvent_">View.ProcessKey(KeyEvent)</a></div>
  1195. <a id="Terminal_Gui_ListView_Redraw_" data-uid="Terminal.Gui.ListView.Redraw*"></a>
  1196. <h4 id="Terminal_Gui_ListView_Redraw_Terminal_Gui_Rect_" data-uid="Terminal.Gui.ListView.Redraw(Terminal.Gui.Rect)">Redraw(Rect)</h4>
  1197. <div class="markdown level1 summary"></div>
  1198. <div class="markdown level1 conceptual"></div>
  1199. <h5 class="decalaration">Declaration</h5>
  1200. <div class="codewrapper">
  1201. <pre><code class="lang-csharp hljs">public override void Redraw(Rect bounds)</code></pre>
  1202. </div>
  1203. <h5 class="parameters">Parameters</h5>
  1204. <table class="table table-bordered table-striped table-condensed">
  1205. <thead>
  1206. <tr>
  1207. <th>Type</th>
  1208. <th>Name</th>
  1209. <th>Description</th>
  1210. </tr>
  1211. </thead>
  1212. <tbody>
  1213. <tr>
  1214. <td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
  1215. <td><span class="parametername">bounds</span></td>
  1216. <td></td>
  1217. </tr>
  1218. </tbody>
  1219. </table>
  1220. <h5 class="overrides">Overrides</h5>
  1221. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Redraw_Terminal_Gui_Rect_">View.Redraw(Rect)</a></div>
  1222. <a id="Terminal_Gui_ListView_ScrollDown_" data-uid="Terminal.Gui.ListView.ScrollDown*"></a>
  1223. <h4 id="Terminal_Gui_ListView_ScrollDown_System_Int32_" data-uid="Terminal.Gui.ListView.ScrollDown(System.Int32)">ScrollDown(Int32)</h4>
  1224. <div class="markdown level1 summary">
  1225. Scrolls the view down.
  1226. </div>
  1227. <div class="markdown level1 conceptual"></div>
  1228. <h5 class="decalaration">Declaration</h5>
  1229. <div class="codewrapper">
  1230. <pre><code class="lang-csharp hljs">public virtual void ScrollDown(int lines)</code></pre>
  1231. </div>
  1232. <h5 class="parameters">Parameters</h5>
  1233. <table class="table table-bordered table-striped table-condensed">
  1234. <thead>
  1235. <tr>
  1236. <th>Type</th>
  1237. <th>Name</th>
  1238. <th>Description</th>
  1239. </tr>
  1240. </thead>
  1241. <tbody>
  1242. <tr>
  1243. <td><span class="xref">System.Int32</span></td>
  1244. <td><span class="parametername">lines</span></td>
  1245. <td>Number of lines to scroll down.</td>
  1246. </tr>
  1247. </tbody>
  1248. </table>
  1249. <a id="Terminal_Gui_ListView_ScrollLeft_" data-uid="Terminal.Gui.ListView.ScrollLeft*"></a>
  1250. <h4 id="Terminal_Gui_ListView_ScrollLeft_System_Int32_" data-uid="Terminal.Gui.ListView.ScrollLeft(System.Int32)">ScrollLeft(Int32)</h4>
  1251. <div class="markdown level1 summary">
  1252. Scrolls the view left.
  1253. </div>
  1254. <div class="markdown level1 conceptual"></div>
  1255. <h5 class="decalaration">Declaration</h5>
  1256. <div class="codewrapper">
  1257. <pre><code class="lang-csharp hljs">public virtual void ScrollLeft(int cols)</code></pre>
  1258. </div>
  1259. <h5 class="parameters">Parameters</h5>
  1260. <table class="table table-bordered table-striped table-condensed">
  1261. <thead>
  1262. <tr>
  1263. <th>Type</th>
  1264. <th>Name</th>
  1265. <th>Description</th>
  1266. </tr>
  1267. </thead>
  1268. <tbody>
  1269. <tr>
  1270. <td><span class="xref">System.Int32</span></td>
  1271. <td><span class="parametername">cols</span></td>
  1272. <td>Number of columns to scroll left.</td>
  1273. </tr>
  1274. </tbody>
  1275. </table>
  1276. <a id="Terminal_Gui_ListView_ScrollRight_" data-uid="Terminal.Gui.ListView.ScrollRight*"></a>
  1277. <h4 id="Terminal_Gui_ListView_ScrollRight_System_Int32_" data-uid="Terminal.Gui.ListView.ScrollRight(System.Int32)">ScrollRight(Int32)</h4>
  1278. <div class="markdown level1 summary">
  1279. Scrolls the view right.
  1280. </div>
  1281. <div class="markdown level1 conceptual"></div>
  1282. <h5 class="decalaration">Declaration</h5>
  1283. <div class="codewrapper">
  1284. <pre><code class="lang-csharp hljs">public virtual void ScrollRight(int cols)</code></pre>
  1285. </div>
  1286. <h5 class="parameters">Parameters</h5>
  1287. <table class="table table-bordered table-striped table-condensed">
  1288. <thead>
  1289. <tr>
  1290. <th>Type</th>
  1291. <th>Name</th>
  1292. <th>Description</th>
  1293. </tr>
  1294. </thead>
  1295. <tbody>
  1296. <tr>
  1297. <td><span class="xref">System.Int32</span></td>
  1298. <td><span class="parametername">cols</span></td>
  1299. <td>Number of columns to scroll right.</td>
  1300. </tr>
  1301. </tbody>
  1302. </table>
  1303. <a id="Terminal_Gui_ListView_ScrollUp_" data-uid="Terminal.Gui.ListView.ScrollUp*"></a>
  1304. <h4 id="Terminal_Gui_ListView_ScrollUp_System_Int32_" data-uid="Terminal.Gui.ListView.ScrollUp(System.Int32)">ScrollUp(Int32)</h4>
  1305. <div class="markdown level1 summary">
  1306. Scrolls the view up.
  1307. </div>
  1308. <div class="markdown level1 conceptual"></div>
  1309. <h5 class="decalaration">Declaration</h5>
  1310. <div class="codewrapper">
  1311. <pre><code class="lang-csharp hljs">public virtual void ScrollUp(int lines)</code></pre>
  1312. </div>
  1313. <h5 class="parameters">Parameters</h5>
  1314. <table class="table table-bordered table-striped table-condensed">
  1315. <thead>
  1316. <tr>
  1317. <th>Type</th>
  1318. <th>Name</th>
  1319. <th>Description</th>
  1320. </tr>
  1321. </thead>
  1322. <tbody>
  1323. <tr>
  1324. <td><span class="xref">System.Int32</span></td>
  1325. <td><span class="parametername">lines</span></td>
  1326. <td>Number of lines to scroll up.</td>
  1327. </tr>
  1328. </tbody>
  1329. </table>
  1330. <a id="Terminal_Gui_ListView_SetSource_" data-uid="Terminal.Gui.ListView.SetSource*"></a>
  1331. <h4 id="Terminal_Gui_ListView_SetSource_System_Collections_IList_" data-uid="Terminal.Gui.ListView.SetSource(System.Collections.IList)">SetSource(IList)</h4>
  1332. <div class="markdown level1 summary">
  1333. Sets the source of the <a class="xref" href="Terminal.Gui.ListView.html">ListView</a> to an <span class="xref">System.Collections.IList</span>.
  1334. </div>
  1335. <div class="markdown level1 conceptual"></div>
  1336. <h5 class="decalaration">Declaration</h5>
  1337. <div class="codewrapper">
  1338. <pre><code class="lang-csharp hljs">public void SetSource(IList source)</code></pre>
  1339. </div>
  1340. <h5 class="parameters">Parameters</h5>
  1341. <table class="table table-bordered table-striped table-condensed">
  1342. <thead>
  1343. <tr>
  1344. <th>Type</th>
  1345. <th>Name</th>
  1346. <th>Description</th>
  1347. </tr>
  1348. </thead>
  1349. <tbody>
  1350. <tr>
  1351. <td><span class="xref">System.Collections.IList</span></td>
  1352. <td><span class="parametername">source</span></td>
  1353. <td></td>
  1354. </tr>
  1355. </tbody>
  1356. </table>
  1357. <h5 id="Terminal_Gui_ListView_SetSource_System_Collections_IList__remarks">Remarks</h5>
  1358. <div class="markdown level1 remarks">
  1359. 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.
  1360. </div>
  1361. <a id="Terminal_Gui_ListView_SetSourceAsync_" data-uid="Terminal.Gui.ListView.SetSourceAsync*"></a>
  1362. <h4 id="Terminal_Gui_ListView_SetSourceAsync_System_Collections_IList_" data-uid="Terminal.Gui.ListView.SetSourceAsync(System.Collections.IList)">SetSourceAsync(IList)</h4>
  1363. <div class="markdown level1 summary">
  1364. Sets the source to an <span class="xref">System.Collections.IList</span> value asynchronously.
  1365. </div>
  1366. <div class="markdown level1 conceptual"></div>
  1367. <h5 class="decalaration">Declaration</h5>
  1368. <div class="codewrapper">
  1369. <pre><code class="lang-csharp hljs">public Task SetSourceAsync(IList source)</code></pre>
  1370. </div>
  1371. <h5 class="parameters">Parameters</h5>
  1372. <table class="table table-bordered table-striped table-condensed">
  1373. <thead>
  1374. <tr>
  1375. <th>Type</th>
  1376. <th>Name</th>
  1377. <th>Description</th>
  1378. </tr>
  1379. </thead>
  1380. <tbody>
  1381. <tr>
  1382. <td><span class="xref">System.Collections.IList</span></td>
  1383. <td><span class="parametername">source</span></td>
  1384. <td></td>
  1385. </tr>
  1386. </tbody>
  1387. </table>
  1388. <h5 class="returns">Returns</h5>
  1389. <table class="table table-bordered table-striped table-condensed">
  1390. <thead>
  1391. <tr>
  1392. <th>Type</th>
  1393. <th>Description</th>
  1394. </tr>
  1395. </thead>
  1396. <tbody>
  1397. <tr>
  1398. <td><span class="xref">System.Threading.Tasks.Task</span></td>
  1399. <td>An item implementing the IList interface.</td>
  1400. </tr>
  1401. </tbody>
  1402. </table>
  1403. <h5 id="Terminal_Gui_ListView_SetSourceAsync_System_Collections_IList__remarks">Remarks</h5>
  1404. <div class="markdown level1 remarks">
  1405. 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.
  1406. </div>
  1407. <h3 id="events">Events
  1408. </h3>
  1409. <h4 id="Terminal_Gui_ListView_OpenSelectedItem" data-uid="Terminal.Gui.ListView.OpenSelectedItem">OpenSelectedItem</h4>
  1410. <div class="markdown level1 summary">
  1411. This event is raised when the user Double Clicks on an item or presses ENTER to open the selected item.
  1412. </div>
  1413. <div class="markdown level1 conceptual"></div>
  1414. <h5 class="decalaration">Declaration</h5>
  1415. <div class="codewrapper">
  1416. <pre><code class="lang-csharp hljs">public event Action&lt;ListViewItemEventArgs&gt; OpenSelectedItem</code></pre>
  1417. </div>
  1418. <h5 class="eventType">Event Type</h5>
  1419. <table class="table table-bordered table-striped table-condensed">
  1420. <thead>
  1421. <tr>
  1422. <th>Type</th>
  1423. <th>Description</th>
  1424. </tr>
  1425. </thead>
  1426. <tbody>
  1427. <tr>
  1428. <td><span class="xref">System.Action</span>&lt;<a class="xref" href="Terminal.Gui.ListViewItemEventArgs.html">ListViewItemEventArgs</a>&gt;</td>
  1429. <td></td>
  1430. </tr>
  1431. </tbody>
  1432. </table>
  1433. <h4 id="Terminal_Gui_ListView_SelectedItemChanged" data-uid="Terminal.Gui.ListView.SelectedItemChanged">SelectedItemChanged</h4>
  1434. <div class="markdown level1 summary">
  1435. This event is raised when the selected item in the <a class="xref" href="Terminal.Gui.ListView.html">ListView</a> has changed.
  1436. </div>
  1437. <div class="markdown level1 conceptual"></div>
  1438. <h5 class="decalaration">Declaration</h5>
  1439. <div class="codewrapper">
  1440. <pre><code class="lang-csharp hljs">public event Action&lt;ListViewItemEventArgs&gt; SelectedItemChanged</code></pre>
  1441. </div>
  1442. <h5 class="eventType">Event Type</h5>
  1443. <table class="table table-bordered table-striped table-condensed">
  1444. <thead>
  1445. <tr>
  1446. <th>Type</th>
  1447. <th>Description</th>
  1448. </tr>
  1449. </thead>
  1450. <tbody>
  1451. <tr>
  1452. <td><span class="xref">System.Action</span>&lt;<a class="xref" href="Terminal.Gui.ListViewItemEventArgs.html">ListViewItemEventArgs</a>&gt;</td>
  1453. <td></td>
  1454. </tr>
  1455. </tbody>
  1456. </table>
  1457. <h3 id="implements">Implements</h3>
  1458. <div>
  1459. <span class="xref">System.IDisposable</span>
  1460. </div>
  1461. <div>
  1462. <span class="xref">System.ComponentModel.ISupportInitializeNotification</span>
  1463. </div>
  1464. <div>
  1465. <span class="xref">System.ComponentModel.ISupportInitialize</span>
  1466. </div>
  1467. </article>
  1468. </div>
  1469. <div class="hidden-sm col-md-2" role="complementary">
  1470. <div class="sideaffix">
  1471. <div class="contribution">
  1472. <ul class="nav">
  1473. </ul>
  1474. </div>
  1475. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  1476. <h5>In This Article</h5>
  1477. <div></div>
  1478. </nav>
  1479. </div>
  1480. </div>
  1481. </div>
  1482. </div>
  1483. <footer>
  1484. <div class="grad-bottom"></div>
  1485. <div class="footer">
  1486. <div class="container">
  1487. <span class="pull-right">
  1488. <a href="#top">Back to top</a>
  1489. </span>
  1490. <span>Generated by <strong>DocFX</strong></span>
  1491. </div>
  1492. </div>
  1493. </footer>
  1494. </div>
  1495. <script type="text/javascript" src="../../styles/docfx.vendor.js"></script>
  1496. <script type="text/javascript" src="../../styles/docfx.js"></script>
  1497. <script type="text/javascript" src="../../styles/main.js"></script>
  1498. </body>
  1499. </html>