Terminal.Gui.ListWrapper.html 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514
  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 ListWrapper
  8. </title>
  9. <meta name="viewport" content="width=device-width">
  10. <meta name="title" content="Class ListWrapper
  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.ListWrapper">
  74. <h1 id="Terminal_Gui_ListWrapper" data-uid="Terminal.Gui.ListWrapper" class="text-break">Class ListWrapper
  75. </h1>
  76. <div class="markdown level0 summary">
  77. Implement <a class="xref" href="Terminal.Gui.IListDataSource.html">IListDataSource</a> to provide custom rendering for a <a class="xref" href="Terminal.Gui.ListView.html">ListView</a>.
  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"><span class="xref">ListWrapper</span></div>
  84. </div>
  85. <div class="implements">
  86. <h5>Implements</h5>
  87. <div><a class="xref" href="Terminal.Gui.IListDataSource.html">IListDataSource</a></div>
  88. </div>
  89. <div class="inheritedMembers">
  90. <h5>Inherited Members</h5>
  91. <div>
  92. <span class="xref">System.Object.Equals(System.Object)</span>
  93. </div>
  94. <div>
  95. <span class="xref">System.Object.Equals(System.Object, System.Object)</span>
  96. </div>
  97. <div>
  98. <span class="xref">System.Object.GetHashCode()</span>
  99. </div>
  100. <div>
  101. <span class="xref">System.Object.GetType()</span>
  102. </div>
  103. <div>
  104. <span class="xref">System.Object.MemberwiseClone()</span>
  105. </div>
  106. <div>
  107. <span class="xref">System.Object.ReferenceEquals(System.Object, System.Object)</span>
  108. </div>
  109. <div>
  110. <span class="xref">System.Object.ToString()</span>
  111. </div>
  112. </div>
  113. <h6><strong>Namespace</strong>: <a class="xref" href="Terminal.Gui.html">Terminal.Gui</a></h6>
  114. <h6><strong>Assembly</strong>: Terminal.Gui.dll</h6>
  115. <h5 id="Terminal_Gui_ListWrapper_syntax">Syntax</h5>
  116. <div class="codewrapper">
  117. <pre><code class="lang-csharp hljs">public class ListWrapper : IListDataSource</code></pre>
  118. </div>
  119. <h3 id="constructors">Constructors
  120. </h3>
  121. <span class="small pull-right mobile-hide">
  122. <span class="divider">|</span>
  123. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ListWrapper__ctor_System_Collections_IList_.md&amp;value=---%0Auid%3A%20Terminal.Gui.ListWrapper.%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>
  124. </span>
  125. <span class="small pull-right mobile-hide">
  126. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/Terminal.Gui/Views/ListView.cs/#L825">View Source</a>
  127. </span>
  128. <a id="Terminal_Gui_ListWrapper__ctor_" data-uid="Terminal.Gui.ListWrapper.#ctor*"></a>
  129. <h4 id="Terminal_Gui_ListWrapper__ctor_System_Collections_IList_" data-uid="Terminal.Gui.ListWrapper.#ctor(System.Collections.IList)">ListWrapper(IList)</h4>
  130. <div class="markdown level1 summary"></div>
  131. <div class="markdown level1 conceptual"></div>
  132. <h5 class="decalaration">Declaration</h5>
  133. <div class="codewrapper">
  134. <pre><code class="lang-csharp hljs">public ListWrapper(IList source)</code></pre>
  135. </div>
  136. <h5 class="parameters">Parameters</h5>
  137. <table class="table table-bordered table-striped table-condensed">
  138. <thead>
  139. <tr>
  140. <th>Type</th>
  141. <th>Name</th>
  142. <th>Description</th>
  143. </tr>
  144. </thead>
  145. <tbody>
  146. <tr>
  147. <td><span class="xref">System.Collections.IList</span></td>
  148. <td><span class="parametername">source</span></td>
  149. <td></td>
  150. </tr>
  151. </tbody>
  152. </table>
  153. <h3 id="properties">Properties
  154. </h3>
  155. <span class="small pull-right mobile-hide">
  156. <span class="divider">|</span>
  157. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ListWrapper_Count.md&amp;value=---%0Auid%3A%20Terminal.Gui.ListWrapper.Count%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>
  158. </span>
  159. <span class="small pull-right mobile-hide">
  160. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/Terminal.Gui/Views/ListView.cs/#L836">View Source</a>
  161. </span>
  162. <a id="Terminal_Gui_ListWrapper_Count_" data-uid="Terminal.Gui.ListWrapper.Count*"></a>
  163. <h4 id="Terminal_Gui_ListWrapper_Count" data-uid="Terminal.Gui.ListWrapper.Count">Count</h4>
  164. <div class="markdown level1 summary">
  165. Returns the number of elements to display
  166. </div>
  167. <div class="markdown level1 conceptual"></div>
  168. <h5 class="decalaration">Declaration</h5>
  169. <div class="codewrapper">
  170. <pre><code class="lang-csharp hljs">public int Count { get; }</code></pre>
  171. </div>
  172. <h5 class="propertyValue">Property Value</h5>
  173. <table class="table table-bordered table-striped table-condensed">
  174. <thead>
  175. <tr>
  176. <th>Type</th>
  177. <th>Description</th>
  178. </tr>
  179. </thead>
  180. <tbody>
  181. <tr>
  182. <td><span class="xref">System.Int32</span></td>
  183. <td></td>
  184. </tr>
  185. </tbody>
  186. </table>
  187. <span class="small pull-right mobile-hide">
  188. <span class="divider">|</span>
  189. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ListWrapper_Length.md&amp;value=---%0Auid%3A%20Terminal.Gui.ListWrapper.Length%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>
  190. </span>
  191. <span class="small pull-right mobile-hide">
  192. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/Terminal.Gui/Views/ListView.cs/#L839">View Source</a>
  193. </span>
  194. <a id="Terminal_Gui_ListWrapper_Length_" data-uid="Terminal.Gui.ListWrapper.Length*"></a>
  195. <h4 id="Terminal_Gui_ListWrapper_Length" data-uid="Terminal.Gui.ListWrapper.Length">Length</h4>
  196. <div class="markdown level1 summary">
  197. Returns the maximum length of elements to display
  198. </div>
  199. <div class="markdown level1 conceptual"></div>
  200. <h5 class="decalaration">Declaration</h5>
  201. <div class="codewrapper">
  202. <pre><code class="lang-csharp hljs">public int Length { get; }</code></pre>
  203. </div>
  204. <h5 class="propertyValue">Property Value</h5>
  205. <table class="table table-bordered table-striped table-condensed">
  206. <thead>
  207. <tr>
  208. <th>Type</th>
  209. <th>Description</th>
  210. </tr>
  211. </thead>
  212. <tbody>
  213. <tr>
  214. <td><span class="xref">System.Int32</span></td>
  215. <td></td>
  216. </tr>
  217. </tbody>
  218. </table>
  219. <h3 id="methods">Methods
  220. </h3>
  221. <span class="small pull-right mobile-hide">
  222. <span class="divider">|</span>
  223. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ListWrapper_IsMarked_System_Int32_.md&amp;value=---%0Auid%3A%20Terminal.Gui.ListWrapper.IsMarked(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>
  224. </span>
  225. <span class="small pull-right mobile-hide">
  226. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/Terminal.Gui/Views/ListView.cs/#L898">View Source</a>
  227. </span>
  228. <a id="Terminal_Gui_ListWrapper_IsMarked_" data-uid="Terminal.Gui.ListWrapper.IsMarked*"></a>
  229. <h4 id="Terminal_Gui_ListWrapper_IsMarked_System_Int32_" data-uid="Terminal.Gui.ListWrapper.IsMarked(System.Int32)">IsMarked(Int32)</h4>
  230. <div class="markdown level1 summary">
  231. Should return whether the specified item is currently marked.
  232. </div>
  233. <div class="markdown level1 conceptual"></div>
  234. <h5 class="decalaration">Declaration</h5>
  235. <div class="codewrapper">
  236. <pre><code class="lang-csharp hljs">public bool IsMarked(int item)</code></pre>
  237. </div>
  238. <h5 class="parameters">Parameters</h5>
  239. <table class="table table-bordered table-striped table-condensed">
  240. <thead>
  241. <tr>
  242. <th>Type</th>
  243. <th>Name</th>
  244. <th>Description</th>
  245. </tr>
  246. </thead>
  247. <tbody>
  248. <tr>
  249. <td><span class="xref">System.Int32</span></td>
  250. <td><span class="parametername">item</span></td>
  251. <td>Item index.</td>
  252. </tr>
  253. </tbody>
  254. </table>
  255. <h5 class="returns">Returns</h5>
  256. <table class="table table-bordered table-striped table-condensed">
  257. <thead>
  258. <tr>
  259. <th>Type</th>
  260. <th>Description</th>
  261. </tr>
  262. </thead>
  263. <tbody>
  264. <tr>
  265. <td><span class="xref">System.Boolean</span></td>
  266. <td><span class="xref">true</span>, if marked, <span class="xref">false</span> otherwise.</td>
  267. </tr>
  268. </tbody>
  269. </table>
  270. <span class="small pull-right mobile-hide">
  271. <span class="divider">|</span>
  272. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ListWrapper_Render_Terminal_Gui_ListView_Terminal_Gui_ConsoleDriver_System_Boolean_System_Int32_System_Int32_System_Int32_System_Int32_System_Int32_.md&amp;value=---%0Auid%3A%20Terminal.Gui.ListWrapper.Render(Terminal.Gui.ListView%2CTerminal.Gui.ConsoleDriver%2CSystem.Boolean%2CSystem.Int32%2CSystem.Int32%2CSystem.Int32%2CSystem.Int32%2CSystem.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>
  273. </span>
  274. <span class="small pull-right mobile-hide">
  275. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/Terminal.Gui/Views/ListView.cs/#L878">View Source</a>
  276. </span>
  277. <a id="Terminal_Gui_ListWrapper_Render_" data-uid="Terminal.Gui.ListWrapper.Render*"></a>
  278. <h4 id="Terminal_Gui_ListWrapper_Render_Terminal_Gui_ListView_Terminal_Gui_ConsoleDriver_System_Boolean_System_Int32_System_Int32_System_Int32_System_Int32_System_Int32_" data-uid="Terminal.Gui.ListWrapper.Render(Terminal.Gui.ListView,Terminal.Gui.ConsoleDriver,System.Boolean,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32)">Render(ListView, ConsoleDriver, Boolean, Int32, Int32, Int32, Int32, Int32)</h4>
  279. <div class="markdown level1 summary">
  280. This method is invoked to render a specified item, the method should cover the entire provided width.
  281. </div>
  282. <div class="markdown level1 conceptual"></div>
  283. <h5 class="decalaration">Declaration</h5>
  284. <div class="codewrapper">
  285. <pre><code class="lang-csharp hljs">public void Render(ListView container, ConsoleDriver driver, bool marked, int item, int col, int line, int width, int start = 0)</code></pre>
  286. </div>
  287. <h5 class="parameters">Parameters</h5>
  288. <table class="table table-bordered table-striped table-condensed">
  289. <thead>
  290. <tr>
  291. <th>Type</th>
  292. <th>Name</th>
  293. <th>Description</th>
  294. </tr>
  295. </thead>
  296. <tbody>
  297. <tr>
  298. <td><a class="xref" href="Terminal.Gui.ListView.html">ListView</a></td>
  299. <td><span class="parametername">container</span></td>
  300. <td>The list view to render.</td>
  301. </tr>
  302. <tr>
  303. <td><a class="xref" href="Terminal.Gui.ConsoleDriver.html">ConsoleDriver</a></td>
  304. <td><span class="parametername">driver</span></td>
  305. <td>The console driver to render.</td>
  306. </tr>
  307. <tr>
  308. <td><span class="xref">System.Boolean</span></td>
  309. <td><span class="parametername">marked</span></td>
  310. <td></td>
  311. </tr>
  312. <tr>
  313. <td><span class="xref">System.Int32</span></td>
  314. <td><span class="parametername">item</span></td>
  315. <td>The index of the item to render, zero for the first item and so on.</td>
  316. </tr>
  317. <tr>
  318. <td><span class="xref">System.Int32</span></td>
  319. <td><span class="parametername">col</span></td>
  320. <td>The column where the rendering will start</td>
  321. </tr>
  322. <tr>
  323. <td><span class="xref">System.Int32</span></td>
  324. <td><span class="parametername">line</span></td>
  325. <td>The line where the rendering will be done.</td>
  326. </tr>
  327. <tr>
  328. <td><span class="xref">System.Int32</span></td>
  329. <td><span class="parametername">width</span></td>
  330. <td>The width that must be filled out.</td>
  331. </tr>
  332. <tr>
  333. <td><span class="xref">System.Int32</span></td>
  334. <td><span class="parametername">start</span></td>
  335. <td>The index of the string to be displayed.</td>
  336. </tr>
  337. </tbody>
  338. </table>
  339. <span class="small pull-right mobile-hide">
  340. <span class="divider">|</span>
  341. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ListWrapper_SetMark_System_Int32_System_Boolean_.md&amp;value=---%0Auid%3A%20Terminal.Gui.ListWrapper.SetMark(System.Int32%2CSystem.Boolean)%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>
  342. </span>
  343. <span class="small pull-right mobile-hide">
  344. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/Terminal.Gui/Views/ListView.cs/#L906">View Source</a>
  345. </span>
  346. <a id="Terminal_Gui_ListWrapper_SetMark_" data-uid="Terminal.Gui.ListWrapper.SetMark*"></a>
  347. <h4 id="Terminal_Gui_ListWrapper_SetMark_System_Int32_System_Boolean_" data-uid="Terminal.Gui.ListWrapper.SetMark(System.Int32,System.Boolean)">SetMark(Int32, Boolean)</h4>
  348. <div class="markdown level1 summary">
  349. Flags the item as marked.
  350. </div>
  351. <div class="markdown level1 conceptual"></div>
  352. <h5 class="decalaration">Declaration</h5>
  353. <div class="codewrapper">
  354. <pre><code class="lang-csharp hljs">public void SetMark(int item, bool value)</code></pre>
  355. </div>
  356. <h5 class="parameters">Parameters</h5>
  357. <table class="table table-bordered table-striped table-condensed">
  358. <thead>
  359. <tr>
  360. <th>Type</th>
  361. <th>Name</th>
  362. <th>Description</th>
  363. </tr>
  364. </thead>
  365. <tbody>
  366. <tr>
  367. <td><span class="xref">System.Int32</span></td>
  368. <td><span class="parametername">item</span></td>
  369. <td>Item index.</td>
  370. </tr>
  371. <tr>
  372. <td><span class="xref">System.Boolean</span></td>
  373. <td><span class="parametername">value</span></td>
  374. <td>If set to <span class="xref">true</span> value.</td>
  375. </tr>
  376. </tbody>
  377. </table>
  378. <span class="small pull-right mobile-hide">
  379. <span class="divider">|</span>
  380. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ListWrapper_StartsWith_System_String_.md&amp;value=---%0Auid%3A%20Terminal.Gui.ListWrapper.StartsWith(System.String)%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>
  381. </span>
  382. <span class="small pull-right mobile-hide">
  383. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/Terminal.Gui/Views/ListView.cs/#L919">View Source</a>
  384. </span>
  385. <a id="Terminal_Gui_ListWrapper_StartsWith_" data-uid="Terminal.Gui.ListWrapper.StartsWith*"></a>
  386. <h4 id="Terminal_Gui_ListWrapper_StartsWith_System_String_" data-uid="Terminal.Gui.ListWrapper.StartsWith(System.String)">StartsWith(String)</h4>
  387. <div class="markdown level1 summary"></div>
  388. <div class="markdown level1 conceptual"></div>
  389. <h5 class="decalaration">Declaration</h5>
  390. <div class="codewrapper">
  391. <pre><code class="lang-csharp hljs">public int StartsWith(string search)</code></pre>
  392. </div>
  393. <h5 class="parameters">Parameters</h5>
  394. <table class="table table-bordered table-striped table-condensed">
  395. <thead>
  396. <tr>
  397. <th>Type</th>
  398. <th>Name</th>
  399. <th>Description</th>
  400. </tr>
  401. </thead>
  402. <tbody>
  403. <tr>
  404. <td><span class="xref">System.String</span></td>
  405. <td><span class="parametername">search</span></td>
  406. <td></td>
  407. </tr>
  408. </tbody>
  409. </table>
  410. <h5 class="returns">Returns</h5>
  411. <table class="table table-bordered table-striped table-condensed">
  412. <thead>
  413. <tr>
  414. <th>Type</th>
  415. <th>Description</th>
  416. </tr>
  417. </thead>
  418. <tbody>
  419. <tr>
  420. <td><span class="xref">System.Int32</span></td>
  421. <td></td>
  422. </tr>
  423. </tbody>
  424. </table>
  425. <span class="small pull-right mobile-hide">
  426. <span class="divider">|</span>
  427. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ListWrapper_ToList.md&amp;value=---%0Auid%3A%20Terminal.Gui.ListWrapper.ToList%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>
  428. </span>
  429. <span class="small pull-right mobile-hide">
  430. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/Terminal.Gui/Views/ListView.cs/#L913">View Source</a>
  431. </span>
  432. <a id="Terminal_Gui_ListWrapper_ToList_" data-uid="Terminal.Gui.ListWrapper.ToList*"></a>
  433. <h4 id="Terminal_Gui_ListWrapper_ToList" data-uid="Terminal.Gui.ListWrapper.ToList">ToList()</h4>
  434. <div class="markdown level1 summary">
  435. Return the source as IList.
  436. </div>
  437. <div class="markdown level1 conceptual"></div>
  438. <h5 class="decalaration">Declaration</h5>
  439. <div class="codewrapper">
  440. <pre><code class="lang-csharp hljs">public IList ToList()</code></pre>
  441. </div>
  442. <h5 class="returns">Returns</h5>
  443. <table class="table table-bordered table-striped table-condensed">
  444. <thead>
  445. <tr>
  446. <th>Type</th>
  447. <th>Description</th>
  448. </tr>
  449. </thead>
  450. <tbody>
  451. <tr>
  452. <td><span class="xref">System.Collections.IList</span></td>
  453. <td></td>
  454. </tr>
  455. </tbody>
  456. </table>
  457. <h3 id="implements">Implements</h3>
  458. <div>
  459. <a class="xref" href="Terminal.Gui.IListDataSource.html">IListDataSource</a>
  460. </div>
  461. </article>
  462. </div>
  463. <div class="hidden-sm col-md-2" role="complementary">
  464. <div class="sideaffix">
  465. <div class="contribution">
  466. <ul class="nav">
  467. <li>
  468. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ListWrapper.md&amp;value=---%0Auid%3A%20Terminal.Gui.ListWrapper%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>
  469. </li>
  470. <li>
  471. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/Terminal.Gui/Views/ListView.cs/#L819" class="contribution-link">View Source</a>
  472. </li>
  473. </ul>
  474. </div>
  475. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  476. <h5>In This Article</h5>
  477. <div></div>
  478. </nav>
  479. </div>
  480. </div>
  481. </div>
  482. </div>
  483. <footer>
  484. <div class="grad-bottom"></div>
  485. <div class="footer">
  486. <div class="container">
  487. <span class="pull-right">
  488. <a href="#top">Back to top</a>
  489. </span>
  490. <span>Generated by <strong>DocFX</strong></span>
  491. </div>
  492. </div>
  493. </footer>
  494. </div>
  495. <script type="text/javascript" src="../../styles/docfx.vendor.js"></script>
  496. <script type="text/javascript" src="../../styles/docfx.js"></script>
  497. <script type="text/javascript" src="../../styles/main.js"></script>
  498. </body>
  499. </html>