UICatalog.Scenarios.ListViewWithSelection.html 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374
  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 ListViewWithSelection
  8. </title>
  9. <meta name="viewport" content="width=device-width">
  10. <meta name="title" content="Class ListViewWithSelection
  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="UICatalog.Scenarios.ListViewWithSelection">
  74. <h1 id="UICatalog_Scenarios_ListViewWithSelection" data-uid="UICatalog.Scenarios.ListViewWithSelection" class="text-break">Class ListViewWithSelection
  75. </h1>
  76. <div class="markdown level0 summary"></div>
  77. <div class="markdown level0 conceptual"></div>
  78. <div class="inheritance">
  79. <h5>Inheritance</h5>
  80. <div class="level0"><span class="xref">System.Object</span></div>
  81. <div class="level1"><a class="xref" href="UICatalog.Scenario.html">Scenario</a></div>
  82. <div class="level2"><span class="xref">ListViewWithSelection</span></div>
  83. </div>
  84. <div class="implements">
  85. <h5>Implements</h5>
  86. <div><span class="xref">System.IDisposable</span></div>
  87. </div>
  88. <div class="inheritedMembers">
  89. <h5>Inherited Members</h5>
  90. <div>
  91. <a class="xref" href="UICatalog.Scenario.html#UICatalog_Scenario_Win">Scenario.Win</a>
  92. </div>
  93. <div>
  94. <a class="xref" href="UICatalog.Scenario.html#UICatalog_Scenario_Init_Terminal_Gui_ColorScheme_">Scenario.Init(ColorScheme)</a>
  95. </div>
  96. <div>
  97. <a class="xref" href="UICatalog.Scenario.html#UICatalog_Scenario_GetName">Scenario.GetName()</a>
  98. </div>
  99. <div>
  100. <a class="xref" href="UICatalog.Scenario.html#UICatalog_Scenario_GetDescription">Scenario.GetDescription()</a>
  101. </div>
  102. <div>
  103. <a class="xref" href="UICatalog.Scenario.html#UICatalog_Scenario_GetCategories">Scenario.GetCategories()</a>
  104. </div>
  105. <div>
  106. <a class="xref" href="UICatalog.Scenario.html#UICatalog_Scenario_ToString">Scenario.ToString()</a>
  107. </div>
  108. <div>
  109. <a class="xref" href="UICatalog.Scenario.html#UICatalog_Scenario_Run">Scenario.Run()</a>
  110. </div>
  111. <div>
  112. <a class="xref" href="UICatalog.Scenario.html#UICatalog_Scenario_RequestStop">Scenario.RequestStop()</a>
  113. </div>
  114. <div>
  115. <a class="xref" href="UICatalog.Scenario.html#UICatalog_Scenario_GetScenarios">Scenario.GetScenarios()</a>
  116. </div>
  117. <div>
  118. <a class="xref" href="UICatalog.Scenario.html#UICatalog_Scenario_Dispose_System_Boolean_">Scenario.Dispose(Boolean)</a>
  119. </div>
  120. <div>
  121. <a class="xref" href="UICatalog.Scenario.html#UICatalog_Scenario_Dispose">Scenario.Dispose()</a>
  122. </div>
  123. <div>
  124. <span class="xref">System.Object.Equals(System.Object)</span>
  125. </div>
  126. <div>
  127. <span class="xref">System.Object.Equals(System.Object, System.Object)</span>
  128. </div>
  129. <div>
  130. <span class="xref">System.Object.GetHashCode()</span>
  131. </div>
  132. <div>
  133. <span class="xref">System.Object.GetType()</span>
  134. </div>
  135. <div>
  136. <span class="xref">System.Object.MemberwiseClone()</span>
  137. </div>
  138. <div>
  139. <span class="xref">System.Object.ReferenceEquals(System.Object, System.Object)</span>
  140. </div>
  141. </div>
  142. <h6><strong>Namespace</strong>: <a class="xref" href="UICatalog.Scenarios.html">UICatalog.Scenarios</a></h6>
  143. <h6><strong>Assembly</strong>: UICatalog.dll</h6>
  144. <h5 id="UICatalog_Scenarios_ListViewWithSelection_syntax">Syntax</h5>
  145. <div class="codewrapper">
  146. <pre><code class="lang-csharp hljs">[Scenario.ScenarioMetadata(&quot;List View With Selection&quot;, &quot;ListView with columns and selection&quot;)]
  147. [Scenario.ScenarioCategory(&quot;Controls&quot;)]
  148. [Scenario.ScenarioCategory(&quot;ListView&quot;)]
  149. public class ListViewWithSelection : Scenario, IDisposable</code></pre>
  150. </div>
  151. <h3 id="fields">Fields
  152. </h3>
  153. <span class="small pull-right mobile-hide">
  154. <span class="divider">|</span>
  155. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=UICatalog_Scenarios_ListViewWithSelection__allowMarkingCB.md&amp;value=---%0Auid%3A%20UICatalog.Scenarios.ListViewWithSelection._allowMarkingCB%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>
  156. </span>
  157. <span class="small pull-right mobile-hide">
  158. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/UICatalog/Scenarios/ListViewWithSelection.cs/#L16">View Source</a>
  159. </span>
  160. <h4 id="UICatalog_Scenarios_ListViewWithSelection__allowMarkingCB" data-uid="UICatalog.Scenarios.ListViewWithSelection._allowMarkingCB">_allowMarkingCB</h4>
  161. <div class="markdown level1 summary"></div>
  162. <div class="markdown level1 conceptual"></div>
  163. <h5 class="decalaration">Declaration</h5>
  164. <div class="codewrapper">
  165. <pre><code class="lang-csharp hljs">public CheckBox _allowMarkingCB</code></pre>
  166. </div>
  167. <h5 class="fieldValue">Field Value</h5>
  168. <table class="table table-bordered table-striped table-condensed">
  169. <thead>
  170. <tr>
  171. <th>Type</th>
  172. <th>Description</th>
  173. </tr>
  174. </thead>
  175. <tbody>
  176. <tr>
  177. <td><a class="xref" href="../Terminal.Gui/Terminal.Gui.CheckBox.html">CheckBox</a></td>
  178. <td></td>
  179. </tr>
  180. </tbody>
  181. </table>
  182. <span class="small pull-right mobile-hide">
  183. <span class="divider">|</span>
  184. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=UICatalog_Scenarios_ListViewWithSelection__allowMultipleCB.md&amp;value=---%0Auid%3A%20UICatalog.Scenarios.ListViewWithSelection._allowMultipleCB%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>
  185. </span>
  186. <span class="small pull-right mobile-hide">
  187. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/UICatalog/Scenarios/ListViewWithSelection.cs/#L17">View Source</a>
  188. </span>
  189. <h4 id="UICatalog_Scenarios_ListViewWithSelection__allowMultipleCB" data-uid="UICatalog.Scenarios.ListViewWithSelection._allowMultipleCB">_allowMultipleCB</h4>
  190. <div class="markdown level1 summary"></div>
  191. <div class="markdown level1 conceptual"></div>
  192. <h5 class="decalaration">Declaration</h5>
  193. <div class="codewrapper">
  194. <pre><code class="lang-csharp hljs">public CheckBox _allowMultipleCB</code></pre>
  195. </div>
  196. <h5 class="fieldValue">Field Value</h5>
  197. <table class="table table-bordered table-striped table-condensed">
  198. <thead>
  199. <tr>
  200. <th>Type</th>
  201. <th>Description</th>
  202. </tr>
  203. </thead>
  204. <tbody>
  205. <tr>
  206. <td><a class="xref" href="../Terminal.Gui/Terminal.Gui.CheckBox.html">CheckBox</a></td>
  207. <td></td>
  208. </tr>
  209. </tbody>
  210. </table>
  211. <span class="small pull-right mobile-hide">
  212. <span class="divider">|</span>
  213. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=UICatalog_Scenarios_ListViewWithSelection__customRenderCB.md&amp;value=---%0Auid%3A%20UICatalog.Scenarios.ListViewWithSelection._customRenderCB%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>
  214. </span>
  215. <span class="small pull-right mobile-hide">
  216. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/UICatalog/Scenarios/ListViewWithSelection.cs/#L15">View Source</a>
  217. </span>
  218. <h4 id="UICatalog_Scenarios_ListViewWithSelection__customRenderCB" data-uid="UICatalog.Scenarios.ListViewWithSelection._customRenderCB">_customRenderCB</h4>
  219. <div class="markdown level1 summary"></div>
  220. <div class="markdown level1 conceptual"></div>
  221. <h5 class="decalaration">Declaration</h5>
  222. <div class="codewrapper">
  223. <pre><code class="lang-csharp hljs">public CheckBox _customRenderCB</code></pre>
  224. </div>
  225. <h5 class="fieldValue">Field Value</h5>
  226. <table class="table table-bordered table-striped table-condensed">
  227. <thead>
  228. <tr>
  229. <th>Type</th>
  230. <th>Description</th>
  231. </tr>
  232. </thead>
  233. <tbody>
  234. <tr>
  235. <td><a class="xref" href="../Terminal.Gui/Terminal.Gui.CheckBox.html">CheckBox</a></td>
  236. <td></td>
  237. </tr>
  238. </tbody>
  239. </table>
  240. <span class="small pull-right mobile-hide">
  241. <span class="divider">|</span>
  242. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=UICatalog_Scenarios_ListViewWithSelection__listView.md&amp;value=---%0Auid%3A%20UICatalog.Scenarios.ListViewWithSelection._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">Improve this Doc</a>
  243. </span>
  244. <span class="small pull-right mobile-hide">
  245. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/UICatalog/Scenarios/ListViewWithSelection.cs/#L18">View Source</a>
  246. </span>
  247. <h4 id="UICatalog_Scenarios_ListViewWithSelection__listView" data-uid="UICatalog.Scenarios.ListViewWithSelection._listView">_listView</h4>
  248. <div class="markdown level1 summary"></div>
  249. <div class="markdown level1 conceptual"></div>
  250. <h5 class="decalaration">Declaration</h5>
  251. <div class="codewrapper">
  252. <pre><code class="lang-csharp hljs">public ListView _listView</code></pre>
  253. </div>
  254. <h5 class="fieldValue">Field Value</h5>
  255. <table class="table table-bordered table-striped table-condensed">
  256. <thead>
  257. <tr>
  258. <th>Type</th>
  259. <th>Description</th>
  260. </tr>
  261. </thead>
  262. <tbody>
  263. <tr>
  264. <td><a class="xref" href="../Terminal.Gui/Terminal.Gui.ListView.html">ListView</a></td>
  265. <td></td>
  266. </tr>
  267. </tbody>
  268. </table>
  269. <span class="small pull-right mobile-hide">
  270. <span class="divider">|</span>
  271. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=UICatalog_Scenarios_ListViewWithSelection__scenarios.md&amp;value=---%0Auid%3A%20UICatalog.Scenarios.ListViewWithSelection._scenarios%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>
  272. </span>
  273. <span class="small pull-right mobile-hide">
  274. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/UICatalog/Scenarios/ListViewWithSelection.cs/#L20">View Source</a>
  275. </span>
  276. <h4 id="UICatalog_Scenarios_ListViewWithSelection__scenarios" data-uid="UICatalog.Scenarios.ListViewWithSelection._scenarios">_scenarios</h4>
  277. <div class="markdown level1 summary"></div>
  278. <div class="markdown level1 conceptual"></div>
  279. <h5 class="decalaration">Declaration</h5>
  280. <div class="codewrapper">
  281. <pre><code class="lang-csharp hljs">public List&lt;Scenario&gt; _scenarios</code></pre>
  282. </div>
  283. <h5 class="fieldValue">Field Value</h5>
  284. <table class="table table-bordered table-striped table-condensed">
  285. <thead>
  286. <tr>
  287. <th>Type</th>
  288. <th>Description</th>
  289. </tr>
  290. </thead>
  291. <tbody>
  292. <tr>
  293. <td><span class="xref">System.Collections.Generic.List</span>&lt;<a class="xref" href="UICatalog.Scenario.html">Scenario</a>&gt;</td>
  294. <td></td>
  295. </tr>
  296. </tbody>
  297. </table>
  298. <h3 id="methods">Methods
  299. </h3>
  300. <span class="small pull-right mobile-hide">
  301. <span class="divider">|</span>
  302. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=UICatalog_Scenarios_ListViewWithSelection_Setup.md&amp;value=---%0Auid%3A%20UICatalog.Scenarios.ListViewWithSelection.Setup%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>
  303. </span>
  304. <span class="small pull-right mobile-hide">
  305. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/UICatalog/Scenarios/ListViewWithSelection.cs/#L22">View Source</a>
  306. </span>
  307. <a id="UICatalog_Scenarios_ListViewWithSelection_Setup_" data-uid="UICatalog.Scenarios.ListViewWithSelection.Setup*"></a>
  308. <h4 id="UICatalog_Scenarios_ListViewWithSelection_Setup" data-uid="UICatalog.Scenarios.ListViewWithSelection.Setup">Setup()</h4>
  309. <div class="markdown level1 summary"></div>
  310. <div class="markdown level1 conceptual"></div>
  311. <h5 class="decalaration">Declaration</h5>
  312. <div class="codewrapper">
  313. <pre><code class="lang-csharp hljs">public override void Setup()</code></pre>
  314. </div>
  315. <h5 class="overrides">Overrides</h5>
  316. <div><a class="xref" href="UICatalog.Scenario.html#UICatalog_Scenario_Setup">Scenario.Setup()</a></div>
  317. <h3 id="implements">Implements</h3>
  318. <div>
  319. <span class="xref">System.IDisposable</span>
  320. </div>
  321. </article>
  322. </div>
  323. <div class="hidden-sm col-md-2" role="complementary">
  324. <div class="sideaffix">
  325. <div class="contribution">
  326. <ul class="nav">
  327. <li>
  328. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=UICatalog_Scenarios_ListViewWithSelection.md&amp;value=---%0Auid%3A%20UICatalog.Scenarios.ListViewWithSelection%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>
  329. </li>
  330. <li>
  331. <a href="https://github.com/gui-cs/Terminal.Gui/blob/develop/UICatalog/Scenarios/ListViewWithSelection.cs/#L11" class="contribution-link">View Source</a>
  332. </li>
  333. </ul>
  334. </div>
  335. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  336. <h5>In This Article</h5>
  337. <div></div>
  338. </nav>
  339. </div>
  340. </div>
  341. </div>
  342. </div>
  343. <footer>
  344. <div class="grad-bottom"></div>
  345. <div class="footer">
  346. <div class="container">
  347. <span class="pull-right">
  348. <a href="#top">Back to top</a>
  349. </span>
  350. <span>Generated by <strong>DocFX</strong></span>
  351. </div>
  352. </div>
  353. </footer>
  354. </div>
  355. <script type="text/javascript" src="../../styles/docfx.vendor.js"></script>
  356. <script type="text/javascript" src="../../styles/docfx.js"></script>
  357. <script type="text/javascript" src="../../styles/main.js"></script>
  358. </body>
  359. </html>