Terminal.Gui.ListView.html 100 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076
  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.4.0">
  13. <link rel="shortcut icon" href="../../favicon.ico">
  14. <link rel="stylesheet" href="../../styles/docfx.vendor.css">
  15. <link rel="stylesheet" href="../../styles/docfx.css">
  16. <link rel="stylesheet" href="../../styles/main.css">
  17. <link href="https://fonts.googleapis.com/css?family=Source Sans Pro" rel="stylesheet">
  18. <link href="https://fonts.googleapis.com/css?family=Source Code Pro" rel="stylesheet">
  19. <meta property="docfx:navrel" content="../../toc.html">
  20. <meta property="docfx:tocrel" content="toc.html">
  21. <meta property="docfx:rel" content="../../">
  22. </head> <body data-spy="scroll" data-target="#affix" data-offset="120">
  23. <div id="wrapper">
  24. <header>
  25. <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
  26. <div class="container">
  27. <div class="navbar-header">
  28. <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
  29. <span class="sr-only">Toggle navigation</span>
  30. <span class="icon-bar"></span>
  31. <span class="icon-bar"></span>
  32. <span class="icon-bar"></span>
  33. </button>
  34. <a class="navbar-brand" href="../../index.html">
  35. <img id="logo" class="svg" src="../../images/logo48.png" alt="">
  36. </a>
  37. </div>
  38. <div class="collapse navbar-collapse" id="navbar">
  39. <form class="navbar-form navbar-right" role="search" id="search">
  40. <div class="form-group">
  41. <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
  42. </div>
  43. </form>
  44. </div>
  45. </div>
  46. </nav>
  47. <div class="subnav navbar navbar-default">
  48. <div class="container hide-when-search" id="breadcrumb">
  49. <ul class="breadcrumb">
  50. <li></li>
  51. </ul>
  52. </div>
  53. </div>
  54. </header>
  55. <div class="container body-content">
  56. <div id="search-results">
  57. <div class="search-list">Search Results for <span></span></div>
  58. <div class="sr-items">
  59. <p><i class="glyphicon glyphicon-refresh index-loading"></i></p>
  60. </div>
  61. <ul id="pagination" data-first="First" data-prev="Previous" data-next="Next" data-last="Last"></ul>
  62. </div>
  63. </div>
  64. <div role="main" class="container body-content hide-when-search">
  65. <div class="sidenav hide-when-search">
  66. <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
  67. <div class="sidetoggle collapse" id="sidetoggle">
  68. <div id="sidetoc"></div>
  69. </div>
  70. </div>
  71. <div class="article row grid-right">
  72. <div class="col-md-10">
  73. <article class="content wrap" id="_content" data-uid="Terminal.Gui.ListView">
  74. <h1 id="Terminal_Gui_ListView" data-uid="Terminal.Gui.ListView" class="text-break">Class ListView
  75. </h1>
  76. <div class="markdown level0 summary">
  77. 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.
  78. </div>
  79. <div class="markdown level0 conceptual"></div>
  80. <div class="inheritance">
  81. <h5>Inheritance</h5>
  82. <div class="level0"><span class="xref">System.Object</span></div>
  83. <div class="level1"><a class="xref" href="Terminal.Gui.Responder.html">Responder</a></div>
  84. <div class="level2"><a class="xref" href="Terminal.Gui.View.html">View</a></div>
  85. <div class="level3"><span class="xref">ListView</span></div>
  86. </div>
  87. <div class="implements">
  88. <h5>Implements</h5>
  89. <div><span class="xref">System.IDisposable</span></div>
  90. <div><span class="xref">System.ComponentModel.ISupportInitializeNotification</span></div>
  91. <div><span class="xref">System.ComponentModel.ISupportInitialize</span></div>
  92. </div>
  93. <h5 id="Terminal_Gui_ListView_remarks"><strong>Remarks</strong></h5>
  94. <div class="markdown level0 remarks">
  95. <p>
  96. The <a class="xref" href="Terminal.Gui.ListView.html">ListView</a> displays lists of data and allows the user to scroll through the data.
  97. Items in the can be activated firing an event (with the ENTER key or a mouse double-click).
  98. 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.
  99. </p>
  100. <p>
  101. 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
  102. <span class="xref">System.Collections.IList</span> object (e.g. arrays, <span class="xref">System.Collections.Generic.List&lt;T&gt;</span>,
  103. and other collections). Alternatively, an object that implements <a class="xref" href="Terminal.Gui.IListDataSource.html">IListDataSource</a>
  104. can be provided giving full control of what is rendered.
  105. </p>
  106. <p>
  107. <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.
  108. <span class="xref">System.String</span> values are converted into <see cref="!:ustring"></see> values before rendering, and other values are
  109. converted into <span class="xref">System.String</span> by calling <span class="xref">System.Object.ToString()</span> and then converting to <see cref="!:ustring"></see> .
  110. </p>
  111. <p>
  112. 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
  113. 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>
  114. an <span class="xref">System.Collections.IList</span> is being used.
  115. </p>
  116. <p>
  117. 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
  118. [x] or [ ] and bind the SPACE key to toggle the selection. To implement a different
  119. marking style set <a class="xref" href="Terminal.Gui.ListView.html#Terminal_Gui_ListView_AllowsMarking">AllowsMarking</a> to false and implement custom rendering.
  120. </p>
  121. <p>
  122. Searching the ListView with the keyboard is supported. Users type the
  123. first characters of an item, and the first item that starts with what the user types will be selected.
  124. </p>
  125. </div>
  126. <div class="inheritedMembers">
  127. <h5>Inherited Members</h5>
  128. <div>
  129. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Added">View.Added</a>
  130. </div>
  131. <div>
  132. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Removed">View.Removed</a>
  133. </div>
  134. <div>
  135. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Enter">View.Enter</a>
  136. </div>
  137. <div>
  138. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Leave">View.Leave</a>
  139. </div>
  140. <div>
  141. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_MouseEnter">View.MouseEnter</a>
  142. </div>
  143. <div>
  144. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_MouseLeave">View.MouseLeave</a>
  145. </div>
  146. <div>
  147. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_MouseClick">View.MouseClick</a>
  148. </div>
  149. <div>
  150. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_CanFocusChanged">View.CanFocusChanged</a>
  151. </div>
  152. <div>
  153. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_EnabledChanged">View.EnabledChanged</a>
  154. </div>
  155. <div>
  156. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_VisibleChanged">View.VisibleChanged</a>
  157. </div>
  158. <div>
  159. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_HotKeyChanged">View.HotKeyChanged</a>
  160. </div>
  161. <div>
  162. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_HotKey">View.HotKey</a>
  163. </div>
  164. <div>
  165. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_HotKeySpecifier">View.HotKeySpecifier</a>
  166. </div>
  167. <div>
  168. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Shortcut">View.Shortcut</a>
  169. </div>
  170. <div>
  171. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ShortcutTag">View.ShortcutTag</a>
  172. </div>
  173. <div>
  174. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ShortcutAction">View.ShortcutAction</a>
  175. </div>
  176. <div>
  177. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Data">View.Data</a>
  178. </div>
  179. <div>
  180. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Driver">View.Driver</a>
  181. </div>
  182. <div>
  183. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Subviews">View.Subviews</a>
  184. </div>
  185. <div>
  186. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TabIndexes">View.TabIndexes</a>
  187. </div>
  188. <div>
  189. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TabIndex">View.TabIndex</a>
  190. </div>
  191. <div>
  192. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TabStop">View.TabStop</a>
  193. </div>
  194. <div>
  195. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_CanFocus">View.CanFocus</a>
  196. </div>
  197. <div>
  198. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Id">View.Id</a>
  199. </div>
  200. <div>
  201. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_IsCurrentTop">View.IsCurrentTop</a>
  202. </div>
  203. <div>
  204. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_WantMousePositionReports">View.WantMousePositionReports</a>
  205. </div>
  206. <div>
  207. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_WantContinuousButtonPressed">View.WantContinuousButtonPressed</a>
  208. </div>
  209. <div>
  210. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Frame">View.Frame</a>
  211. </div>
  212. <div>
  213. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutStyle">View.LayoutStyle</a>
  214. </div>
  215. <div>
  216. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Bounds">View.Bounds</a>
  217. </div>
  218. <div>
  219. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_X">View.X</a>
  220. </div>
  221. <div>
  222. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Y">View.Y</a>
  223. </div>
  224. <div>
  225. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Width">View.Width</a>
  226. </div>
  227. <div>
  228. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Height">View.Height</a>
  229. </div>
  230. <div>
  231. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ForceValidatePosDim">View.ForceValidatePosDim</a>
  232. </div>
  233. <div>
  234. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetMinWidthHeight_Terminal_Gui_Size__">View.GetMinWidthHeight(Size)</a>
  235. </div>
  236. <div>
  237. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetMinWidthHeight">View.SetMinWidthHeight()</a>
  238. </div>
  239. <div>
  240. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TextFormatter">View.TextFormatter</a>
  241. </div>
  242. <div>
  243. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SuperView">View.SuperView</a>
  244. </div>
  245. <div>
  246. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_UpdateTextFormatterText">View.UpdateTextFormatterText()</a>
  247. </div>
  248. <div>
  249. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ProcessResizeView">View.ProcessResizeView()</a>
  250. </div>
  251. <div>
  252. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetNeedsDisplay">View.SetNeedsDisplay()</a>
  253. </div>
  254. <div>
  255. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearLayoutNeeded">View.ClearLayoutNeeded()</a>
  256. </div>
  257. <div>
  258. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetNeedsDisplay_Terminal_Gui_Rect_">View.SetNeedsDisplay(Rect)</a>
  259. </div>
  260. <div>
  261. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetChildNeedsDisplay">View.SetChildNeedsDisplay()</a>
  262. </div>
  263. <div>
  264. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Add_Terminal_Gui_View_">View.Add(View)</a>
  265. </div>
  266. <div>
  267. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Add_Terminal_Gui_View___">View.Add(View[])</a>
  268. </div>
  269. <div>
  270. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_RemoveAll">View.RemoveAll()</a>
  271. </div>
  272. <div>
  273. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Remove_Terminal_Gui_View_">View.Remove(View)</a>
  274. </div>
  275. <div>
  276. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_BringSubviewToFront_Terminal_Gui_View_">View.BringSubviewToFront(View)</a>
  277. </div>
  278. <div>
  279. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SendSubviewToBack_Terminal_Gui_View_">View.SendSubviewToBack(View)</a>
  280. </div>
  281. <div>
  282. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SendSubviewBackwards_Terminal_Gui_View_">View.SendSubviewBackwards(View)</a>
  283. </div>
  284. <div>
  285. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_BringSubviewForward_Terminal_Gui_View_">View.BringSubviewForward(View)</a>
  286. </div>
  287. <div>
  288. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Clear">View.Clear()</a>
  289. </div>
  290. <div>
  291. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Clear_Terminal_Gui_Rect_">View.Clear(Rect)</a>
  292. </div>
  293. <div>
  294. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ScreenToView_System_Int32_System_Int32_">View.ScreenToView(Int32, Int32)</a>
  295. </div>
  296. <div>
  297. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClipToBounds">View.ClipToBounds()</a>
  298. </div>
  299. <div>
  300. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetClip_Terminal_Gui_Rect_">View.SetClip(Rect)</a>
  301. </div>
  302. <div>
  303. <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>
  304. </div>
  305. <div>
  306. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_DrawHotString_ustring_Terminal_Gui_Attribute_Terminal_Gui_Attribute_">View.DrawHotString(ustring, Attribute, Attribute)</a>
  307. </div>
  308. <div>
  309. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_DrawHotString_ustring_System_Boolean_Terminal_Gui_ColorScheme_">View.DrawHotString(ustring, Boolean, ColorScheme)</a>
  310. </div>
  311. <div>
  312. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Move_System_Int32_System_Int32_System_Boolean_">View.Move(Int32, Int32, Boolean)</a>
  313. </div>
  314. <div>
  315. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_HasFocus">View.HasFocus</a>
  316. </div>
  317. <div>
  318. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnAdded_Terminal_Gui_View_">View.OnAdded(View)</a>
  319. </div>
  320. <div>
  321. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnRemoved_Terminal_Gui_View_">View.OnRemoved(View)</a>
  322. </div>
  323. <div>
  324. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Focused">View.Focused</a>
  325. </div>
  326. <div>
  327. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_MostFocused">View.MostFocused</a>
  328. </div>
  329. <div>
  330. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ColorScheme">View.ColorScheme</a>
  331. </div>
  332. <div>
  333. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_AddRune_System_Int32_System_Int32_Rune_">View.AddRune(Int32, Int32, Rune)</a>
  334. </div>
  335. <div>
  336. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearNeedsDisplay">View.ClearNeedsDisplay()</a>
  337. </div>
  338. <div>
  339. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_DrawContent">View.DrawContent</a>
  340. </div>
  341. <div>
  342. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnDrawContent_Terminal_Gui_Rect_">View.OnDrawContent(Rect)</a>
  343. </div>
  344. <div>
  345. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_DrawContentComplete">View.DrawContentComplete</a>
  346. </div>
  347. <div>
  348. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnDrawContentComplete_Terminal_Gui_Rect_">View.OnDrawContentComplete(Rect)</a>
  349. </div>
  350. <div>
  351. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetFocus">View.SetFocus()</a>
  352. </div>
  353. <div>
  354. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_KeyPress">View.KeyPress</a>
  355. </div>
  356. <div>
  357. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_InvokeKeybindings_Terminal_Gui_KeyEvent_">View.InvokeKeybindings(KeyEvent)</a>
  358. </div>
  359. <div>
  360. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_AddKeyBinding_Terminal_Gui_Key_Terminal_Gui_Command___">View.AddKeyBinding(Key, Command[])</a>
  361. </div>
  362. <div>
  363. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ReplaceKeyBinding_Terminal_Gui_Key_Terminal_Gui_Key_">View.ReplaceKeyBinding(Key, Key)</a>
  364. </div>
  365. <div>
  366. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ContainsKeyBinding_Terminal_Gui_Key_">View.ContainsKeyBinding(Key)</a>
  367. </div>
  368. <div>
  369. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearKeybindings">View.ClearKeybindings()</a>
  370. </div>
  371. <div>
  372. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearKeybinding_Terminal_Gui_Key_">View.ClearKeybinding(Key)</a>
  373. </div>
  374. <div>
  375. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearKeybinding_Terminal_Gui_Command___">View.ClearKeybinding(Command[])</a>
  376. </div>
  377. <div>
  378. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_AddCommand_Terminal_Gui_Command_System_Func_System_Nullable_System_Boolean___">View.AddCommand(Command, Func&lt;Nullable&lt;Boolean&gt;&gt;)</a>
  379. </div>
  380. <div>
  381. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetSupportedCommands">View.GetSupportedCommands()</a>
  382. </div>
  383. <div>
  384. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetKeyFromCommand_Terminal_Gui_Command___">View.GetKeyFromCommand(Command[])</a>
  385. </div>
  386. <div>
  387. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ProcessHotKey_Terminal_Gui_KeyEvent_">View.ProcessHotKey(KeyEvent)</a>
  388. </div>
  389. <div>
  390. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ProcessColdKey_Terminal_Gui_KeyEvent_">View.ProcessColdKey(KeyEvent)</a>
  391. </div>
  392. <div>
  393. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_KeyDown">View.KeyDown</a>
  394. </div>
  395. <div>
  396. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnKeyDown_Terminal_Gui_KeyEvent_">View.OnKeyDown(KeyEvent)</a>
  397. </div>
  398. <div>
  399. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_KeyUp">View.KeyUp</a>
  400. </div>
  401. <div>
  402. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnKeyUp_Terminal_Gui_KeyEvent_">View.OnKeyUp(KeyEvent)</a>
  403. </div>
  404. <div>
  405. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_EnsureFocus">View.EnsureFocus()</a>
  406. </div>
  407. <div>
  408. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusFirst">View.FocusFirst()</a>
  409. </div>
  410. <div>
  411. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusLast">View.FocusLast()</a>
  412. </div>
  413. <div>
  414. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusPrev">View.FocusPrev()</a>
  415. </div>
  416. <div>
  417. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusNext">View.FocusNext()</a>
  418. </div>
  419. <div>
  420. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutStarted">View.LayoutStarted</a>
  421. </div>
  422. <div>
  423. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutComplete">View.LayoutComplete</a>
  424. </div>
  425. <div>
  426. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Initialized">View.Initialized</a>
  427. </div>
  428. <div>
  429. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutSubviews">View.LayoutSubviews()</a>
  430. </div>
  431. <div>
  432. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Text">View.Text</a>
  433. </div>
  434. <div>
  435. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_AutoSize">View.AutoSize</a>
  436. </div>
  437. <div>
  438. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_PreserveTrailingSpaces">View.PreserveTrailingSpaces</a>
  439. </div>
  440. <div>
  441. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TextAlignment">View.TextAlignment</a>
  442. </div>
  443. <div>
  444. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_VerticalTextAlignment">View.VerticalTextAlignment</a>
  445. </div>
  446. <div>
  447. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TextDirection">View.TextDirection</a>
  448. </div>
  449. <div>
  450. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_IsInitialized">View.IsInitialized</a>
  451. </div>
  452. <div>
  453. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_IsAdded">View.IsAdded</a>
  454. </div>
  455. <div>
  456. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Enabled">View.Enabled</a>
  457. </div>
  458. <div>
  459. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearOnVisibleFalse">View.ClearOnVisibleFalse</a>
  460. </div>
  461. <div>
  462. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Visible">View.Visible</a>
  463. </div>
  464. <div>
  465. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Border">View.Border</a>
  466. </div>
  467. <div>
  468. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_IgnoreBorderPropertyOnRedraw">View.IgnoreBorderPropertyOnRedraw</a>
  469. </div>
  470. <div>
  471. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ToString">View.ToString()</a>
  472. </div>
  473. <div>
  474. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetAutoSize">View.GetAutoSize()</a>
  475. </div>
  476. <div>
  477. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetHotKeySpecifierLength_System_Boolean_">View.GetHotKeySpecifierLength(Boolean)</a>
  478. </div>
  479. <div>
  480. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetTextFormatterBoundsSize">View.GetTextFormatterBoundsSize()</a>
  481. </div>
  482. <div>
  483. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetBoundsTextFormatterSize">View.GetBoundsTextFormatterSize()</a>
  484. </div>
  485. <div>
  486. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseEnter_Terminal_Gui_MouseEvent_">View.OnMouseEnter(MouseEvent)</a>
  487. </div>
  488. <div>
  489. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseLeave_Terminal_Gui_MouseEvent_">View.OnMouseLeave(MouseEvent)</a>
  490. </div>
  491. <div>
  492. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseEvent_Terminal_Gui_MouseEvent_">View.OnMouseEvent(MouseEvent)</a>
  493. </div>
  494. <div>
  495. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseClick_Terminal_Gui_View_MouseEventArgs_">View.OnMouseClick(View.MouseEventArgs)</a>
  496. </div>
  497. <div>
  498. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnCanFocusChanged">View.OnCanFocusChanged()</a>
  499. </div>
  500. <div>
  501. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnEnabledChanged">View.OnEnabledChanged()</a>
  502. </div>
  503. <div>
  504. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnVisibleChanged">View.OnVisibleChanged()</a>
  505. </div>
  506. <div>
  507. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Dispose_System_Boolean_">View.Dispose(Boolean)</a>
  508. </div>
  509. <div>
  510. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_BeginInit">View.BeginInit()</a>
  511. </div>
  512. <div>
  513. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_EndInit">View.EndInit()</a>
  514. </div>
  515. <div>
  516. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetWidth_System_Int32_System_Int32__">View.SetWidth(Int32, Int32)</a>
  517. </div>
  518. <div>
  519. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetHeight_System_Int32_System_Int32__">View.SetHeight(Int32, Int32)</a>
  520. </div>
  521. <div>
  522. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetCurrentWidth_System_Int32__">View.GetCurrentWidth(Int32)</a>
  523. </div>
  524. <div>
  525. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetCurrentHeight_System_Int32__">View.GetCurrentHeight(Int32)</a>
  526. </div>
  527. <div>
  528. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetNormalColor">View.GetNormalColor()</a>
  529. </div>
  530. <div>
  531. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetFocusColor">View.GetFocusColor()</a>
  532. </div>
  533. <div>
  534. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetHotNormalColor">View.GetHotNormalColor()</a>
  535. </div>
  536. <div>
  537. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetTopSuperView">View.GetTopSuperView()</a>
  538. </div>
  539. <div>
  540. <a class="xref" href="Terminal.Gui.Responder.html#Terminal_Gui_Responder_Dispose">Responder.Dispose()</a>
  541. </div>
  542. <div>
  543. <span class="xref">System.Object.Equals(System.Object)</span>
  544. </div>
  545. <div>
  546. <span class="xref">System.Object.Equals(System.Object, System.Object)</span>
  547. </div>
  548. <div>
  549. <span class="xref">System.Object.GetHashCode()</span>
  550. </div>
  551. <div>
  552. <span class="xref">System.Object.GetType()</span>
  553. </div>
  554. <div>
  555. <span class="xref">System.Object.MemberwiseClone()</span>
  556. </div>
  557. <div>
  558. <span class="xref">System.Object.ReferenceEquals(System.Object, System.Object)</span>
  559. </div>
  560. </div>
  561. <h6><strong>Namespace</strong>: <a class="xref" href="Terminal.Gui.html">Terminal.Gui</a></h6>
  562. <h6><strong>Assembly</strong>: Terminal.Gui.dll</h6>
  563. <h5 id="Terminal_Gui_ListView_syntax">Syntax</h5>
  564. <div class="codewrapper">
  565. <pre><code class="lang-csharp hljs">public class ListView : View, IDisposable, ISupportInitializeNotification, ISupportInitialize</code></pre>
  566. </div>
  567. <h3 id="constructors">Constructors
  568. </h3>
  569. <span class="small pull-right mobile-hide">
  570. <span class="divider">|</span>
  571. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ListView__ctor.md&amp;value=---%0Auid%3A%20Terminal.Gui.ListView.%23ctor%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  572. </span>
  573. <span class="small pull-right mobile-hide">
  574. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/Terminal.Gui/Views/ListView.cs/#L286">View Source</a>
  575. </span>
  576. <a id="Terminal_Gui_ListView__ctor_" data-uid="Terminal.Gui.ListView.#ctor*"></a>
  577. <h4 id="Terminal_Gui_ListView__ctor" data-uid="Terminal.Gui.ListView.#ctor">ListView()</h4>
  578. <div class="markdown level1 summary">
  579. 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.
  580. </div>
  581. <div class="markdown level1 conceptual"></div>
  582. <h5 class="decalaration">Declaration</h5>
  583. <div class="codewrapper">
  584. <pre><code class="lang-csharp hljs">public ListView()</code></pre>
  585. </div>
  586. <span class="small pull-right mobile-hide">
  587. <span class="divider">|</span>
  588. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ListView__ctor_System_Collections_IList_.md&amp;value=---%0Auid%3A%20Terminal.Gui.ListView.%23ctor(System.Collections.IList)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  589. </span>
  590. <span class="small pull-right mobile-hide">
  591. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/Terminal.Gui/Views/ListView.cs/#L267">View Source</a>
  592. </span>
  593. <a id="Terminal_Gui_ListView__ctor_" data-uid="Terminal.Gui.ListView.#ctor*"></a>
  594. <h4 id="Terminal_Gui_ListView__ctor_System_Collections_IList_" data-uid="Terminal.Gui.ListView.#ctor(System.Collections.IList)">ListView(IList)</h4>
  595. <div class="markdown level1 summary">
  596. Initializes a new instance of <a class="xref" href="Terminal.Gui.ListView.html">ListView</a> that will display the
  597. contents of the object implementing the <span class="xref">System.Collections.IList</span> interface,
  598. with relative positioning.
  599. </div>
  600. <div class="markdown level1 conceptual"></div>
  601. <h5 class="decalaration">Declaration</h5>
  602. <div class="codewrapper">
  603. <pre><code class="lang-csharp hljs">public ListView(IList source)</code></pre>
  604. </div>
  605. <h5 class="parameters">Parameters</h5>
  606. <table class="table table-bordered table-striped table-condensed">
  607. <thead>
  608. <tr>
  609. <th>Type</th>
  610. <th>Name</th>
  611. <th>Description</th>
  612. </tr>
  613. </thead>
  614. <tbody>
  615. <tr>
  616. <td><span class="xref">System.Collections.IList</span></td>
  617. <td><span class="parametername">source</span></td>
  618. <td>An <span class="xref">System.Collections.IList</span> data source, if the elements are strings or ustrings,
  619. the string is rendered, otherwise the ToString() method is invoked on the result.</td>
  620. </tr>
  621. </tbody>
  622. </table>
  623. <span class="small pull-right mobile-hide">
  624. <span class="divider">|</span>
  625. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ListView__ctor_Terminal_Gui_IListDataSource_.md&amp;value=---%0Auid%3A%20Terminal.Gui.ListView.%23ctor(Terminal.Gui.IListDataSource)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  626. </span>
  627. <span class="small pull-right mobile-hide">
  628. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/Terminal.Gui/Views/ListView.cs/#L277">View Source</a>
  629. </span>
  630. <a id="Terminal_Gui_ListView__ctor_" data-uid="Terminal.Gui.ListView.#ctor*"></a>
  631. <h4 id="Terminal_Gui_ListView__ctor_Terminal_Gui_IListDataSource_" data-uid="Terminal.Gui.ListView.#ctor(Terminal.Gui.IListDataSource)">ListView(IListDataSource)</h4>
  632. <div class="markdown level1 summary">
  633. 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.
  634. </div>
  635. <div class="markdown level1 conceptual"></div>
  636. <h5 class="decalaration">Declaration</h5>
  637. <div class="codewrapper">
  638. <pre><code class="lang-csharp hljs">public ListView(IListDataSource source)</code></pre>
  639. </div>
  640. <h5 class="parameters">Parameters</h5>
  641. <table class="table table-bordered table-striped table-condensed">
  642. <thead>
  643. <tr>
  644. <th>Type</th>
  645. <th>Name</th>
  646. <th>Description</th>
  647. </tr>
  648. </thead>
  649. <tbody>
  650. <tr>
  651. <td><a class="xref" href="Terminal.Gui.IListDataSource.html">IListDataSource</a></td>
  652. <td><span class="parametername">source</span></td>
  653. <td><a class="xref" href="Terminal.Gui.IListDataSource.html">IListDataSource</a> object that provides a mechanism to render the data.
  654. The number of elements on the collection should not change, if you must change, set
  655. the &quot;Source&quot; property to reset the internal settings of the ListView.</td>
  656. </tr>
  657. </tbody>
  658. </table>
  659. <span class="small pull-right mobile-hide">
  660. <span class="divider">|</span>
  661. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ListView__ctor_Terminal_Gui_Rect_System_Collections_IList_.md&amp;value=---%0Auid%3A%20Terminal.Gui.ListView.%23ctor(Terminal.Gui.Rect%2CSystem.Collections.IList)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  662. </span>
  663. <span class="small pull-right mobile-hide">
  664. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/Terminal.Gui/Views/ListView.cs/#L297">View Source</a>
  665. </span>
  666. <a id="Terminal_Gui_ListView__ctor_" data-uid="Terminal.Gui.ListView.#ctor*"></a>
  667. <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>
  668. <div class="markdown level1 summary">
  669. 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.
  670. </div>
  671. <div class="markdown level1 conceptual"></div>
  672. <h5 class="decalaration">Declaration</h5>
  673. <div class="codewrapper">
  674. <pre><code class="lang-csharp hljs">public ListView(Rect rect, IList source)</code></pre>
  675. </div>
  676. <h5 class="parameters">Parameters</h5>
  677. <table class="table table-bordered table-striped table-condensed">
  678. <thead>
  679. <tr>
  680. <th>Type</th>
  681. <th>Name</th>
  682. <th>Description</th>
  683. </tr>
  684. </thead>
  685. <tbody>
  686. <tr>
  687. <td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
  688. <td><span class="parametername">rect</span></td>
  689. <td>Frame for the listview.</td>
  690. </tr>
  691. <tr>
  692. <td><span class="xref">System.Collections.IList</span></td>
  693. <td><span class="parametername">source</span></td>
  694. <td>An IList data source, if the elements of the IList are strings or ustrings,
  695. the string is rendered, otherwise the ToString() method is invoked on the result.</td>
  696. </tr>
  697. </tbody>
  698. </table>
  699. <span class="small pull-right mobile-hide">
  700. <span class="divider">|</span>
  701. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ListView__ctor_Terminal_Gui_Rect_Terminal_Gui_IListDataSource_.md&amp;value=---%0Auid%3A%20Terminal.Gui.ListView.%23ctor(Terminal.Gui.Rect%2CTerminal.Gui.IListDataSource)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  702. </span>
  703. <span class="small pull-right mobile-hide">
  704. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/Terminal.Gui/Views/ListView.cs/#L309">View Source</a>
  705. </span>
  706. <a id="Terminal_Gui_ListView__ctor_" data-uid="Terminal.Gui.ListView.#ctor*"></a>
  707. <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>
  708. <div class="markdown level1 summary">
  709. Initializes a new instance of <a class="xref" href="Terminal.Gui.ListView.html">ListView</a> with the provided data source and an absolute position
  710. </div>
  711. <div class="markdown level1 conceptual"></div>
  712. <h5 class="decalaration">Declaration</h5>
  713. <div class="codewrapper">
  714. <pre><code class="lang-csharp hljs">public ListView(Rect rect, IListDataSource source)</code></pre>
  715. </div>
  716. <h5 class="parameters">Parameters</h5>
  717. <table class="table table-bordered table-striped table-condensed">
  718. <thead>
  719. <tr>
  720. <th>Type</th>
  721. <th>Name</th>
  722. <th>Description</th>
  723. </tr>
  724. </thead>
  725. <tbody>
  726. <tr>
  727. <td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
  728. <td><span class="parametername">rect</span></td>
  729. <td>Frame for the listview.</td>
  730. </tr>
  731. <tr>
  732. <td><a class="xref" href="Terminal.Gui.IListDataSource.html">IListDataSource</a></td>
  733. <td><span class="parametername">source</span></td>
  734. <td>IListDataSource object that provides a mechanism to render the data.
  735. The number of elements on the collection should not change, if you must change,
  736. set the &quot;Source&quot; property to reset the internal settings of the ListView.</td>
  737. </tr>
  738. </tbody>
  739. </table>
  740. <h3 id="properties">Properties
  741. </h3>
  742. <span class="small pull-right mobile-hide">
  743. <span class="divider">|</span>
  744. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ListView_AllowsMarking.md&amp;value=---%0Auid%3A%20Terminal.Gui.ListView.AllowsMarking%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  745. </span>
  746. <span class="small pull-right mobile-hide">
  747. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/Terminal.Gui/Views/ListView.cs/#L164">View Source</a>
  748. </span>
  749. <a id="Terminal_Gui_ListView_AllowsMarking_" data-uid="Terminal.Gui.ListView.AllowsMarking*"></a>
  750. <h4 id="Terminal_Gui_ListView_AllowsMarking" data-uid="Terminal.Gui.ListView.AllowsMarking">AllowsMarking</h4>
  751. <div class="markdown level1 summary">
  752. Gets or sets whether this <a class="xref" href="Terminal.Gui.ListView.html">ListView</a> allows items to be marked.
  753. </div>
  754. <div class="markdown level1 conceptual"></div>
  755. <h5 class="decalaration">Declaration</h5>
  756. <div class="codewrapper">
  757. <pre><code class="lang-csharp hljs">public bool AllowsMarking { get; set; }</code></pre>
  758. </div>
  759. <h5 class="propertyValue">Property Value</h5>
  760. <table class="table table-bordered table-striped table-condensed">
  761. <thead>
  762. <tr>
  763. <th>Type</th>
  764. <th>Description</th>
  765. </tr>
  766. </thead>
  767. <tbody>
  768. <tr>
  769. <td><span class="xref">System.Boolean</span></td>
  770. <td>Set to <span class="xref">true</span> to allow marking elements of the list.</td>
  771. </tr>
  772. </tbody>
  773. </table>
  774. <span class="small pull-right mobile-hide">
  775. <span class="divider">|</span>
  776. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ListView_AllowsMultipleSelection.md&amp;value=---%0Auid%3A%20Terminal.Gui.ListView.AllowsMultipleSelection%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  777. </span>
  778. <span class="small pull-right mobile-hide">
  779. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/Terminal.Gui/Views/ListView.cs/#L182">View Source</a>
  780. </span>
  781. <a id="Terminal_Gui_ListView_AllowsMultipleSelection_" data-uid="Terminal.Gui.ListView.AllowsMultipleSelection*"></a>
  782. <h4 id="Terminal_Gui_ListView_AllowsMultipleSelection" data-uid="Terminal.Gui.ListView.AllowsMultipleSelection">AllowsMultipleSelection</h4>
  783. <div class="markdown level1 summary">
  784. If set to <span class="xref">true</span> more than one item can be selected. If <span class="xref">false</span> selecting
  785. an item will cause all others to be un-selected. The default is <span class="xref">false</span>.
  786. </div>
  787. <div class="markdown level1 conceptual"></div>
  788. <h5 class="decalaration">Declaration</h5>
  789. <div class="codewrapper">
  790. <pre><code class="lang-csharp hljs">public bool AllowsMultipleSelection { get; set; }</code></pre>
  791. </div>
  792. <h5 class="propertyValue">Property Value</h5>
  793. <table class="table table-bordered table-striped table-condensed">
  794. <thead>
  795. <tr>
  796. <th>Type</th>
  797. <th>Description</th>
  798. </tr>
  799. </thead>
  800. <tbody>
  801. <tr>
  802. <td><span class="xref">System.Boolean</span></td>
  803. <td></td>
  804. </tr>
  805. </tbody>
  806. </table>
  807. <span class="small pull-right mobile-hide">
  808. <span class="divider">|</span>
  809. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ListView_KeystrokeNavigator.md&amp;value=---%0Auid%3A%20Terminal.Gui.ListView.KeystrokeNavigator%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  810. </span>
  811. <span class="small pull-right mobile-hide">
  812. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/Terminal.Gui/Views/ListView.cs/#L414">View Source</a>
  813. </span>
  814. <a id="Terminal_Gui_ListView_KeystrokeNavigator_" data-uid="Terminal.Gui.ListView.KeystrokeNavigator*"></a>
  815. <h4 id="Terminal_Gui_ListView_KeystrokeNavigator" data-uid="Terminal.Gui.ListView.KeystrokeNavigator">KeystrokeNavigator</h4>
  816. <div class="markdown level1 summary">
  817. Gets the <a class="xref" href="Terminal.Gui.CollectionNavigator.html">CollectionNavigator</a> that searches the <a class="xref" href="Terminal.Gui.ListView.html#Terminal_Gui_ListView_Source">Source</a> collection as
  818. the user types.
  819. </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 CollectionNavigator KeystrokeNavigator { get; }</code></pre>
  824. </div>
  825. <h5 class="propertyValue">Property Value</h5>
  826. <table class="table table-bordered table-striped table-condensed">
  827. <thead>
  828. <tr>
  829. <th>Type</th>
  830. <th>Description</th>
  831. </tr>
  832. </thead>
  833. <tbody>
  834. <tr>
  835. <td><a class="xref" href="Terminal.Gui.CollectionNavigator.html">CollectionNavigator</a></td>
  836. <td></td>
  837. </tr>
  838. </tbody>
  839. </table>
  840. <span class="small pull-right mobile-hide">
  841. <span class="divider">|</span>
  842. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ListView_LeftItem.md&amp;value=---%0Auid%3A%20Terminal.Gui.ListView.LeftItem%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  843. </span>
  844. <span class="small pull-right mobile-hide">
  845. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/Terminal.Gui/Views/ListView.cs/#L219">View Source</a>
  846. </span>
  847. <a id="Terminal_Gui_ListView_LeftItem_" data-uid="Terminal.Gui.ListView.LeftItem*"></a>
  848. <h4 id="Terminal_Gui_ListView_LeftItem" data-uid="Terminal.Gui.ListView.LeftItem">LeftItem</h4>
  849. <div class="markdown level1 summary">
  850. Gets or sets the leftmost column that is currently visible (when scrolling horizontally).
  851. </div>
  852. <div class="markdown level1 conceptual"></div>
  853. <h5 class="decalaration">Declaration</h5>
  854. <div class="codewrapper">
  855. <pre><code class="lang-csharp hljs">public int LeftItem { get; set; }</code></pre>
  856. </div>
  857. <h5 class="propertyValue">Property Value</h5>
  858. <table class="table table-bordered table-striped table-condensed">
  859. <thead>
  860. <tr>
  861. <th>Type</th>
  862. <th>Description</th>
  863. </tr>
  864. </thead>
  865. <tbody>
  866. <tr>
  867. <td><span class="xref">System.Int32</span></td>
  868. <td>The left position.</td>
  869. </tr>
  870. </tbody>
  871. </table>
  872. <span class="small pull-right mobile-hide">
  873. <span class="divider">|</span>
  874. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ListView_Maxlength.md&amp;value=---%0Auid%3A%20Terminal.Gui.ListView.Maxlength%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  875. </span>
  876. <span class="small pull-right mobile-hide">
  877. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/Terminal.Gui/Views/ListView.cs/#L235">View Source</a>
  878. </span>
  879. <a id="Terminal_Gui_ListView_Maxlength_" data-uid="Terminal.Gui.ListView.Maxlength*"></a>
  880. <h4 id="Terminal_Gui_ListView_Maxlength" data-uid="Terminal.Gui.ListView.Maxlength">Maxlength</h4>
  881. <div class="markdown level1 summary">
  882. Gets the widest item in the list.
  883. </div>
  884. <div class="markdown level1 conceptual"></div>
  885. <h5 class="decalaration">Declaration</h5>
  886. <div class="codewrapper">
  887. <pre><code class="lang-csharp hljs">public int Maxlength { get; }</code></pre>
  888. </div>
  889. <h5 class="propertyValue">Property Value</h5>
  890. <table class="table table-bordered table-striped table-condensed">
  891. <thead>
  892. <tr>
  893. <th>Type</th>
  894. <th>Description</th>
  895. </tr>
  896. </thead>
  897. <tbody>
  898. <tr>
  899. <td><span class="xref">System.Int32</span></td>
  900. <td></td>
  901. </tr>
  902. </tbody>
  903. </table>
  904. <span class="small pull-right mobile-hide">
  905. <span class="divider">|</span>
  906. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ListView_SelectedItem.md&amp;value=---%0Auid%3A%20Terminal.Gui.ListView.SelectedItem%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  907. </span>
  908. <span class="small pull-right mobile-hide">
  909. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/Terminal.Gui/Views/ListView.cs/#L241">View Source</a>
  910. </span>
  911. <a id="Terminal_Gui_ListView_SelectedItem_" data-uid="Terminal.Gui.ListView.SelectedItem*"></a>
  912. <h4 id="Terminal_Gui_ListView_SelectedItem" data-uid="Terminal.Gui.ListView.SelectedItem">SelectedItem</h4>
  913. <div class="markdown level1 summary">
  914. Gets or sets the index of the currently selected item.
  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 int SelectedItem { get; set; }</code></pre>
  920. </div>
  921. <h5 class="propertyValue">Property Value</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.Int32</span></td>
  932. <td>The selected item.</td>
  933. </tr>
  934. </tbody>
  935. </table>
  936. <span class="small pull-right mobile-hide">
  937. <span class="divider">|</span>
  938. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ListView_Source.md&amp;value=---%0Auid%3A%20Terminal.Gui.ListView.Source%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  939. </span>
  940. <span class="small pull-right mobile-hide">
  941. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/Terminal.Gui/Views/ListView.cs/#L109">View Source</a>
  942. </span>
  943. <a id="Terminal_Gui_ListView_Source_" data-uid="Terminal.Gui.ListView.Source*"></a>
  944. <h4 id="Terminal_Gui_ListView_Source" data-uid="Terminal.Gui.ListView.Source">Source</h4>
  945. <div class="markdown level1 summary">
  946. 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.
  947. </div>
  948. <div class="markdown level1 conceptual"></div>
  949. <h5 class="decalaration">Declaration</h5>
  950. <div class="codewrapper">
  951. <pre><code class="lang-csharp hljs">public IListDataSource Source { get; set; }</code></pre>
  952. </div>
  953. <h5 class="propertyValue">Property Value</h5>
  954. <table class="table table-bordered table-striped table-condensed">
  955. <thead>
  956. <tr>
  957. <th>Type</th>
  958. <th>Description</th>
  959. </tr>
  960. </thead>
  961. <tbody>
  962. <tr>
  963. <td><a class="xref" href="Terminal.Gui.IListDataSource.html">IListDataSource</a></td>
  964. <td>The source.</td>
  965. </tr>
  966. </tbody>
  967. </table>
  968. <span class="small pull-right mobile-hide">
  969. <span class="divider">|</span>
  970. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ListView_TopItem.md&amp;value=---%0Auid%3A%20Terminal.Gui.ListView.TopItem%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  971. </span>
  972. <span class="small pull-right mobile-hide">
  973. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/Terminal.Gui/Views/ListView.cs/#L202">View Source</a>
  974. </span>
  975. <a id="Terminal_Gui_ListView_TopItem_" data-uid="Terminal.Gui.ListView.TopItem*"></a>
  976. <h4 id="Terminal_Gui_ListView_TopItem" data-uid="Terminal.Gui.ListView.TopItem">TopItem</h4>
  977. <div class="markdown level1 summary">
  978. Gets or sets the item that is displayed at the top of the <a class="xref" href="Terminal.Gui.ListView.html">ListView</a>.
  979. </div>
  980. <div class="markdown level1 conceptual"></div>
  981. <h5 class="decalaration">Declaration</h5>
  982. <div class="codewrapper">
  983. <pre><code class="lang-csharp hljs">public int TopItem { get; set; }</code></pre>
  984. </div>
  985. <h5 class="propertyValue">Property Value</h5>
  986. <table class="table table-bordered table-striped table-condensed">
  987. <thead>
  988. <tr>
  989. <th>Type</th>
  990. <th>Description</th>
  991. </tr>
  992. </thead>
  993. <tbody>
  994. <tr>
  995. <td><span class="xref">System.Int32</span></td>
  996. <td>The top item.</td>
  997. </tr>
  998. </tbody>
  999. </table>
  1000. <h3 id="methods">Methods
  1001. </h3>
  1002. <span class="small pull-right mobile-hide">
  1003. <span class="divider">|</span>
  1004. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ListView_AllowsAll.md&amp;value=---%0Auid%3A%20Terminal.Gui.ListView.AllowsAll%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1005. </span>
  1006. <span class="small pull-right mobile-hide">
  1007. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/Terminal.Gui/Views/ListView.cs/#L447">View Source</a>
  1008. </span>
  1009. <a id="Terminal_Gui_ListView_AllowsAll_" data-uid="Terminal.Gui.ListView.AllowsAll*"></a>
  1010. <h4 id="Terminal_Gui_ListView_AllowsAll" data-uid="Terminal.Gui.ListView.AllowsAll">AllowsAll()</h4>
  1011. <div class="markdown level1 summary">
  1012. If <a class="xref" href="Terminal.Gui.ListView.html#Terminal_Gui_ListView_AllowsMarking">AllowsMarking</a> and <a class="xref" href="Terminal.Gui.ListView.html#Terminal_Gui_ListView_AllowsMultipleSelection">AllowsMultipleSelection</a> are both <span class="xref">true</span>,
  1013. unmarks all marked items other than the currently selected.
  1014. </div>
  1015. <div class="markdown level1 conceptual"></div>
  1016. <h5 class="decalaration">Declaration</h5>
  1017. <div class="codewrapper">
  1018. <pre><code class="lang-csharp hljs">public virtual bool AllowsAll()</code></pre>
  1019. </div>
  1020. <h5 class="returns">Returns</h5>
  1021. <table class="table table-bordered table-striped table-condensed">
  1022. <thead>
  1023. <tr>
  1024. <th>Type</th>
  1025. <th>Description</th>
  1026. </tr>
  1027. </thead>
  1028. <tbody>
  1029. <tr>
  1030. <td><span class="xref">System.Boolean</span></td>
  1031. <td><span class="xref">true</span> if unmarking was successful.</td>
  1032. </tr>
  1033. </tbody>
  1034. </table>
  1035. <span class="small pull-right mobile-hide">
  1036. <span class="divider">|</span>
  1037. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ListView_EnsureSelectedItemVisible.md&amp;value=---%0Auid%3A%20Terminal.Gui.ListView.EnsureSelectedItemVisible%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1038. </span>
  1039. <span class="small pull-right mobile-hide">
  1040. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/Terminal.Gui/Views/ListView.cs/#L749">View Source</a>
  1041. </span>
  1042. <a id="Terminal_Gui_ListView_EnsureSelectedItemVisible_" data-uid="Terminal.Gui.ListView.EnsureSelectedItemVisible*"></a>
  1043. <h4 id="Terminal_Gui_ListView_EnsureSelectedItemVisible" data-uid="Terminal.Gui.ListView.EnsureSelectedItemVisible">EnsureSelectedItemVisible()</h4>
  1044. <div class="markdown level1 summary">
  1045. Ensures the selected item is always visible on the screen.
  1046. </div>
  1047. <div class="markdown level1 conceptual"></div>
  1048. <h5 class="decalaration">Declaration</h5>
  1049. <div class="codewrapper">
  1050. <pre><code class="lang-csharp hljs">public void EnsureSelectedItemVisible()</code></pre>
  1051. </div>
  1052. <span class="small pull-right mobile-hide">
  1053. <span class="divider">|</span>
  1054. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ListView_MarkUnmarkRow.md&amp;value=---%0Auid%3A%20Terminal.Gui.ListView.MarkUnmarkRow%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1055. </span>
  1056. <span class="small pull-right mobile-hide">
  1057. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/Terminal.Gui/Views/ListView.cs/#L466">View Source</a>
  1058. </span>
  1059. <a id="Terminal_Gui_ListView_MarkUnmarkRow_" data-uid="Terminal.Gui.ListView.MarkUnmarkRow*"></a>
  1060. <h4 id="Terminal_Gui_ListView_MarkUnmarkRow" data-uid="Terminal.Gui.ListView.MarkUnmarkRow">MarkUnmarkRow()</h4>
  1061. <div class="markdown level1 summary">
  1062. Marks the <a class="xref" href="Terminal.Gui.ListView.html#Terminal_Gui_ListView_SelectedItem">SelectedItem</a> if it is not already marked.
  1063. </div>
  1064. <div class="markdown level1 conceptual"></div>
  1065. <h5 class="decalaration">Declaration</h5>
  1066. <div class="codewrapper">
  1067. <pre><code class="lang-csharp hljs">public virtual bool MarkUnmarkRow()</code></pre>
  1068. </div>
  1069. <h5 class="returns">Returns</h5>
  1070. <table class="table table-bordered table-striped table-condensed">
  1071. <thead>
  1072. <tr>
  1073. <th>Type</th>
  1074. <th>Description</th>
  1075. </tr>
  1076. </thead>
  1077. <tbody>
  1078. <tr>
  1079. <td><span class="xref">System.Boolean</span></td>
  1080. <td><span class="xref">true</span> if the <a class="xref" href="Terminal.Gui.ListView.html#Terminal_Gui_ListView_SelectedItem">SelectedItem</a> was marked.</td>
  1081. </tr>
  1082. </tbody>
  1083. </table>
  1084. <span class="small pull-right mobile-hide">
  1085. <span class="divider">|</span>
  1086. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ListView_MouseEvent_Terminal_Gui_MouseEvent_.md&amp;value=---%0Auid%3A%20Terminal.Gui.ListView.MouseEvent(Terminal.Gui.MouseEvent)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1087. </span>
  1088. <span class="small pull-right mobile-hide">
  1089. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/Terminal.Gui/Views/ListView.cs/#L769">View Source</a>
  1090. </span>
  1091. <a id="Terminal_Gui_ListView_MouseEvent_" data-uid="Terminal.Gui.ListView.MouseEvent*"></a>
  1092. <h4 id="Terminal_Gui_ListView_MouseEvent_Terminal_Gui_MouseEvent_" data-uid="Terminal.Gui.ListView.MouseEvent(Terminal.Gui.MouseEvent)">MouseEvent(MouseEvent)</h4>
  1093. <div class="markdown level1 summary">
  1094. Method invoked when a mouse event is generated
  1095. </div>
  1096. <div class="markdown level1 conceptual"></div>
  1097. <h5 class="decalaration">Declaration</h5>
  1098. <div class="codewrapper">
  1099. <pre><code class="lang-csharp hljs">public override bool MouseEvent(MouseEvent me)</code></pre>
  1100. </div>
  1101. <h5 class="parameters">Parameters</h5>
  1102. <table class="table table-bordered table-striped table-condensed">
  1103. <thead>
  1104. <tr>
  1105. <th>Type</th>
  1106. <th>Name</th>
  1107. <th>Description</th>
  1108. </tr>
  1109. </thead>
  1110. <tbody>
  1111. <tr>
  1112. <td><a class="xref" href="Terminal.Gui.MouseEvent.html">MouseEvent</a></td>
  1113. <td><span class="parametername">me</span></td>
  1114. <td></td>
  1115. </tr>
  1116. </tbody>
  1117. </table>
  1118. <h5 class="returns">Returns</h5>
  1119. <table class="table table-bordered table-striped table-condensed">
  1120. <thead>
  1121. <tr>
  1122. <th>Type</th>
  1123. <th>Description</th>
  1124. </tr>
  1125. </thead>
  1126. <tbody>
  1127. <tr>
  1128. <td><span class="xref">System.Boolean</span></td>
  1129. <td><code>true</code>, if the event was handled, <code>false</code> otherwise.</td>
  1130. </tr>
  1131. </tbody>
  1132. </table>
  1133. <h5 class="overrides">Overrides</h5>
  1134. <div><a class="xref" href="Terminal.Gui.Responder.html#Terminal_Gui_Responder_MouseEvent_Terminal_Gui_MouseEvent_">Responder.MouseEvent(MouseEvent)</a></div>
  1135. <span class="small pull-right mobile-hide">
  1136. <span class="divider">|</span>
  1137. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ListView_MoveDown.md&amp;value=---%0Auid%3A%20Terminal.Gui.ListView.MoveDown%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1138. </span>
  1139. <span class="small pull-right mobile-hide">
  1140. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/Terminal.Gui/Views/ListView.cs/#L524">View Source</a>
  1141. </span>
  1142. <a id="Terminal_Gui_ListView_MoveDown_" data-uid="Terminal.Gui.ListView.MoveDown*"></a>
  1143. <h4 id="Terminal_Gui_ListView_MoveDown" data-uid="Terminal.Gui.ListView.MoveDown">MoveDown()</h4>
  1144. <div class="markdown level1 summary">
  1145. Changes the <a class="xref" href="Terminal.Gui.ListView.html#Terminal_Gui_ListView_SelectedItem">SelectedItem</a> to the next item in the list,
  1146. scrolling the list if needed.
  1147. </div>
  1148. <div class="markdown level1 conceptual"></div>
  1149. <h5 class="decalaration">Declaration</h5>
  1150. <div class="codewrapper">
  1151. <pre><code class="lang-csharp hljs">public virtual bool MoveDown()</code></pre>
  1152. </div>
  1153. <h5 class="returns">Returns</h5>
  1154. <table class="table table-bordered table-striped table-condensed">
  1155. <thead>
  1156. <tr>
  1157. <th>Type</th>
  1158. <th>Description</th>
  1159. </tr>
  1160. </thead>
  1161. <tbody>
  1162. <tr>
  1163. <td><span class="xref">System.Boolean</span></td>
  1164. <td></td>
  1165. </tr>
  1166. </tbody>
  1167. </table>
  1168. <span class="small pull-right mobile-hide">
  1169. <span class="divider">|</span>
  1170. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ListView_MoveEnd.md&amp;value=---%0Auid%3A%20Terminal.Gui.ListView.MoveEnd%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1171. </span>
  1172. <span class="small pull-right mobile-hide">
  1173. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/Terminal.Gui/Views/ListView.cs/#L602">View Source</a>
  1174. </span>
  1175. <a id="Terminal_Gui_ListView_MoveEnd_" data-uid="Terminal.Gui.ListView.MoveEnd*"></a>
  1176. <h4 id="Terminal_Gui_ListView_MoveEnd" data-uid="Terminal.Gui.ListView.MoveEnd">MoveEnd()</h4>
  1177. <div class="markdown level1 summary">
  1178. Changes the <a class="xref" href="Terminal.Gui.ListView.html#Terminal_Gui_ListView_SelectedItem">SelectedItem</a> to last item in the list,
  1179. scrolling the list if needed.
  1180. </div>
  1181. <div class="markdown level1 conceptual"></div>
  1182. <h5 class="decalaration">Declaration</h5>
  1183. <div class="codewrapper">
  1184. <pre><code class="lang-csharp hljs">public virtual bool MoveEnd()</code></pre>
  1185. </div>
  1186. <h5 class="returns">Returns</h5>
  1187. <table class="table table-bordered table-striped table-condensed">
  1188. <thead>
  1189. <tr>
  1190. <th>Type</th>
  1191. <th>Description</th>
  1192. </tr>
  1193. </thead>
  1194. <tbody>
  1195. <tr>
  1196. <td><span class="xref">System.Boolean</span></td>
  1197. <td></td>
  1198. </tr>
  1199. </tbody>
  1200. </table>
  1201. <span class="small pull-right mobile-hide">
  1202. <span class="divider">|</span>
  1203. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ListView_MoveHome.md&amp;value=---%0Auid%3A%20Terminal.Gui.ListView.MoveHome%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1204. </span>
  1205. <span class="small pull-right mobile-hide">
  1206. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/Terminal.Gui/Views/ListView.cs/#L621">View Source</a>
  1207. </span>
  1208. <a id="Terminal_Gui_ListView_MoveHome_" data-uid="Terminal.Gui.ListView.MoveHome*"></a>
  1209. <h4 id="Terminal_Gui_ListView_MoveHome" data-uid="Terminal.Gui.ListView.MoveHome">MoveHome()</h4>
  1210. <div class="markdown level1 summary">
  1211. Changes the <a class="xref" href="Terminal.Gui.ListView.html#Terminal_Gui_ListView_SelectedItem">SelectedItem</a> to the first item in the list,
  1212. scrolling the list if needed.
  1213. </div>
  1214. <div class="markdown level1 conceptual"></div>
  1215. <h5 class="decalaration">Declaration</h5>
  1216. <div class="codewrapper">
  1217. <pre><code class="lang-csharp hljs">public virtual bool MoveHome()</code></pre>
  1218. </div>
  1219. <h5 class="returns">Returns</h5>
  1220. <table class="table table-bordered table-striped table-condensed">
  1221. <thead>
  1222. <tr>
  1223. <th>Type</th>
  1224. <th>Description</th>
  1225. </tr>
  1226. </thead>
  1227. <tbody>
  1228. <tr>
  1229. <td><span class="xref">System.Boolean</span></td>
  1230. <td></td>
  1231. </tr>
  1232. </tbody>
  1233. </table>
  1234. <span class="small pull-right mobile-hide">
  1235. <span class="divider">|</span>
  1236. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ListView_MovePageDown.md&amp;value=---%0Auid%3A%20Terminal.Gui.ListView.MovePageDown%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1237. </span>
  1238. <span class="small pull-right mobile-hide">
  1239. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/Terminal.Gui/Views/ListView.cs/#L501">View Source</a>
  1240. </span>
  1241. <a id="Terminal_Gui_ListView_MovePageDown_" data-uid="Terminal.Gui.ListView.MovePageDown*"></a>
  1242. <h4 id="Terminal_Gui_ListView_MovePageDown" data-uid="Terminal.Gui.ListView.MovePageDown">MovePageDown()</h4>
  1243. <div class="markdown level1 summary">
  1244. Changes the <a class="xref" href="Terminal.Gui.ListView.html#Terminal_Gui_ListView_SelectedItem">SelectedItem</a> to the item just below the bottom
  1245. of the visible list, scrolling if needed.
  1246. </div>
  1247. <div class="markdown level1 conceptual"></div>
  1248. <h5 class="decalaration">Declaration</h5>
  1249. <div class="codewrapper">
  1250. <pre><code class="lang-csharp hljs">public virtual bool MovePageDown()</code></pre>
  1251. </div>
  1252. <h5 class="returns">Returns</h5>
  1253. <table class="table table-bordered table-striped table-condensed">
  1254. <thead>
  1255. <tr>
  1256. <th>Type</th>
  1257. <th>Description</th>
  1258. </tr>
  1259. </thead>
  1260. <tbody>
  1261. <tr>
  1262. <td><span class="xref">System.Boolean</span></td>
  1263. <td></td>
  1264. </tr>
  1265. </tbody>
  1266. </table>
  1267. <span class="small pull-right mobile-hide">
  1268. <span class="divider">|</span>
  1269. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ListView_MovePageUp.md&amp;value=---%0Auid%3A%20Terminal.Gui.ListView.MovePageUp%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1270. </span>
  1271. <span class="small pull-right mobile-hide">
  1272. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/Terminal.Gui/Views/ListView.cs/#L481">View Source</a>
  1273. </span>
  1274. <a id="Terminal_Gui_ListView_MovePageUp_" data-uid="Terminal.Gui.ListView.MovePageUp*"></a>
  1275. <h4 id="Terminal_Gui_ListView_MovePageUp" data-uid="Terminal.Gui.ListView.MovePageUp">MovePageUp()</h4>
  1276. <div class="markdown level1 summary">
  1277. Changes the <a class="xref" href="Terminal.Gui.ListView.html#Terminal_Gui_ListView_SelectedItem">SelectedItem</a> to the item at the top of the visible list.
  1278. </div>
  1279. <div class="markdown level1 conceptual"></div>
  1280. <h5 class="decalaration">Declaration</h5>
  1281. <div class="codewrapper">
  1282. <pre><code class="lang-csharp hljs">public virtual bool MovePageUp()</code></pre>
  1283. </div>
  1284. <h5 class="returns">Returns</h5>
  1285. <table class="table table-bordered table-striped table-condensed">
  1286. <thead>
  1287. <tr>
  1288. <th>Type</th>
  1289. <th>Description</th>
  1290. </tr>
  1291. </thead>
  1292. <tbody>
  1293. <tr>
  1294. <td><span class="xref">System.Boolean</span></td>
  1295. <td></td>
  1296. </tr>
  1297. </tbody>
  1298. </table>
  1299. <span class="small pull-right mobile-hide">
  1300. <span class="divider">|</span>
  1301. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ListView_MoveUp.md&amp;value=---%0Auid%3A%20Terminal.Gui.ListView.MoveUp%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1302. </span>
  1303. <span class="small pull-right mobile-hide">
  1304. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/Terminal.Gui/Views/ListView.cs/#L565">View Source</a>
  1305. </span>
  1306. <a id="Terminal_Gui_ListView_MoveUp_" data-uid="Terminal.Gui.ListView.MoveUp*"></a>
  1307. <h4 id="Terminal_Gui_ListView_MoveUp" data-uid="Terminal.Gui.ListView.MoveUp">MoveUp()</h4>
  1308. <div class="markdown level1 summary">
  1309. Changes the <a class="xref" href="Terminal.Gui.ListView.html#Terminal_Gui_ListView_SelectedItem">SelectedItem</a> to the previous item in the list,
  1310. scrolling the list if needed.
  1311. </div>
  1312. <div class="markdown level1 conceptual"></div>
  1313. <h5 class="decalaration">Declaration</h5>
  1314. <div class="codewrapper">
  1315. <pre><code class="lang-csharp hljs">public virtual bool MoveUp()</code></pre>
  1316. </div>
  1317. <h5 class="returns">Returns</h5>
  1318. <table class="table table-bordered table-striped table-condensed">
  1319. <thead>
  1320. <tr>
  1321. <th>Type</th>
  1322. <th>Description</th>
  1323. </tr>
  1324. </thead>
  1325. <tbody>
  1326. <tr>
  1327. <td><span class="xref">System.Boolean</span></td>
  1328. <td></td>
  1329. </tr>
  1330. </tbody>
  1331. </table>
  1332. <span class="small pull-right mobile-hide">
  1333. <span class="divider">|</span>
  1334. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ListView_OnEnter_Terminal_Gui_View_.md&amp;value=---%0Auid%3A%20Terminal.Gui.ListView.OnEnter(Terminal.Gui.View)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1335. </span>
  1336. <span class="small pull-right mobile-hide">
  1337. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/Terminal.Gui/Views/ListView.cs/#L725">View Source</a>
  1338. </span>
  1339. <a id="Terminal_Gui_ListView_OnEnter_" data-uid="Terminal.Gui.ListView.OnEnter*"></a>
  1340. <h4 id="Terminal_Gui_ListView_OnEnter_Terminal_Gui_View_" data-uid="Terminal.Gui.ListView.OnEnter(Terminal.Gui.View)">OnEnter(View)</h4>
  1341. <div class="markdown level1 summary">
  1342. Method invoked when a view gets focus.
  1343. </div>
  1344. <div class="markdown level1 conceptual"></div>
  1345. <h5 class="decalaration">Declaration</h5>
  1346. <div class="codewrapper">
  1347. <pre><code class="lang-csharp hljs">public override bool OnEnter(View view)</code></pre>
  1348. </div>
  1349. <h5 class="parameters">Parameters</h5>
  1350. <table class="table table-bordered table-striped table-condensed">
  1351. <thead>
  1352. <tr>
  1353. <th>Type</th>
  1354. <th>Name</th>
  1355. <th>Description</th>
  1356. </tr>
  1357. </thead>
  1358. <tbody>
  1359. <tr>
  1360. <td><a class="xref" href="Terminal.Gui.View.html">View</a></td>
  1361. <td><span class="parametername">view</span></td>
  1362. <td>The view that is losing focus.</td>
  1363. </tr>
  1364. </tbody>
  1365. </table>
  1366. <h5 class="returns">Returns</h5>
  1367. <table class="table table-bordered table-striped table-condensed">
  1368. <thead>
  1369. <tr>
  1370. <th>Type</th>
  1371. <th>Description</th>
  1372. </tr>
  1373. </thead>
  1374. <tbody>
  1375. <tr>
  1376. <td><span class="xref">System.Boolean</span></td>
  1377. <td><code>true</code>, if the event was handled, <code>false</code> otherwise.</td>
  1378. </tr>
  1379. </tbody>
  1380. </table>
  1381. <h5 class="overrides">Overrides</h5>
  1382. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnEnter_Terminal_Gui_View_">View.OnEnter(View)</a></div>
  1383. <span class="small pull-right mobile-hide">
  1384. <span class="divider">|</span>
  1385. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ListView_OnLeave_Terminal_Gui_View_.md&amp;value=---%0Auid%3A%20Terminal.Gui.ListView.OnLeave(Terminal.Gui.View)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1386. </span>
  1387. <span class="small pull-right mobile-hide">
  1388. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/Terminal.Gui/Views/ListView.cs/#L737">View Source</a>
  1389. </span>
  1390. <a id="Terminal_Gui_ListView_OnLeave_" data-uid="Terminal.Gui.ListView.OnLeave*"></a>
  1391. <h4 id="Terminal_Gui_ListView_OnLeave_Terminal_Gui_View_" data-uid="Terminal.Gui.ListView.OnLeave(Terminal.Gui.View)">OnLeave(View)</h4>
  1392. <div class="markdown level1 summary">
  1393. Method invoked when a view loses focus.
  1394. </div>
  1395. <div class="markdown level1 conceptual"></div>
  1396. <h5 class="decalaration">Declaration</h5>
  1397. <div class="codewrapper">
  1398. <pre><code class="lang-csharp hljs">public override bool OnLeave(View view)</code></pre>
  1399. </div>
  1400. <h5 class="parameters">Parameters</h5>
  1401. <table class="table table-bordered table-striped table-condensed">
  1402. <thead>
  1403. <tr>
  1404. <th>Type</th>
  1405. <th>Name</th>
  1406. <th>Description</th>
  1407. </tr>
  1408. </thead>
  1409. <tbody>
  1410. <tr>
  1411. <td><a class="xref" href="Terminal.Gui.View.html">View</a></td>
  1412. <td><span class="parametername">view</span></td>
  1413. <td>The view that is getting focus.</td>
  1414. </tr>
  1415. </tbody>
  1416. </table>
  1417. <h5 class="returns">Returns</h5>
  1418. <table class="table table-bordered table-striped table-condensed">
  1419. <thead>
  1420. <tr>
  1421. <th>Type</th>
  1422. <th>Description</th>
  1423. </tr>
  1424. </thead>
  1425. <tbody>
  1426. <tr>
  1427. <td><span class="xref">System.Boolean</span></td>
  1428. <td><code>true</code>, if the event was handled, <code>false</code> otherwise.</td>
  1429. </tr>
  1430. </tbody>
  1431. </table>
  1432. <h5 class="overrides">Overrides</h5>
  1433. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnLeave_Terminal_Gui_View_">View.OnLeave(View)</a></div>
  1434. <span class="small pull-right mobile-hide">
  1435. <span class="divider">|</span>
  1436. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ListView_OnOpenSelectedItem.md&amp;value=---%0Auid%3A%20Terminal.Gui.ListView.OnOpenSelectedItem%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1437. </span>
  1438. <span class="small pull-right mobile-hide">
  1439. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/Terminal.Gui/Views/ListView.cs/#L702">View Source</a>
  1440. </span>
  1441. <a id="Terminal_Gui_ListView_OnOpenSelectedItem_" data-uid="Terminal.Gui.ListView.OnOpenSelectedItem*"></a>
  1442. <h4 id="Terminal_Gui_ListView_OnOpenSelectedItem" data-uid="Terminal.Gui.ListView.OnOpenSelectedItem">OnOpenSelectedItem()</h4>
  1443. <div class="markdown level1 summary">
  1444. Invokes the <a class="xref" href="Terminal.Gui.ListView.html#Terminal_Gui_ListView_OpenSelectedItem">OpenSelectedItem</a> event if it is defined.
  1445. </div>
  1446. <div class="markdown level1 conceptual"></div>
  1447. <h5 class="decalaration">Declaration</h5>
  1448. <div class="codewrapper">
  1449. <pre><code class="lang-csharp hljs">public virtual bool OnOpenSelectedItem()</code></pre>
  1450. </div>
  1451. <h5 class="returns">Returns</h5>
  1452. <table class="table table-bordered table-striped table-condensed">
  1453. <thead>
  1454. <tr>
  1455. <th>Type</th>
  1456. <th>Description</th>
  1457. </tr>
  1458. </thead>
  1459. <tbody>
  1460. <tr>
  1461. <td><span class="xref">System.Boolean</span></td>
  1462. <td></td>
  1463. </tr>
  1464. </tbody>
  1465. </table>
  1466. <span class="small pull-right mobile-hide">
  1467. <span class="divider">|</span>
  1468. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ListView_OnRowRender_Terminal_Gui_ListViewRowEventArgs_.md&amp;value=---%0Auid%3A%20Terminal.Gui.ListView.OnRowRender(Terminal.Gui.ListViewRowEventArgs)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1469. </span>
  1470. <span class="small pull-right mobile-hide">
  1471. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/Terminal.Gui/Views/ListView.cs/#L719">View Source</a>
  1472. </span>
  1473. <a id="Terminal_Gui_ListView_OnRowRender_" data-uid="Terminal.Gui.ListView.OnRowRender*"></a>
  1474. <h4 id="Terminal_Gui_ListView_OnRowRender_Terminal_Gui_ListViewRowEventArgs_" data-uid="Terminal.Gui.ListView.OnRowRender(Terminal.Gui.ListViewRowEventArgs)">OnRowRender(ListViewRowEventArgs)</h4>
  1475. <div class="markdown level1 summary">
  1476. Virtual method that will invoke the <a class="xref" href="Terminal.Gui.ListView.html#Terminal_Gui_ListView_RowRender">RowRender</a>.
  1477. </div>
  1478. <div class="markdown level1 conceptual"></div>
  1479. <h5 class="decalaration">Declaration</h5>
  1480. <div class="codewrapper">
  1481. <pre><code class="lang-csharp hljs">public virtual void OnRowRender(ListViewRowEventArgs rowEventArgs)</code></pre>
  1482. </div>
  1483. <h5 class="parameters">Parameters</h5>
  1484. <table class="table table-bordered table-striped table-condensed">
  1485. <thead>
  1486. <tr>
  1487. <th>Type</th>
  1488. <th>Name</th>
  1489. <th>Description</th>
  1490. </tr>
  1491. </thead>
  1492. <tbody>
  1493. <tr>
  1494. <td><a class="xref" href="Terminal.Gui.ListViewRowEventArgs.html">ListViewRowEventArgs</a></td>
  1495. <td><span class="parametername">rowEventArgs</span></td>
  1496. <td></td>
  1497. </tr>
  1498. </tbody>
  1499. </table>
  1500. <span class="small pull-right mobile-hide">
  1501. <span class="divider">|</span>
  1502. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ListView_OnSelectedChanged.md&amp;value=---%0Auid%3A%20Terminal.Gui.ListView.OnSelectedChanged%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1503. </span>
  1504. <span class="small pull-right mobile-hide">
  1505. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/Terminal.Gui/Views/ListView.cs/#L684">View Source</a>
  1506. </span>
  1507. <a id="Terminal_Gui_ListView_OnSelectedChanged_" data-uid="Terminal.Gui.ListView.OnSelectedChanged*"></a>
  1508. <h4 id="Terminal_Gui_ListView_OnSelectedChanged" data-uid="Terminal.Gui.ListView.OnSelectedChanged">OnSelectedChanged()</h4>
  1509. <div class="markdown level1 summary">
  1510. Invokes the <a class="xref" href="Terminal.Gui.ListView.html#Terminal_Gui_ListView_SelectedItemChanged">SelectedItemChanged</a> event if it is defined.
  1511. </div>
  1512. <div class="markdown level1 conceptual"></div>
  1513. <h5 class="decalaration">Declaration</h5>
  1514. <div class="codewrapper">
  1515. <pre><code class="lang-csharp hljs">public virtual bool OnSelectedChanged()</code></pre>
  1516. </div>
  1517. <h5 class="returns">Returns</h5>
  1518. <table class="table table-bordered table-striped table-condensed">
  1519. <thead>
  1520. <tr>
  1521. <th>Type</th>
  1522. <th>Description</th>
  1523. </tr>
  1524. </thead>
  1525. <tbody>
  1526. <tr>
  1527. <td><span class="xref">System.Boolean</span></td>
  1528. <td></td>
  1529. </tr>
  1530. </tbody>
  1531. </table>
  1532. <span class="small pull-right mobile-hide">
  1533. <span class="divider">|</span>
  1534. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ListView_PositionCursor.md&amp;value=---%0Auid%3A%20Terminal.Gui.ListView.PositionCursor%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1535. </span>
  1536. <span class="small pull-right mobile-hide">
  1537. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/Terminal.Gui/Views/ListView.cs/#L760">View Source</a>
  1538. </span>
  1539. <a id="Terminal_Gui_ListView_PositionCursor_" data-uid="Terminal.Gui.ListView.PositionCursor*"></a>
  1540. <h4 id="Terminal_Gui_ListView_PositionCursor" data-uid="Terminal.Gui.ListView.PositionCursor">PositionCursor()</h4>
  1541. <div class="markdown level1 summary">
  1542. Positions the cursor in the right position based on the currently focused view in the chain.
  1543. </div>
  1544. <div class="markdown level1 conceptual"></div>
  1545. <h5 class="decalaration">Declaration</h5>
  1546. <div class="codewrapper">
  1547. <pre><code class="lang-csharp hljs">public override void PositionCursor()</code></pre>
  1548. </div>
  1549. <h5 class="overrides">Overrides</h5>
  1550. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_PositionCursor">View.PositionCursor()</a></div>
  1551. <span class="small pull-right mobile-hide">
  1552. <span class="divider">|</span>
  1553. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ListView_ProcessKey_Terminal_Gui_KeyEvent_.md&amp;value=---%0Auid%3A%20Terminal.Gui.ListView.ProcessKey(Terminal.Gui.KeyEvent)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1554. </span>
  1555. <span class="small pull-right mobile-hide">
  1556. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/Terminal.Gui/Views/ListView.cs/#L417">View Source</a>
  1557. </span>
  1558. <a id="Terminal_Gui_ListView_ProcessKey_" data-uid="Terminal.Gui.ListView.ProcessKey*"></a>
  1559. <h4 id="Terminal_Gui_ListView_ProcessKey_Terminal_Gui_KeyEvent_" data-uid="Terminal.Gui.ListView.ProcessKey(Terminal.Gui.KeyEvent)">ProcessKey(KeyEvent)</h4>
  1560. <div class="markdown level1 summary">
  1561. If the view is focused, gives the view a
  1562. chance to process the keystroke.
  1563. </div>
  1564. <div class="markdown level1 conceptual"></div>
  1565. <h5 class="decalaration">Declaration</h5>
  1566. <div class="codewrapper">
  1567. <pre><code class="lang-csharp hljs">public override bool ProcessKey(KeyEvent kb)</code></pre>
  1568. </div>
  1569. <h5 class="parameters">Parameters</h5>
  1570. <table class="table table-bordered table-striped table-condensed">
  1571. <thead>
  1572. <tr>
  1573. <th>Type</th>
  1574. <th>Name</th>
  1575. <th>Description</th>
  1576. </tr>
  1577. </thead>
  1578. <tbody>
  1579. <tr>
  1580. <td><a class="xref" href="Terminal.Gui.KeyEvent.html">KeyEvent</a></td>
  1581. <td><span class="parametername">kb</span></td>
  1582. <td></td>
  1583. </tr>
  1584. </tbody>
  1585. </table>
  1586. <h5 class="returns">Returns</h5>
  1587. <table class="table table-bordered table-striped table-condensed">
  1588. <thead>
  1589. <tr>
  1590. <th>Type</th>
  1591. <th>Description</th>
  1592. </tr>
  1593. </thead>
  1594. <tbody>
  1595. <tr>
  1596. <td><span class="xref">System.Boolean</span></td>
  1597. <td></td>
  1598. </tr>
  1599. </tbody>
  1600. </table>
  1601. <h5 class="overrides">Overrides</h5>
  1602. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ProcessKey_Terminal_Gui_KeyEvent_">View.ProcessKey(KeyEvent)</a></div>
  1603. <span class="small pull-right mobile-hide">
  1604. <span class="divider">|</span>
  1605. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ListView_Redraw_Terminal_Gui_Rect_.md&amp;value=---%0Auid%3A%20Terminal.Gui.ListView.Redraw(Terminal.Gui.Rect)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1606. </span>
  1607. <span class="small pull-right mobile-hide">
  1608. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/Terminal.Gui/Views/ListView.cs/#L352">View Source</a>
  1609. </span>
  1610. <a id="Terminal_Gui_ListView_Redraw_" data-uid="Terminal.Gui.ListView.Redraw*"></a>
  1611. <h4 id="Terminal_Gui_ListView_Redraw_Terminal_Gui_Rect_" data-uid="Terminal.Gui.ListView.Redraw(Terminal.Gui.Rect)">Redraw(Rect)</h4>
  1612. <div class="markdown level1 summary">
  1613. Redraws this view and its subviews; only redraws the views that have been flagged for a re-display.
  1614. </div>
  1615. <div class="markdown level1 conceptual"></div>
  1616. <h5 class="decalaration">Declaration</h5>
  1617. <div class="codewrapper">
  1618. <pre><code class="lang-csharp hljs">public override void Redraw(Rect bounds)</code></pre>
  1619. </div>
  1620. <h5 class="parameters">Parameters</h5>
  1621. <table class="table table-bordered table-striped table-condensed">
  1622. <thead>
  1623. <tr>
  1624. <th>Type</th>
  1625. <th>Name</th>
  1626. <th>Description</th>
  1627. </tr>
  1628. </thead>
  1629. <tbody>
  1630. <tr>
  1631. <td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
  1632. <td><span class="parametername">bounds</span></td>
  1633. <td>The bounds (view-relative region) to redraw.</td>
  1634. </tr>
  1635. </tbody>
  1636. </table>
  1637. <h5 class="overrides">Overrides</h5>
  1638. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Redraw_Terminal_Gui_Rect_">View.Redraw(Rect)</a></div>
  1639. <span class="small pull-right mobile-hide">
  1640. <span class="divider">|</span>
  1641. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ListView_ScrollDown_System_Int32_.md&amp;value=---%0Auid%3A%20Terminal.Gui.ListView.ScrollDown(System.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1642. </span>
  1643. <span class="small pull-right mobile-hide">
  1644. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/Terminal.Gui/Views/ListView.cs/#L637">View Source</a>
  1645. </span>
  1646. <a id="Terminal_Gui_ListView_ScrollDown_" data-uid="Terminal.Gui.ListView.ScrollDown*"></a>
  1647. <h4 id="Terminal_Gui_ListView_ScrollDown_System_Int32_" data-uid="Terminal.Gui.ListView.ScrollDown(System.Int32)">ScrollDown(Int32)</h4>
  1648. <div class="markdown level1 summary">
  1649. Scrolls the view down by <code data-dev-comment-type="paramref" class="paramref">items</code> items.
  1650. </div>
  1651. <div class="markdown level1 conceptual"></div>
  1652. <h5 class="decalaration">Declaration</h5>
  1653. <div class="codewrapper">
  1654. <pre><code class="lang-csharp hljs">public virtual bool ScrollDown(int items)</code></pre>
  1655. </div>
  1656. <h5 class="parameters">Parameters</h5>
  1657. <table class="table table-bordered table-striped table-condensed">
  1658. <thead>
  1659. <tr>
  1660. <th>Type</th>
  1661. <th>Name</th>
  1662. <th>Description</th>
  1663. </tr>
  1664. </thead>
  1665. <tbody>
  1666. <tr>
  1667. <td><span class="xref">System.Int32</span></td>
  1668. <td><span class="parametername">items</span></td>
  1669. <td>Number of items to scroll down.</td>
  1670. </tr>
  1671. </tbody>
  1672. </table>
  1673. <h5 class="returns">Returns</h5>
  1674. <table class="table table-bordered table-striped table-condensed">
  1675. <thead>
  1676. <tr>
  1677. <th>Type</th>
  1678. <th>Description</th>
  1679. </tr>
  1680. </thead>
  1681. <tbody>
  1682. <tr>
  1683. <td><span class="xref">System.Boolean</span></td>
  1684. <td></td>
  1685. </tr>
  1686. </tbody>
  1687. </table>
  1688. <span class="small pull-right mobile-hide">
  1689. <span class="divider">|</span>
  1690. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ListView_ScrollLeft_System_Int32_.md&amp;value=---%0Auid%3A%20Terminal.Gui.ListView.ScrollLeft(System.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1691. </span>
  1692. <span class="small pull-right mobile-hide">
  1693. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/Terminal.Gui/Views/ListView.cs/#L670">View Source</a>
  1694. </span>
  1695. <a id="Terminal_Gui_ListView_ScrollLeft_" data-uid="Terminal.Gui.ListView.ScrollLeft*"></a>
  1696. <h4 id="Terminal_Gui_ListView_ScrollLeft_System_Int32_" data-uid="Terminal.Gui.ListView.ScrollLeft(System.Int32)">ScrollLeft(Int32)</h4>
  1697. <div class="markdown level1 summary">
  1698. Scrolls the view left.
  1699. </div>
  1700. <div class="markdown level1 conceptual"></div>
  1701. <h5 class="decalaration">Declaration</h5>
  1702. <div class="codewrapper">
  1703. <pre><code class="lang-csharp hljs">public virtual bool ScrollLeft(int cols)</code></pre>
  1704. </div>
  1705. <h5 class="parameters">Parameters</h5>
  1706. <table class="table table-bordered table-striped table-condensed">
  1707. <thead>
  1708. <tr>
  1709. <th>Type</th>
  1710. <th>Name</th>
  1711. <th>Description</th>
  1712. </tr>
  1713. </thead>
  1714. <tbody>
  1715. <tr>
  1716. <td><span class="xref">System.Int32</span></td>
  1717. <td><span class="parametername">cols</span></td>
  1718. <td>Number of columns to scroll left.</td>
  1719. </tr>
  1720. </tbody>
  1721. </table>
  1722. <h5 class="returns">Returns</h5>
  1723. <table class="table table-bordered table-striped table-condensed">
  1724. <thead>
  1725. <tr>
  1726. <th>Type</th>
  1727. <th>Description</th>
  1728. </tr>
  1729. </thead>
  1730. <tbody>
  1731. <tr>
  1732. <td><span class="xref">System.Boolean</span></td>
  1733. <td></td>
  1734. </tr>
  1735. </tbody>
  1736. </table>
  1737. <span class="small pull-right mobile-hide">
  1738. <span class="divider">|</span>
  1739. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ListView_ScrollRight_System_Int32_.md&amp;value=---%0Auid%3A%20Terminal.Gui.ListView.ScrollRight(System.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1740. </span>
  1741. <span class="small pull-right mobile-hide">
  1742. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/Terminal.Gui/Views/ListView.cs/#L659">View Source</a>
  1743. </span>
  1744. <a id="Terminal_Gui_ListView_ScrollRight_" data-uid="Terminal.Gui.ListView.ScrollRight*"></a>
  1745. <h4 id="Terminal_Gui_ListView_ScrollRight_System_Int32_" data-uid="Terminal.Gui.ListView.ScrollRight(System.Int32)">ScrollRight(Int32)</h4>
  1746. <div class="markdown level1 summary">
  1747. Scrolls the view right.
  1748. </div>
  1749. <div class="markdown level1 conceptual"></div>
  1750. <h5 class="decalaration">Declaration</h5>
  1751. <div class="codewrapper">
  1752. <pre><code class="lang-csharp hljs">public virtual bool ScrollRight(int cols)</code></pre>
  1753. </div>
  1754. <h5 class="parameters">Parameters</h5>
  1755. <table class="table table-bordered table-striped table-condensed">
  1756. <thead>
  1757. <tr>
  1758. <th>Type</th>
  1759. <th>Name</th>
  1760. <th>Description</th>
  1761. </tr>
  1762. </thead>
  1763. <tbody>
  1764. <tr>
  1765. <td><span class="xref">System.Int32</span></td>
  1766. <td><span class="parametername">cols</span></td>
  1767. <td>Number of columns to scroll right.</td>
  1768. </tr>
  1769. </tbody>
  1770. </table>
  1771. <h5 class="returns">Returns</h5>
  1772. <table class="table table-bordered table-striped table-condensed">
  1773. <thead>
  1774. <tr>
  1775. <th>Type</th>
  1776. <th>Description</th>
  1777. </tr>
  1778. </thead>
  1779. <tbody>
  1780. <tr>
  1781. <td><span class="xref">System.Boolean</span></td>
  1782. <td></td>
  1783. </tr>
  1784. </tbody>
  1785. </table>
  1786. <span class="small pull-right mobile-hide">
  1787. <span class="divider">|</span>
  1788. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ListView_ScrollUp_System_Int32_.md&amp;value=---%0Auid%3A%20Terminal.Gui.ListView.ScrollUp(System.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1789. </span>
  1790. <span class="small pull-right mobile-hide">
  1791. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/Terminal.Gui/Views/ListView.cs/#L648">View Source</a>
  1792. </span>
  1793. <a id="Terminal_Gui_ListView_ScrollUp_" data-uid="Terminal.Gui.ListView.ScrollUp*"></a>
  1794. <h4 id="Terminal_Gui_ListView_ScrollUp_System_Int32_" data-uid="Terminal.Gui.ListView.ScrollUp(System.Int32)">ScrollUp(Int32)</h4>
  1795. <div class="markdown level1 summary">
  1796. Scrolls the view up by <code data-dev-comment-type="paramref" class="paramref">items</code> items.
  1797. </div>
  1798. <div class="markdown level1 conceptual"></div>
  1799. <h5 class="decalaration">Declaration</h5>
  1800. <div class="codewrapper">
  1801. <pre><code class="lang-csharp hljs">public virtual bool ScrollUp(int items)</code></pre>
  1802. </div>
  1803. <h5 class="parameters">Parameters</h5>
  1804. <table class="table table-bordered table-striped table-condensed">
  1805. <thead>
  1806. <tr>
  1807. <th>Type</th>
  1808. <th>Name</th>
  1809. <th>Description</th>
  1810. </tr>
  1811. </thead>
  1812. <tbody>
  1813. <tr>
  1814. <td><span class="xref">System.Int32</span></td>
  1815. <td><span class="parametername">items</span></td>
  1816. <td>Number of items to scroll up.</td>
  1817. </tr>
  1818. </tbody>
  1819. </table>
  1820. <h5 class="returns">Returns</h5>
  1821. <table class="table table-bordered table-striped table-condensed">
  1822. <thead>
  1823. <tr>
  1824. <th>Type</th>
  1825. <th>Description</th>
  1826. </tr>
  1827. </thead>
  1828. <tbody>
  1829. <tr>
  1830. <td><span class="xref">System.Boolean</span></td>
  1831. <td></td>
  1832. </tr>
  1833. </tbody>
  1834. </table>
  1835. <span class="small pull-right mobile-hide">
  1836. <span class="divider">|</span>
  1837. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ListView_SetSource_System_Collections_IList_.md&amp;value=---%0Auid%3A%20Terminal.Gui.ListView.SetSource(System.Collections.IList)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1838. </span>
  1839. <span class="small pull-right mobile-hide">
  1840. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/Terminal.Gui/Views/ListView.cs/#L128">View Source</a>
  1841. </span>
  1842. <a id="Terminal_Gui_ListView_SetSource_" data-uid="Terminal.Gui.ListView.SetSource*"></a>
  1843. <h4 id="Terminal_Gui_ListView_SetSource_System_Collections_IList_" data-uid="Terminal.Gui.ListView.SetSource(System.Collections.IList)">SetSource(IList)</h4>
  1844. <div class="markdown level1 summary">
  1845. Sets the source of the <a class="xref" href="Terminal.Gui.ListView.html">ListView</a> to an <span class="xref">System.Collections.IList</span>.
  1846. </div>
  1847. <div class="markdown level1 conceptual"></div>
  1848. <h5 class="decalaration">Declaration</h5>
  1849. <div class="codewrapper">
  1850. <pre><code class="lang-csharp hljs">public void SetSource(IList source)</code></pre>
  1851. </div>
  1852. <h5 class="parameters">Parameters</h5>
  1853. <table class="table table-bordered table-striped table-condensed">
  1854. <thead>
  1855. <tr>
  1856. <th>Type</th>
  1857. <th>Name</th>
  1858. <th>Description</th>
  1859. </tr>
  1860. </thead>
  1861. <tbody>
  1862. <tr>
  1863. <td><span class="xref">System.Collections.IList</span></td>
  1864. <td><span class="parametername">source</span></td>
  1865. <td></td>
  1866. </tr>
  1867. </tbody>
  1868. </table>
  1869. <span class="small pull-right mobile-hide">
  1870. <span class="divider">|</span>
  1871. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ListView_SetSourceAsync_System_Collections_IList_.md&amp;value=---%0Auid%3A%20Terminal.Gui.ListView.SetSourceAsync(System.Collections.IList)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1872. </span>
  1873. <span class="small pull-right mobile-hide">
  1874. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/Terminal.Gui/Views/ListView.cs/#L144">View Source</a>
  1875. </span>
  1876. <a id="Terminal_Gui_ListView_SetSourceAsync_" data-uid="Terminal.Gui.ListView.SetSourceAsync*"></a>
  1877. <h4 id="Terminal_Gui_ListView_SetSourceAsync_System_Collections_IList_" data-uid="Terminal.Gui.ListView.SetSourceAsync(System.Collections.IList)">SetSourceAsync(IList)</h4>
  1878. <div class="markdown level1 summary">
  1879. Sets the source to an <span class="xref">System.Collections.IList</span> value asynchronously.
  1880. </div>
  1881. <div class="markdown level1 conceptual"></div>
  1882. <h5 class="decalaration">Declaration</h5>
  1883. <div class="codewrapper">
  1884. <pre><code class="lang-csharp hljs">public Task SetSourceAsync(IList source)</code></pre>
  1885. </div>
  1886. <h5 class="parameters">Parameters</h5>
  1887. <table class="table table-bordered table-striped table-condensed">
  1888. <thead>
  1889. <tr>
  1890. <th>Type</th>
  1891. <th>Name</th>
  1892. <th>Description</th>
  1893. </tr>
  1894. </thead>
  1895. <tbody>
  1896. <tr>
  1897. <td><span class="xref">System.Collections.IList</span></td>
  1898. <td><span class="parametername">source</span></td>
  1899. <td></td>
  1900. </tr>
  1901. </tbody>
  1902. </table>
  1903. <h5 class="returns">Returns</h5>
  1904. <table class="table table-bordered table-striped table-condensed">
  1905. <thead>
  1906. <tr>
  1907. <th>Type</th>
  1908. <th>Description</th>
  1909. </tr>
  1910. </thead>
  1911. <tbody>
  1912. <tr>
  1913. <td><span class="xref">System.Threading.Tasks.Task</span></td>
  1914. <td>An item implementing the IList interface.</td>
  1915. </tr>
  1916. </tbody>
  1917. </table>
  1918. <h3 id="events">Events
  1919. </h3>
  1920. <span class="small pull-right mobile-hide">
  1921. <span class="divider">|</span>
  1922. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ListView_OpenSelectedItem.md&amp;value=---%0Auid%3A%20Terminal.Gui.ListView.OpenSelectedItem%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1923. </span>
  1924. <span class="small pull-right mobile-hide">
  1925. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/Terminal.Gui/Views/ListView.cs/#L403">View Source</a>
  1926. </span>
  1927. <h4 id="Terminal_Gui_ListView_OpenSelectedItem" data-uid="Terminal.Gui.ListView.OpenSelectedItem">OpenSelectedItem</h4>
  1928. <div class="markdown level1 summary">
  1929. This event is raised when the user Double Clicks on an item or presses ENTER to open the selected item.
  1930. </div>
  1931. <div class="markdown level1 conceptual"></div>
  1932. <h5 class="decalaration">Declaration</h5>
  1933. <div class="codewrapper">
  1934. <pre><code class="lang-csharp hljs">public event Action&lt;ListViewItemEventArgs&gt; OpenSelectedItem</code></pre>
  1935. </div>
  1936. <h5 class="eventType">Event Type</h5>
  1937. <table class="table table-bordered table-striped table-condensed">
  1938. <thead>
  1939. <tr>
  1940. <th>Type</th>
  1941. <th>Description</th>
  1942. </tr>
  1943. </thead>
  1944. <tbody>
  1945. <tr>
  1946. <td><span class="xref">System.Action</span>&lt;<a class="xref" href="Terminal.Gui.ListViewItemEventArgs.html">ListViewItemEventArgs</a>&gt;</td>
  1947. <td></td>
  1948. </tr>
  1949. </tbody>
  1950. </table>
  1951. <span class="small pull-right mobile-hide">
  1952. <span class="divider">|</span>
  1953. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ListView_RowRender.md&amp;value=---%0Auid%3A%20Terminal.Gui.ListView.RowRender%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1954. </span>
  1955. <span class="small pull-right mobile-hide">
  1956. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/Terminal.Gui/Views/ListView.cs/#L408">View Source</a>
  1957. </span>
  1958. <h4 id="Terminal_Gui_ListView_RowRender" data-uid="Terminal.Gui.ListView.RowRender">RowRender</h4>
  1959. <div class="markdown level1 summary">
  1960. This event is invoked when this <a class="xref" href="Terminal.Gui.ListView.html">ListView</a> is being drawn before rendering.
  1961. </div>
  1962. <div class="markdown level1 conceptual"></div>
  1963. <h5 class="decalaration">Declaration</h5>
  1964. <div class="codewrapper">
  1965. <pre><code class="lang-csharp hljs">public event Action&lt;ListViewRowEventArgs&gt; RowRender</code></pre>
  1966. </div>
  1967. <h5 class="eventType">Event Type</h5>
  1968. <table class="table table-bordered table-striped table-condensed">
  1969. <thead>
  1970. <tr>
  1971. <th>Type</th>
  1972. <th>Description</th>
  1973. </tr>
  1974. </thead>
  1975. <tbody>
  1976. <tr>
  1977. <td><span class="xref">System.Action</span>&lt;<a class="xref" href="Terminal.Gui.ListViewRowEventArgs.html">ListViewRowEventArgs</a>&gt;</td>
  1978. <td></td>
  1979. </tr>
  1980. </tbody>
  1981. </table>
  1982. <span class="small pull-right mobile-hide">
  1983. <span class="divider">|</span>
  1984. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ListView_SelectedItemChanged.md&amp;value=---%0Auid%3A%20Terminal.Gui.ListView.SelectedItemChanged%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1985. </span>
  1986. <span class="small pull-right mobile-hide">
  1987. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/Terminal.Gui/Views/ListView.cs/#L398">View Source</a>
  1988. </span>
  1989. <h4 id="Terminal_Gui_ListView_SelectedItemChanged" data-uid="Terminal.Gui.ListView.SelectedItemChanged">SelectedItemChanged</h4>
  1990. <div class="markdown level1 summary">
  1991. This event is raised when the selected item in the <a class="xref" href="Terminal.Gui.ListView.html">ListView</a> has changed.
  1992. </div>
  1993. <div class="markdown level1 conceptual"></div>
  1994. <h5 class="decalaration">Declaration</h5>
  1995. <div class="codewrapper">
  1996. <pre><code class="lang-csharp hljs">public event Action&lt;ListViewItemEventArgs&gt; SelectedItemChanged</code></pre>
  1997. </div>
  1998. <h5 class="eventType">Event Type</h5>
  1999. <table class="table table-bordered table-striped table-condensed">
  2000. <thead>
  2001. <tr>
  2002. <th>Type</th>
  2003. <th>Description</th>
  2004. </tr>
  2005. </thead>
  2006. <tbody>
  2007. <tr>
  2008. <td><span class="xref">System.Action</span>&lt;<a class="xref" href="Terminal.Gui.ListViewItemEventArgs.html">ListViewItemEventArgs</a>&gt;</td>
  2009. <td></td>
  2010. </tr>
  2011. </tbody>
  2012. </table>
  2013. <h3 id="implements">Implements</h3>
  2014. <div>
  2015. <span class="xref">System.IDisposable</span>
  2016. </div>
  2017. <div>
  2018. <span class="xref">System.ComponentModel.ISupportInitializeNotification</span>
  2019. </div>
  2020. <div>
  2021. <span class="xref">System.ComponentModel.ISupportInitialize</span>
  2022. </div>
  2023. </article>
  2024. </div>
  2025. <div class="hidden-sm col-md-2" role="complementary">
  2026. <div class="sideaffix">
  2027. <div class="contribution">
  2028. <ul class="nav">
  2029. <li>
  2030. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ListView.md&amp;value=---%0Auid%3A%20Terminal.Gui.ListView%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" class="contribution-link">Improve this Doc</a>
  2031. </li>
  2032. <li>
  2033. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/Terminal.Gui/Views/ListView.cs/#L97" class="contribution-link">View Source</a>
  2034. </li>
  2035. </ul>
  2036. </div>
  2037. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  2038. <h5>In This Article</h5>
  2039. <div></div>
  2040. </nav>
  2041. </div>
  2042. </div>
  2043. </div>
  2044. </div>
  2045. <footer>
  2046. <div class="grad-bottom"></div>
  2047. <div class="footer">
  2048. <div class="container">
  2049. <span class="pull-right">
  2050. <a href="#top">Back to top</a>
  2051. </span>
  2052. <span>Generated by <strong>DocFX</strong></span>
  2053. </div>
  2054. </div>
  2055. </footer>
  2056. </div>
  2057. <script type="text/javascript" src="../../styles/docfx.vendor.js"></script>
  2058. <script type="text/javascript" src="../../styles/docfx.js"></script>
  2059. <script type="text/javascript" src="../../styles/main.js"></script>
  2060. </body>
  2061. </html>