Terminal.Gui.ListView.html 62 KB

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