Terminal.Gui.TableView.html 62 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498
  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 TableView
  8. </title>
  9. <meta name="viewport" content="width=device-width">
  10. <meta name="title" content="Class TableView
  11. ">
  12. <meta name="generator" content="docfx 2.56.7.0">
  13. <link rel="shortcut icon" href="../../favicon.ico">
  14. <link rel="stylesheet" href="../../styles/docfx.vendor.css">
  15. <link rel="stylesheet" href="../../styles/docfx.css">
  16. <link rel="stylesheet" href="../../styles/main.css">
  17. <meta property="docfx:navrel" content="../../toc.html">
  18. <meta property="docfx:tocrel" content="toc.html">
  19. <meta property="docfx:rel" content="../../">
  20. </head>
  21. <body data-spy="scroll" data-target="#affix" data-offset="120">
  22. <div id="wrapper">
  23. <header>
  24. <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
  25. <div class="container">
  26. <div class="navbar-header">
  27. <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
  28. <span class="sr-only">Toggle navigation</span>
  29. <span class="icon-bar"></span>
  30. <span class="icon-bar"></span>
  31. <span class="icon-bar"></span>
  32. </button>
  33. <a class="navbar-brand" href="../../index.html">
  34. <img id="logo" class="svg" src="../../images/logo48.png" alt="">
  35. </a>
  36. </div>
  37. <div class="collapse navbar-collapse" id="navbar">
  38. <form class="navbar-form navbar-right" role="search" id="search">
  39. <div class="form-group">
  40. <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
  41. </div>
  42. </form>
  43. </div>
  44. </div>
  45. </nav>
  46. <div class="subnav navbar navbar-default">
  47. <div class="container hide-when-search" id="breadcrumb">
  48. <ul class="breadcrumb">
  49. <li></li>
  50. </ul>
  51. </div>
  52. </div>
  53. </header>
  54. <div class="container body-content">
  55. <div id="search-results">
  56. <div class="search-list">Search Results for <span></span></div>
  57. <div class="sr-items">
  58. <p><i class="glyphicon glyphicon-refresh index-loading"></i></p>
  59. </div>
  60. <ul id="pagination" data-first="First" data-prev="Previous" data-next="Next" data-last="Last"></ul>
  61. </div>
  62. </div>
  63. <div role="main" class="container body-content hide-when-search">
  64. <div class="sidenav hide-when-search">
  65. <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
  66. <div class="sidetoggle collapse" id="sidetoggle">
  67. <div id="sidetoc"></div>
  68. </div>
  69. </div>
  70. <div class="article row grid-right">
  71. <div class="col-md-10">
  72. <article class="content wrap" id="_content" data-uid="Terminal.Gui.TableView">
  73. <h1 id="Terminal_Gui_TableView" data-uid="Terminal.Gui.TableView" class="text-break">Class TableView
  74. </h1>
  75. <div class="markdown level0 summary">
  76. View for tabular data based on a <span class="xref">System.Data.DataTable</span>
  77. </div>
  78. <div class="markdown level0 conceptual"></div>
  79. <div class="inheritance">
  80. <h5>Inheritance</h5>
  81. <div class="level0"><span class="xref">System.Object</span></div>
  82. <div class="level1"><a class="xref" href="Terminal.Gui.Responder.html">Responder</a></div>
  83. <div class="level2"><a class="xref" href="Terminal.Gui.View.html">View</a></div>
  84. <div class="level3"><span class="xref">TableView</span></div>
  85. </div>
  86. <div classs="implements">
  87. <h5>Implements</h5>
  88. <div><span class="xref">System.IDisposable</span></div>
  89. <div><span class="xref">System.ComponentModel.ISupportInitializeNotification</span></div>
  90. <div><span class="xref">System.ComponentModel.ISupportInitialize</span></div>
  91. </div>
  92. <div class="inheritedMembers">
  93. <h5>Inherited Members</h5>
  94. <div>
  95. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Added">View.Added</a>
  96. </div>
  97. <div>
  98. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Removed">View.Removed</a>
  99. </div>
  100. <div>
  101. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Enter">View.Enter</a>
  102. </div>
  103. <div>
  104. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Leave">View.Leave</a>
  105. </div>
  106. <div>
  107. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_MouseEnter">View.MouseEnter</a>
  108. </div>
  109. <div>
  110. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_MouseLeave">View.MouseLeave</a>
  111. </div>
  112. <div>
  113. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_MouseClick">View.MouseClick</a>
  114. </div>
  115. <div>
  116. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_HotKey">View.HotKey</a>
  117. </div>
  118. <div>
  119. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_HotKeySpecifier">View.HotKeySpecifier</a>
  120. </div>
  121. <div>
  122. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Shortcut">View.Shortcut</a>
  123. </div>
  124. <div>
  125. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ShortcutTag">View.ShortcutTag</a>
  126. </div>
  127. <div>
  128. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ShortcutAction">View.ShortcutAction</a>
  129. </div>
  130. <div>
  131. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Data">View.Data</a>
  132. </div>
  133. <div>
  134. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Driver">View.Driver</a>
  135. </div>
  136. <div>
  137. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Subviews">View.Subviews</a>
  138. </div>
  139. <div>
  140. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TabIndexes">View.TabIndexes</a>
  141. </div>
  142. <div>
  143. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TabIndex">View.TabIndex</a>
  144. </div>
  145. <div>
  146. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TabStop">View.TabStop</a>
  147. </div>
  148. <div>
  149. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_CanFocus">View.CanFocus</a>
  150. </div>
  151. <div>
  152. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Id">View.Id</a>
  153. </div>
  154. <div>
  155. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_IsCurrentTop">View.IsCurrentTop</a>
  156. </div>
  157. <div>
  158. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_WantMousePositionReports">View.WantMousePositionReports</a>
  159. </div>
  160. <div>
  161. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_WantContinuousButtonPressed">View.WantContinuousButtonPressed</a>
  162. </div>
  163. <div>
  164. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Frame">View.Frame</a>
  165. </div>
  166. <div>
  167. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutStyle">View.LayoutStyle</a>
  168. </div>
  169. <div>
  170. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Bounds">View.Bounds</a>
  171. </div>
  172. <div>
  173. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_X">View.X</a>
  174. </div>
  175. <div>
  176. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Y">View.Y</a>
  177. </div>
  178. <div>
  179. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Width">View.Width</a>
  180. </div>
  181. <div>
  182. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Height">View.Height</a>
  183. </div>
  184. <div>
  185. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SuperView">View.SuperView</a>
  186. </div>
  187. <div>
  188. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetNeedsDisplay">View.SetNeedsDisplay()</a>
  189. </div>
  190. <div>
  191. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearLayoutNeeded">View.ClearLayoutNeeded()</a>
  192. </div>
  193. <div>
  194. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetNeedsDisplay_Terminal_Gui_Rect_">View.SetNeedsDisplay(Rect)</a>
  195. </div>
  196. <div>
  197. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetChildNeedsDisplay">View.SetChildNeedsDisplay()</a>
  198. </div>
  199. <div>
  200. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Add_Terminal_Gui_View_">View.Add(View)</a>
  201. </div>
  202. <div>
  203. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Add_Terminal_Gui_View___">View.Add(View[])</a>
  204. </div>
  205. <div>
  206. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_RemoveAll">View.RemoveAll()</a>
  207. </div>
  208. <div>
  209. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Remove_Terminal_Gui_View_">View.Remove(View)</a>
  210. </div>
  211. <div>
  212. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_BringSubviewToFront_Terminal_Gui_View_">View.BringSubviewToFront(View)</a>
  213. </div>
  214. <div>
  215. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SendSubviewToBack_Terminal_Gui_View_">View.SendSubviewToBack(View)</a>
  216. </div>
  217. <div>
  218. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SendSubviewBackwards_Terminal_Gui_View_">View.SendSubviewBackwards(View)</a>
  219. </div>
  220. <div>
  221. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_BringSubviewForward_Terminal_Gui_View_">View.BringSubviewForward(View)</a>
  222. </div>
  223. <div>
  224. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Clear">View.Clear()</a>
  225. </div>
  226. <div>
  227. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Clear_Terminal_Gui_Rect_">View.Clear(Rect)</a>
  228. </div>
  229. <div>
  230. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ScreenToView_System_Int32_System_Int32_">View.ScreenToView(Int32, Int32)</a>
  231. </div>
  232. <div>
  233. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClipToBounds">View.ClipToBounds()</a>
  234. </div>
  235. <div>
  236. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetClip_Terminal_Gui_Rect_">View.SetClip(Rect)</a>
  237. </div>
  238. <div>
  239. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_DrawFrame_Terminal_Gui_Rect_System_Int32_System_Boolean_">View.DrawFrame(Rect, Int32, Boolean)</a>
  240. </div>
  241. <div>
  242. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_DrawHotString_NStack_ustring_Terminal_Gui_Attribute_Terminal_Gui_Attribute_">View.DrawHotString(ustring, Attribute, Attribute)</a>
  243. </div>
  244. <div>
  245. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_DrawHotString_NStack_ustring_System_Boolean_Terminal_Gui_ColorScheme_">View.DrawHotString(ustring, Boolean, ColorScheme)</a>
  246. </div>
  247. <div>
  248. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Move_System_Int32_System_Int32_">View.Move(Int32, Int32)</a>
  249. </div>
  250. <div>
  251. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_HasFocus">View.HasFocus</a>
  252. </div>
  253. <div>
  254. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnAdded_Terminal_Gui_View_">View.OnAdded(View)</a>
  255. </div>
  256. <div>
  257. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnRemoved_Terminal_Gui_View_">View.OnRemoved(View)</a>
  258. </div>
  259. <div>
  260. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnEnter_Terminal_Gui_View_">View.OnEnter(View)</a>
  261. </div>
  262. <div>
  263. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnLeave_Terminal_Gui_View_">View.OnLeave(View)</a>
  264. </div>
  265. <div>
  266. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Focused">View.Focused</a>
  267. </div>
  268. <div>
  269. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_MostFocused">View.MostFocused</a>
  270. </div>
  271. <div>
  272. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ColorScheme">View.ColorScheme</a>
  273. </div>
  274. <div>
  275. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_AddRune_System_Int32_System_Int32_System_Rune_">View.AddRune(Int32, Int32, Rune)</a>
  276. </div>
  277. <div>
  278. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearNeedsDisplay">View.ClearNeedsDisplay()</a>
  279. </div>
  280. <div>
  281. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_DrawContent">View.DrawContent</a>
  282. </div>
  283. <div>
  284. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnDrawContent_Terminal_Gui_Rect_">View.OnDrawContent(Rect)</a>
  285. </div>
  286. <div>
  287. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetFocus">View.SetFocus()</a>
  288. </div>
  289. <div>
  290. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_KeyPress">View.KeyPress</a>
  291. </div>
  292. <div>
  293. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ProcessHotKey_Terminal_Gui_KeyEvent_">View.ProcessHotKey(KeyEvent)</a>
  294. </div>
  295. <div>
  296. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ProcessColdKey_Terminal_Gui_KeyEvent_">View.ProcessColdKey(KeyEvent)</a>
  297. </div>
  298. <div>
  299. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_KeyDown">View.KeyDown</a>
  300. </div>
  301. <div>
  302. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnKeyDown_Terminal_Gui_KeyEvent_">View.OnKeyDown(KeyEvent)</a>
  303. </div>
  304. <div>
  305. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_KeyUp">View.KeyUp</a>
  306. </div>
  307. <div>
  308. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnKeyUp_Terminal_Gui_KeyEvent_">View.OnKeyUp(KeyEvent)</a>
  309. </div>
  310. <div>
  311. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_EnsureFocus">View.EnsureFocus()</a>
  312. </div>
  313. <div>
  314. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusFirst">View.FocusFirst()</a>
  315. </div>
  316. <div>
  317. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusLast">View.FocusLast()</a>
  318. </div>
  319. <div>
  320. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusPrev">View.FocusPrev()</a>
  321. </div>
  322. <div>
  323. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusNext">View.FocusNext()</a>
  324. </div>
  325. <div>
  326. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutStarted">View.LayoutStarted</a>
  327. </div>
  328. <div>
  329. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutComplete">View.LayoutComplete</a>
  330. </div>
  331. <div>
  332. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Initialized">View.Initialized</a>
  333. </div>
  334. <div>
  335. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutSubviews">View.LayoutSubviews()</a>
  336. </div>
  337. <div>
  338. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Text">View.Text</a>
  339. </div>
  340. <div>
  341. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_AutoSize">View.AutoSize</a>
  342. </div>
  343. <div>
  344. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TextAlignment">View.TextAlignment</a>
  345. </div>
  346. <div>
  347. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_IsInitialized">View.IsInitialized</a>
  348. </div>
  349. <div>
  350. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ToString">View.ToString()</a>
  351. </div>
  352. <div>
  353. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseEnter_Terminal_Gui_MouseEvent_">View.OnMouseEnter(MouseEvent)</a>
  354. </div>
  355. <div>
  356. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseLeave_Terminal_Gui_MouseEvent_">View.OnMouseLeave(MouseEvent)</a>
  357. </div>
  358. <div>
  359. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseEvent_Terminal_Gui_MouseEvent_">View.OnMouseEvent(MouseEvent)</a>
  360. </div>
  361. <div>
  362. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseClick_Terminal_Gui_View_MouseEventArgs_">View.OnMouseClick(View.MouseEventArgs)</a>
  363. </div>
  364. <div>
  365. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Dispose_System_Boolean_">View.Dispose(Boolean)</a>
  366. </div>
  367. <div>
  368. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_BeginInit">View.BeginInit()</a>
  369. </div>
  370. <div>
  371. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_EndInit">View.EndInit()</a>
  372. </div>
  373. <div>
  374. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Visible">View.Visible</a>
  375. </div>
  376. <div>
  377. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetWidth_System_Int32_System_Int32__">View.SetWidth(Int32, Int32)</a>
  378. </div>
  379. <div>
  380. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetHeight_System_Int32_System_Int32__">View.SetHeight(Int32, Int32)</a>
  381. </div>
  382. <div>
  383. <a class="xref" href="Terminal.Gui.Responder.html#Terminal_Gui_Responder_Dispose">Responder.Dispose()</a>
  384. </div>
  385. <div>
  386. <span class="xref">System.Object.Equals(System.Object)</span>
  387. </div>
  388. <div>
  389. <span class="xref">System.Object.Equals(System.Object, System.Object)</span>
  390. </div>
  391. <div>
  392. <span class="xref">System.Object.GetHashCode()</span>
  393. </div>
  394. <div>
  395. <span class="xref">System.Object.GetType()</span>
  396. </div>
  397. <div>
  398. <span class="xref">System.Object.MemberwiseClone()</span>
  399. </div>
  400. <div>
  401. <span class="xref">System.Object.ReferenceEquals(System.Object, System.Object)</span>
  402. </div>
  403. </div>
  404. <h6><strong>Namespace</strong>: <a class="xref" href="Terminal.Gui.html">Terminal.Gui</a></h6>
  405. <h6><strong>Assembly</strong>: Terminal.Gui.dll</h6>
  406. <h5 id="Terminal_Gui_TableView_syntax">Syntax</h5>
  407. <div class="codewrapper">
  408. <pre><code class="lang-csharp hljs">public class TableView : View, IDisposable, ISupportInitializeNotification, ISupportInitialize</code></pre>
  409. </div>
  410. <h3 id="constructors">Constructors
  411. </h3>
  412. <a id="Terminal_Gui_TableView__ctor_" data-uid="Terminal.Gui.TableView.#ctor*"></a>
  413. <h4 id="Terminal_Gui_TableView__ctor" data-uid="Terminal.Gui.TableView.#ctor">TableView()</h4>
  414. <div class="markdown level1 summary">
  415. Initialzies a <a class="xref" href="Terminal.Gui.TableView.html">TableView</a> class using <a class="xref" href="Terminal.Gui.LayoutStyle.html#Terminal_Gui_LayoutStyle_Computed">Computed</a> layout. Set the <a class="xref" href="Terminal.Gui.TableView.html#Terminal_Gui_TableView_Table">Table</a> property to begin editing
  416. </div>
  417. <div class="markdown level1 conceptual"></div>
  418. <h5 class="decalaration">Declaration</h5>
  419. <div class="codewrapper">
  420. <pre><code class="lang-csharp hljs">public TableView()</code></pre>
  421. </div>
  422. <a id="Terminal_Gui_TableView__ctor_" data-uid="Terminal.Gui.TableView.#ctor*"></a>
  423. <h4 id="Terminal_Gui_TableView__ctor_System_Data_DataTable_" data-uid="Terminal.Gui.TableView.#ctor(System.Data.DataTable)">TableView(DataTable)</h4>
  424. <div class="markdown level1 summary">
  425. Initialzies a <a class="xref" href="Terminal.Gui.TableView.html">TableView</a> class using <a class="xref" href="Terminal.Gui.LayoutStyle.html#Terminal_Gui_LayoutStyle_Computed">Computed</a> layout.
  426. </div>
  427. <div class="markdown level1 conceptual"></div>
  428. <h5 class="decalaration">Declaration</h5>
  429. <div class="codewrapper">
  430. <pre><code class="lang-csharp hljs">public TableView(DataTable table)</code></pre>
  431. </div>
  432. <h5 class="parameters">Parameters</h5>
  433. <table class="table table-bordered table-striped table-condensed">
  434. <thead>
  435. <tr>
  436. <th>Type</th>
  437. <th>Name</th>
  438. <th>Description</th>
  439. </tr>
  440. </thead>
  441. <tbody>
  442. <tr>
  443. <td><span class="xref">System.Data.DataTable</span></td>
  444. <td><span class="parametername">table</span></td>
  445. <td>The table to display in the control</td>
  446. </tr>
  447. </tbody>
  448. </table>
  449. <h3 id="fields">Fields
  450. </h3>
  451. <h4 id="Terminal_Gui_TableView_DefaultMaxCellWidth" data-uid="Terminal.Gui.TableView.DefaultMaxCellWidth">DefaultMaxCellWidth</h4>
  452. <div class="markdown level1 summary">
  453. The default maximum cell width for <a class="xref" href="Terminal.Gui.TableView.html#Terminal_Gui_TableView_MaxCellWidth">MaxCellWidth</a> and <a class="xref" href="Terminal.Gui.ColumnStyle.html#Terminal_Gui_ColumnStyle_MaxWidth">MaxWidth</a>
  454. </div>
  455. <div class="markdown level1 conceptual"></div>
  456. <h5 class="decalaration">Declaration</h5>
  457. <div class="codewrapper">
  458. <pre><code class="lang-csharp hljs">public const int DefaultMaxCellWidth = 100</code></pre>
  459. </div>
  460. <h5 class="fieldValue">Field Value</h5>
  461. <table class="table table-bordered table-striped table-condensed">
  462. <thead>
  463. <tr>
  464. <th>Type</th>
  465. <th>Description</th>
  466. </tr>
  467. </thead>
  468. <tbody>
  469. <tr>
  470. <td><span class="xref">System.Int32</span></td>
  471. <td></td>
  472. </tr>
  473. </tbody>
  474. </table>
  475. <h3 id="properties">Properties
  476. </h3>
  477. <a id="Terminal_Gui_TableView_CellActivationKey_" data-uid="Terminal.Gui.TableView.CellActivationKey*"></a>
  478. <h4 id="Terminal_Gui_TableView_CellActivationKey" data-uid="Terminal.Gui.TableView.CellActivationKey">CellActivationKey</h4>
  479. <div class="markdown level1 summary">
  480. The key which when pressed should trigger <a class="xref" href="Terminal.Gui.TableView.html#Terminal_Gui_TableView_CellActivated">CellActivated</a> event. Defaults to Enter.
  481. </div>
  482. <div class="markdown level1 conceptual"></div>
  483. <h5 class="decalaration">Declaration</h5>
  484. <div class="codewrapper">
  485. <pre><code class="lang-csharp hljs">public Key CellActivationKey { get; set; }</code></pre>
  486. </div>
  487. <h5 class="propertyValue">Property Value</h5>
  488. <table class="table table-bordered table-striped table-condensed">
  489. <thead>
  490. <tr>
  491. <th>Type</th>
  492. <th>Description</th>
  493. </tr>
  494. </thead>
  495. <tbody>
  496. <tr>
  497. <td><a class="xref" href="Terminal.Gui.Key.html">Key</a></td>
  498. <td></td>
  499. </tr>
  500. </tbody>
  501. </table>
  502. <a id="Terminal_Gui_TableView_ColumnOffset_" data-uid="Terminal.Gui.TableView.ColumnOffset*"></a>
  503. <h4 id="Terminal_Gui_TableView_ColumnOffset" data-uid="Terminal.Gui.TableView.ColumnOffset">ColumnOffset</h4>
  504. <div class="markdown level1 summary">
  505. Horizontal scroll offset. The index of the first column in <a class="xref" href="Terminal.Gui.TableView.html#Terminal_Gui_TableView_Table">Table</a> to display when when rendering the view.
  506. </div>
  507. <div class="markdown level1 conceptual"></div>
  508. <h5 class="decalaration">Declaration</h5>
  509. <div class="codewrapper">
  510. <pre><code class="lang-csharp hljs">public int ColumnOffset { get; set; }</code></pre>
  511. </div>
  512. <h5 class="propertyValue">Property Value</h5>
  513. <table class="table table-bordered table-striped table-condensed">
  514. <thead>
  515. <tr>
  516. <th>Type</th>
  517. <th>Description</th>
  518. </tr>
  519. </thead>
  520. <tbody>
  521. <tr>
  522. <td><span class="xref">System.Int32</span></td>
  523. <td></td>
  524. </tr>
  525. </tbody>
  526. </table>
  527. <h5 id="Terminal_Gui_TableView_ColumnOffset_remarks">Remarks</h5>
  528. <div class="markdown level1 remarks">This property allows very wide tables to be rendered with horizontal scrolling</div>
  529. <a id="Terminal_Gui_TableView_FullRowSelect_" data-uid="Terminal.Gui.TableView.FullRowSelect*"></a>
  530. <h4 id="Terminal_Gui_TableView_FullRowSelect" data-uid="Terminal.Gui.TableView.FullRowSelect">FullRowSelect</h4>
  531. <div class="markdown level1 summary">
  532. True to select the entire row at once. False to select individual cells. Defaults to false
  533. </div>
  534. <div class="markdown level1 conceptual"></div>
  535. <h5 class="decalaration">Declaration</h5>
  536. <div class="codewrapper">
  537. <pre><code class="lang-csharp hljs">public bool FullRowSelect { get; set; }</code></pre>
  538. </div>
  539. <h5 class="propertyValue">Property Value</h5>
  540. <table class="table table-bordered table-striped table-condensed">
  541. <thead>
  542. <tr>
  543. <th>Type</th>
  544. <th>Description</th>
  545. </tr>
  546. </thead>
  547. <tbody>
  548. <tr>
  549. <td><span class="xref">System.Boolean</span></td>
  550. <td></td>
  551. </tr>
  552. </tbody>
  553. </table>
  554. <a id="Terminal_Gui_TableView_MaxCellWidth_" data-uid="Terminal.Gui.TableView.MaxCellWidth*"></a>
  555. <h4 id="Terminal_Gui_TableView_MaxCellWidth" data-uid="Terminal.Gui.TableView.MaxCellWidth">MaxCellWidth</h4>
  556. <div class="markdown level1 summary">
  557. The maximum number of characters to render in any given column. This prevents one long column from pushing out all the others
  558. </div>
  559. <div class="markdown level1 conceptual"></div>
  560. <h5 class="decalaration">Declaration</h5>
  561. <div class="codewrapper">
  562. <pre><code class="lang-csharp hljs">public int MaxCellWidth { get; set; }</code></pre>
  563. </div>
  564. <h5 class="propertyValue">Property Value</h5>
  565. <table class="table table-bordered table-striped table-condensed">
  566. <thead>
  567. <tr>
  568. <th>Type</th>
  569. <th>Description</th>
  570. </tr>
  571. </thead>
  572. <tbody>
  573. <tr>
  574. <td><span class="xref">System.Int32</span></td>
  575. <td></td>
  576. </tr>
  577. </tbody>
  578. </table>
  579. <a id="Terminal_Gui_TableView_MultiSelect_" data-uid="Terminal.Gui.TableView.MultiSelect*"></a>
  580. <h4 id="Terminal_Gui_TableView_MultiSelect" data-uid="Terminal.Gui.TableView.MultiSelect">MultiSelect</h4>
  581. <div class="markdown level1 summary">
  582. True to allow regions to be selected
  583. </div>
  584. <div class="markdown level1 conceptual"></div>
  585. <h5 class="decalaration">Declaration</h5>
  586. <div class="codewrapper">
  587. <pre><code class="lang-csharp hljs">public bool MultiSelect { get; set; }</code></pre>
  588. </div>
  589. <h5 class="propertyValue">Property Value</h5>
  590. <table class="table table-bordered table-striped table-condensed">
  591. <thead>
  592. <tr>
  593. <th>Type</th>
  594. <th>Description</th>
  595. </tr>
  596. </thead>
  597. <tbody>
  598. <tr>
  599. <td><span class="xref">System.Boolean</span></td>
  600. <td></td>
  601. </tr>
  602. </tbody>
  603. </table>
  604. <a id="Terminal_Gui_TableView_MultiSelectedRegions_" data-uid="Terminal.Gui.TableView.MultiSelectedRegions*"></a>
  605. <h4 id="Terminal_Gui_TableView_MultiSelectedRegions" data-uid="Terminal.Gui.TableView.MultiSelectedRegions">MultiSelectedRegions</h4>
  606. <div class="markdown level1 summary">
  607. When <a class="xref" href="Terminal.Gui.TableView.html#Terminal_Gui_TableView_MultiSelect">MultiSelect</a> is enabled this property contain all rectangles of selected cells. Rectangles describe column/rows selected in <a class="xref" href="Terminal.Gui.TableView.html#Terminal_Gui_TableView_Table">Table</a> (not screen coordinates)
  608. </div>
  609. <div class="markdown level1 conceptual"></div>
  610. <h5 class="decalaration">Declaration</h5>
  611. <div class="codewrapper">
  612. <pre><code class="lang-csharp hljs">public Stack&lt;TableSelection&gt; MultiSelectedRegions { get; }</code></pre>
  613. </div>
  614. <h5 class="propertyValue">Property Value</h5>
  615. <table class="table table-bordered table-striped table-condensed">
  616. <thead>
  617. <tr>
  618. <th>Type</th>
  619. <th>Description</th>
  620. </tr>
  621. </thead>
  622. <tbody>
  623. <tr>
  624. <td><span class="xref">System.Collections.Generic.Stack</span>&lt;<a class="xref" href="Terminal.Gui.TableSelection.html">TableSelection</a>&gt;</td>
  625. <td></td>
  626. </tr>
  627. </tbody>
  628. </table>
  629. <a id="Terminal_Gui_TableView_NullSymbol_" data-uid="Terminal.Gui.TableView.NullSymbol*"></a>
  630. <h4 id="Terminal_Gui_TableView_NullSymbol" data-uid="Terminal.Gui.TableView.NullSymbol">NullSymbol</h4>
  631. <div class="markdown level1 summary">
  632. The text representation that should be rendered for cells with the value <span class="xref">System.DBNull.Value</span>
  633. </div>
  634. <div class="markdown level1 conceptual"></div>
  635. <h5 class="decalaration">Declaration</h5>
  636. <div class="codewrapper">
  637. <pre><code class="lang-csharp hljs">public string NullSymbol { get; set; }</code></pre>
  638. </div>
  639. <h5 class="propertyValue">Property Value</h5>
  640. <table class="table table-bordered table-striped table-condensed">
  641. <thead>
  642. <tr>
  643. <th>Type</th>
  644. <th>Description</th>
  645. </tr>
  646. </thead>
  647. <tbody>
  648. <tr>
  649. <td><span class="xref">System.String</span></td>
  650. <td></td>
  651. </tr>
  652. </tbody>
  653. </table>
  654. <a id="Terminal_Gui_TableView_RowOffset_" data-uid="Terminal.Gui.TableView.RowOffset*"></a>
  655. <h4 id="Terminal_Gui_TableView_RowOffset" data-uid="Terminal.Gui.TableView.RowOffset">RowOffset</h4>
  656. <div class="markdown level1 summary">
  657. Vertical scroll offset. The index of the first row in <a class="xref" href="Terminal.Gui.TableView.html#Terminal_Gui_TableView_Table">Table</a> to display in the first non header line of the control when rendering the view.
  658. </div>
  659. <div class="markdown level1 conceptual"></div>
  660. <h5 class="decalaration">Declaration</h5>
  661. <div class="codewrapper">
  662. <pre><code class="lang-csharp hljs">public int RowOffset { get; set; }</code></pre>
  663. </div>
  664. <h5 class="propertyValue">Property Value</h5>
  665. <table class="table table-bordered table-striped table-condensed">
  666. <thead>
  667. <tr>
  668. <th>Type</th>
  669. <th>Description</th>
  670. </tr>
  671. </thead>
  672. <tbody>
  673. <tr>
  674. <td><span class="xref">System.Int32</span></td>
  675. <td></td>
  676. </tr>
  677. </tbody>
  678. </table>
  679. <a id="Terminal_Gui_TableView_SelectedColumn_" data-uid="Terminal.Gui.TableView.SelectedColumn*"></a>
  680. <h4 id="Terminal_Gui_TableView_SelectedColumn" data-uid="Terminal.Gui.TableView.SelectedColumn">SelectedColumn</h4>
  681. <div class="markdown level1 summary">
  682. The index of <span class="xref">System.Data.DataTable.Columns</span> in <a class="xref" href="Terminal.Gui.TableView.html#Terminal_Gui_TableView_Table">Table</a> that the user has currently selected
  683. </div>
  684. <div class="markdown level1 conceptual"></div>
  685. <h5 class="decalaration">Declaration</h5>
  686. <div class="codewrapper">
  687. <pre><code class="lang-csharp hljs">public int SelectedColumn { get; set; }</code></pre>
  688. </div>
  689. <h5 class="propertyValue">Property Value</h5>
  690. <table class="table table-bordered table-striped table-condensed">
  691. <thead>
  692. <tr>
  693. <th>Type</th>
  694. <th>Description</th>
  695. </tr>
  696. </thead>
  697. <tbody>
  698. <tr>
  699. <td><span class="xref">System.Int32</span></td>
  700. <td></td>
  701. </tr>
  702. </tbody>
  703. </table>
  704. <a id="Terminal_Gui_TableView_SelectedRow_" data-uid="Terminal.Gui.TableView.SelectedRow*"></a>
  705. <h4 id="Terminal_Gui_TableView_SelectedRow" data-uid="Terminal.Gui.TableView.SelectedRow">SelectedRow</h4>
  706. <div class="markdown level1 summary">
  707. The index of <span class="xref">System.Data.DataTable.Rows</span> in <a class="xref" href="Terminal.Gui.TableView.html#Terminal_Gui_TableView_Table">Table</a> that the user has currently selected
  708. </div>
  709. <div class="markdown level1 conceptual"></div>
  710. <h5 class="decalaration">Declaration</h5>
  711. <div class="codewrapper">
  712. <pre><code class="lang-csharp hljs">public int SelectedRow { get; set; }</code></pre>
  713. </div>
  714. <h5 class="propertyValue">Property Value</h5>
  715. <table class="table table-bordered table-striped table-condensed">
  716. <thead>
  717. <tr>
  718. <th>Type</th>
  719. <th>Description</th>
  720. </tr>
  721. </thead>
  722. <tbody>
  723. <tr>
  724. <td><span class="xref">System.Int32</span></td>
  725. <td></td>
  726. </tr>
  727. </tbody>
  728. </table>
  729. <a id="Terminal_Gui_TableView_SeparatorSymbol_" data-uid="Terminal.Gui.TableView.SeparatorSymbol*"></a>
  730. <h4 id="Terminal_Gui_TableView_SeparatorSymbol" data-uid="Terminal.Gui.TableView.SeparatorSymbol">SeparatorSymbol</h4>
  731. <div class="markdown level1 summary">
  732. The symbol to add after each cell value and header value to visually seperate values (if not using vertical gridlines)
  733. </div>
  734. <div class="markdown level1 conceptual"></div>
  735. <h5 class="decalaration">Declaration</h5>
  736. <div class="codewrapper">
  737. <pre><code class="lang-csharp hljs">public char SeparatorSymbol { get; set; }</code></pre>
  738. </div>
  739. <h5 class="propertyValue">Property Value</h5>
  740. <table class="table table-bordered table-striped table-condensed">
  741. <thead>
  742. <tr>
  743. <th>Type</th>
  744. <th>Description</th>
  745. </tr>
  746. </thead>
  747. <tbody>
  748. <tr>
  749. <td><span class="xref">System.Char</span></td>
  750. <td></td>
  751. </tr>
  752. </tbody>
  753. </table>
  754. <a id="Terminal_Gui_TableView_Style_" data-uid="Terminal.Gui.TableView.Style*"></a>
  755. <h4 id="Terminal_Gui_TableView_Style" data-uid="Terminal.Gui.TableView.Style">Style</h4>
  756. <div class="markdown level1 summary">
  757. Contains options for changing how the table is rendered
  758. </div>
  759. <div class="markdown level1 conceptual"></div>
  760. <h5 class="decalaration">Declaration</h5>
  761. <div class="codewrapper">
  762. <pre><code class="lang-csharp hljs">public TableStyle Style { get; set; }</code></pre>
  763. </div>
  764. <h5 class="propertyValue">Property Value</h5>
  765. <table class="table table-bordered table-striped table-condensed">
  766. <thead>
  767. <tr>
  768. <th>Type</th>
  769. <th>Description</th>
  770. </tr>
  771. </thead>
  772. <tbody>
  773. <tr>
  774. <td><a class="xref" href="Terminal.Gui.TableStyle.html">TableStyle</a></td>
  775. <td></td>
  776. </tr>
  777. </tbody>
  778. </table>
  779. <a id="Terminal_Gui_TableView_Table_" data-uid="Terminal.Gui.TableView.Table*"></a>
  780. <h4 id="Terminal_Gui_TableView_Table" data-uid="Terminal.Gui.TableView.Table">Table</h4>
  781. <div class="markdown level1 summary">
  782. The data table to render in the view. Setting this property automatically updates and redraws the control.
  783. </div>
  784. <div class="markdown level1 conceptual"></div>
  785. <h5 class="decalaration">Declaration</h5>
  786. <div class="codewrapper">
  787. <pre><code class="lang-csharp hljs">public DataTable Table { get; set; }</code></pre>
  788. </div>
  789. <h5 class="propertyValue">Property Value</h5>
  790. <table class="table table-bordered table-striped table-condensed">
  791. <thead>
  792. <tr>
  793. <th>Type</th>
  794. <th>Description</th>
  795. </tr>
  796. </thead>
  797. <tbody>
  798. <tr>
  799. <td><span class="xref">System.Data.DataTable</span></td>
  800. <td></td>
  801. </tr>
  802. </tbody>
  803. </table>
  804. <h3 id="methods">Methods
  805. </h3>
  806. <a id="Terminal_Gui_TableView_CellToScreen_" data-uid="Terminal.Gui.TableView.CellToScreen*"></a>
  807. <h4 id="Terminal_Gui_TableView_CellToScreen_System_Int32_System_Int32_" data-uid="Terminal.Gui.TableView.CellToScreen(System.Int32,System.Int32)">CellToScreen(Int32, Int32)</h4>
  808. <div class="markdown level1 summary">
  809. Returns the screen position (relative to the control client area) that the given cell is rendered or null if it is outside the current scroll area or no table is loaded
  810. </div>
  811. <div class="markdown level1 conceptual"></div>
  812. <h5 class="decalaration">Declaration</h5>
  813. <div class="codewrapper">
  814. <pre><code class="lang-csharp hljs">public Point? CellToScreen(int tableColumn, int tableRow)</code></pre>
  815. </div>
  816. <h5 class="parameters">Parameters</h5>
  817. <table class="table table-bordered table-striped table-condensed">
  818. <thead>
  819. <tr>
  820. <th>Type</th>
  821. <th>Name</th>
  822. <th>Description</th>
  823. </tr>
  824. </thead>
  825. <tbody>
  826. <tr>
  827. <td><span class="xref">System.Int32</span></td>
  828. <td><span class="parametername">tableColumn</span></td>
  829. <td>The index of the <a class="xref" href="Terminal.Gui.TableView.html#Terminal_Gui_TableView_Table">Table</a> column you are looking for, use <span class="xref">System.Data.DataColumn.Ordinal</span></td>
  830. </tr>
  831. <tr>
  832. <td><span class="xref">System.Int32</span></td>
  833. <td><span class="parametername">tableRow</span></td>
  834. <td>The index of the row in <a class="xref" href="Terminal.Gui.TableView.html#Terminal_Gui_TableView_Table">Table</a> that you are looking for</td>
  835. </tr>
  836. </tbody>
  837. </table>
  838. <h5 class="returns">Returns</h5>
  839. <table class="table table-bordered table-striped table-condensed">
  840. <thead>
  841. <tr>
  842. <th>Type</th>
  843. <th>Description</th>
  844. </tr>
  845. </thead>
  846. <tbody>
  847. <tr>
  848. <td><span class="xref">System.Nullable</span>&lt;<a class="xref" href="Terminal.Gui.Point.html">Point</a>&gt;</td>
  849. <td></td>
  850. </tr>
  851. </tbody>
  852. </table>
  853. <a id="Terminal_Gui_TableView_ChangeSelectionByOffset_" data-uid="Terminal.Gui.TableView.ChangeSelectionByOffset*"></a>
  854. <h4 id="Terminal_Gui_TableView_ChangeSelectionByOffset_System_Int32_System_Int32_System_Boolean_" data-uid="Terminal.Gui.TableView.ChangeSelectionByOffset(System.Int32,System.Int32,System.Boolean)">ChangeSelectionByOffset(Int32, Int32, Boolean)</h4>
  855. <div class="markdown level1 summary">
  856. Moves the <a class="xref" href="Terminal.Gui.TableView.html#Terminal_Gui_TableView_SelectedRow">SelectedRow</a> and <a class="xref" href="Terminal.Gui.TableView.html#Terminal_Gui_TableView_SelectedColumn">SelectedColumn</a> by the provided offsets. Optionally starting a box selection (see <a class="xref" href="Terminal.Gui.TableView.html#Terminal_Gui_TableView_MultiSelect">MultiSelect</a>)
  857. </div>
  858. <div class="markdown level1 conceptual"></div>
  859. <h5 class="decalaration">Declaration</h5>
  860. <div class="codewrapper">
  861. <pre><code class="lang-csharp hljs">public void ChangeSelectionByOffset(int offsetX, int offsetY, bool extendExistingSelection)</code></pre>
  862. </div>
  863. <h5 class="parameters">Parameters</h5>
  864. <table class="table table-bordered table-striped table-condensed">
  865. <thead>
  866. <tr>
  867. <th>Type</th>
  868. <th>Name</th>
  869. <th>Description</th>
  870. </tr>
  871. </thead>
  872. <tbody>
  873. <tr>
  874. <td><span class="xref">System.Int32</span></td>
  875. <td><span class="parametername">offsetX</span></td>
  876. <td>Offset in number of columns</td>
  877. </tr>
  878. <tr>
  879. <td><span class="xref">System.Int32</span></td>
  880. <td><span class="parametername">offsetY</span></td>
  881. <td>Offset in number of rows</td>
  882. </tr>
  883. <tr>
  884. <td><span class="xref">System.Boolean</span></td>
  885. <td><span class="parametername">extendExistingSelection</span></td>
  886. <td>True to create a multi cell selection or adjust an existing one</td>
  887. </tr>
  888. </tbody>
  889. </table>
  890. <a id="Terminal_Gui_TableView_EnsureSelectedCellIsVisible_" data-uid="Terminal.Gui.TableView.EnsureSelectedCellIsVisible*"></a>
  891. <h4 id="Terminal_Gui_TableView_EnsureSelectedCellIsVisible" data-uid="Terminal.Gui.TableView.EnsureSelectedCellIsVisible">EnsureSelectedCellIsVisible()</h4>
  892. <div class="markdown level1 summary">
  893. Updates scroll offsets to ensure that the selected cell is visible. Has no effect if <a class="xref" href="Terminal.Gui.TableView.html#Terminal_Gui_TableView_Table">Table</a> has not been set.
  894. </div>
  895. <div class="markdown level1 conceptual"></div>
  896. <h5 class="decalaration">Declaration</h5>
  897. <div class="codewrapper">
  898. <pre><code class="lang-csharp hljs">public void EnsureSelectedCellIsVisible()</code></pre>
  899. </div>
  900. <h5 id="Terminal_Gui_TableView_EnsureSelectedCellIsVisible_remarks">Remarks</h5>
  901. <div class="markdown level1 remarks">Changes will not be immediately visible in the display until you call <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetNeedsDisplay">SetNeedsDisplay()</a></div>
  902. <a id="Terminal_Gui_TableView_EnsureValidScrollOffsets_" data-uid="Terminal.Gui.TableView.EnsureValidScrollOffsets*"></a>
  903. <h4 id="Terminal_Gui_TableView_EnsureValidScrollOffsets" data-uid="Terminal.Gui.TableView.EnsureValidScrollOffsets">EnsureValidScrollOffsets()</h4>
  904. <div class="markdown level1 summary">
  905. Updates <a class="xref" href="Terminal.Gui.TableView.html#Terminal_Gui_TableView_ColumnOffset">ColumnOffset</a> and <a class="xref" href="Terminal.Gui.TableView.html#Terminal_Gui_TableView_RowOffset">RowOffset</a> where they are outside the bounds of the table (by adjusting them to the nearest existing cell). Has no effect if <a class="xref" href="Terminal.Gui.TableView.html#Terminal_Gui_TableView_Table">Table</a> has not been set.
  906. </div>
  907. <div class="markdown level1 conceptual"></div>
  908. <h5 class="decalaration">Declaration</h5>
  909. <div class="codewrapper">
  910. <pre><code class="lang-csharp hljs">public void EnsureValidScrollOffsets()</code></pre>
  911. </div>
  912. <h5 id="Terminal_Gui_TableView_EnsureValidScrollOffsets_remarks">Remarks</h5>
  913. <div class="markdown level1 remarks">Changes will not be immediately visible in the display until you call <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetNeedsDisplay">SetNeedsDisplay()</a></div>
  914. <a id="Terminal_Gui_TableView_EnsureValidSelection_" data-uid="Terminal.Gui.TableView.EnsureValidSelection*"></a>
  915. <h4 id="Terminal_Gui_TableView_EnsureValidSelection" data-uid="Terminal.Gui.TableView.EnsureValidSelection">EnsureValidSelection()</h4>
  916. <div class="markdown level1 summary">
  917. Updates <a class="xref" href="Terminal.Gui.TableView.html#Terminal_Gui_TableView_SelectedColumn">SelectedColumn</a>, <a class="xref" href="Terminal.Gui.TableView.html#Terminal_Gui_TableView_SelectedRow">SelectedRow</a> and <a class="xref" href="Terminal.Gui.TableView.html#Terminal_Gui_TableView_MultiSelectedRegions">MultiSelectedRegions</a> where they are outside the bounds of the table (by adjusting them to the nearest existing cell). Has no effect if <a class="xref" href="Terminal.Gui.TableView.html#Terminal_Gui_TableView_Table">Table</a> has not been set.
  918. </div>
  919. <div class="markdown level1 conceptual"></div>
  920. <h5 class="decalaration">Declaration</h5>
  921. <div class="codewrapper">
  922. <pre><code class="lang-csharp hljs">public void EnsureValidSelection()</code></pre>
  923. </div>
  924. <h5 id="Terminal_Gui_TableView_EnsureValidSelection_remarks">Remarks</h5>
  925. <div class="markdown level1 remarks">Changes will not be immediately visible in the display until you call <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetNeedsDisplay">SetNeedsDisplay()</a></div>
  926. <a id="Terminal_Gui_TableView_GetAllSelectedCells_" data-uid="Terminal.Gui.TableView.GetAllSelectedCells*"></a>
  927. <h4 id="Terminal_Gui_TableView_GetAllSelectedCells" data-uid="Terminal.Gui.TableView.GetAllSelectedCells">GetAllSelectedCells()</h4>
  928. <div class="markdown level1 summary">
  929. Returns all cells in any <a class="xref" href="Terminal.Gui.TableView.html#Terminal_Gui_TableView_MultiSelectedRegions">MultiSelectedRegions</a> (if <a class="xref" href="Terminal.Gui.TableView.html#Terminal_Gui_TableView_MultiSelect">MultiSelect</a> is enabled) and the selected cell
  930. </div>
  931. <div class="markdown level1 conceptual"></div>
  932. <h5 class="decalaration">Declaration</h5>
  933. <div class="codewrapper">
  934. <pre><code class="lang-csharp hljs">public IEnumerable&lt;Point&gt; GetAllSelectedCells()</code></pre>
  935. </div>
  936. <h5 class="returns">Returns</h5>
  937. <table class="table table-bordered table-striped table-condensed">
  938. <thead>
  939. <tr>
  940. <th>Type</th>
  941. <th>Description</th>
  942. </tr>
  943. </thead>
  944. <tbody>
  945. <tr>
  946. <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;<a class="xref" href="Terminal.Gui.Point.html">Point</a>&gt;</td>
  947. <td></td>
  948. </tr>
  949. </tbody>
  950. </table>
  951. <a id="Terminal_Gui_TableView_IsSelected_" data-uid="Terminal.Gui.TableView.IsSelected*"></a>
  952. <h4 id="Terminal_Gui_TableView_IsSelected_System_Int32_System_Int32_" data-uid="Terminal.Gui.TableView.IsSelected(System.Int32,System.Int32)">IsSelected(Int32, Int32)</h4>
  953. <div class="markdown level1 summary">
  954. Returns true if the given cell is selected either because it is the active cell or part of a multi cell selection (e.g. <a class="xref" href="Terminal.Gui.TableView.html#Terminal_Gui_TableView_FullRowSelect">FullRowSelect</a>)
  955. </div>
  956. <div class="markdown level1 conceptual"></div>
  957. <h5 class="decalaration">Declaration</h5>
  958. <div class="codewrapper">
  959. <pre><code class="lang-csharp hljs">public bool IsSelected(int col, int row)</code></pre>
  960. </div>
  961. <h5 class="parameters">Parameters</h5>
  962. <table class="table table-bordered table-striped table-condensed">
  963. <thead>
  964. <tr>
  965. <th>Type</th>
  966. <th>Name</th>
  967. <th>Description</th>
  968. </tr>
  969. </thead>
  970. <tbody>
  971. <tr>
  972. <td><span class="xref">System.Int32</span></td>
  973. <td><span class="parametername">col</span></td>
  974. <td></td>
  975. </tr>
  976. <tr>
  977. <td><span class="xref">System.Int32</span></td>
  978. <td><span class="parametername">row</span></td>
  979. <td></td>
  980. </tr>
  981. </tbody>
  982. </table>
  983. <h5 class="returns">Returns</h5>
  984. <table class="table table-bordered table-striped table-condensed">
  985. <thead>
  986. <tr>
  987. <th>Type</th>
  988. <th>Description</th>
  989. </tr>
  990. </thead>
  991. <tbody>
  992. <tr>
  993. <td><span class="xref">System.Boolean</span></td>
  994. <td></td>
  995. </tr>
  996. </tbody>
  997. </table>
  998. <a id="Terminal_Gui_TableView_MouseEvent_" data-uid="Terminal.Gui.TableView.MouseEvent*"></a>
  999. <h4 id="Terminal_Gui_TableView_MouseEvent_Terminal_Gui_MouseEvent_" data-uid="Terminal.Gui.TableView.MouseEvent(Terminal.Gui.MouseEvent)">MouseEvent(MouseEvent)</h4>
  1000. <div class="markdown level1 summary">
  1001. Method invoked when a mouse event is generated
  1002. </div>
  1003. <div class="markdown level1 conceptual"></div>
  1004. <h5 class="decalaration">Declaration</h5>
  1005. <div class="codewrapper">
  1006. <pre><code class="lang-csharp hljs">public override bool MouseEvent(MouseEvent me)</code></pre>
  1007. </div>
  1008. <h5 class="parameters">Parameters</h5>
  1009. <table class="table table-bordered table-striped table-condensed">
  1010. <thead>
  1011. <tr>
  1012. <th>Type</th>
  1013. <th>Name</th>
  1014. <th>Description</th>
  1015. </tr>
  1016. </thead>
  1017. <tbody>
  1018. <tr>
  1019. <td><a class="xref" href="Terminal.Gui.MouseEvent.html">MouseEvent</a></td>
  1020. <td><span class="parametername">me</span></td>
  1021. <td></td>
  1022. </tr>
  1023. </tbody>
  1024. </table>
  1025. <h5 class="returns">Returns</h5>
  1026. <table class="table table-bordered table-striped table-condensed">
  1027. <thead>
  1028. <tr>
  1029. <th>Type</th>
  1030. <th>Description</th>
  1031. </tr>
  1032. </thead>
  1033. <tbody>
  1034. <tr>
  1035. <td><span class="xref">System.Boolean</span></td>
  1036. <td><code>true</code>, if the event was handled, <code>false</code> otherwise.</td>
  1037. </tr>
  1038. </tbody>
  1039. </table>
  1040. <h5 class="overrides">Overrides</h5>
  1041. <div><a class="xref" href="Terminal.Gui.Responder.html#Terminal_Gui_Responder_MouseEvent_Terminal_Gui_MouseEvent_">Responder.MouseEvent(MouseEvent)</a></div>
  1042. <a id="Terminal_Gui_TableView_OnCellActivated_" data-uid="Terminal.Gui.TableView.OnCellActivated*"></a>
  1043. <h4 id="Terminal_Gui_TableView_OnCellActivated_Terminal_Gui_CellActivatedEventArgs_" data-uid="Terminal.Gui.TableView.OnCellActivated(Terminal.Gui.CellActivatedEventArgs)">OnCellActivated(CellActivatedEventArgs)</h4>
  1044. <div class="markdown level1 summary">
  1045. Invokes the <a class="xref" href="Terminal.Gui.TableView.html#Terminal_Gui_TableView_CellActivated">CellActivated</a> event
  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">protected virtual void OnCellActivated(CellActivatedEventArgs args)</code></pre>
  1051. </div>
  1052. <h5 class="parameters">Parameters</h5>
  1053. <table class="table table-bordered table-striped table-condensed">
  1054. <thead>
  1055. <tr>
  1056. <th>Type</th>
  1057. <th>Name</th>
  1058. <th>Description</th>
  1059. </tr>
  1060. </thead>
  1061. <tbody>
  1062. <tr>
  1063. <td><a class="xref" href="Terminal.Gui.CellActivatedEventArgs.html">CellActivatedEventArgs</a></td>
  1064. <td><span class="parametername">args</span></td>
  1065. <td></td>
  1066. </tr>
  1067. </tbody>
  1068. </table>
  1069. <a id="Terminal_Gui_TableView_OnSelectedCellChanged_" data-uid="Terminal.Gui.TableView.OnSelectedCellChanged*"></a>
  1070. <h4 id="Terminal_Gui_TableView_OnSelectedCellChanged_Terminal_Gui_SelectedCellChangedEventArgs_" data-uid="Terminal.Gui.TableView.OnSelectedCellChanged(Terminal.Gui.SelectedCellChangedEventArgs)">OnSelectedCellChanged(SelectedCellChangedEventArgs)</h4>
  1071. <div class="markdown level1 summary">
  1072. Invokes the <a class="xref" href="Terminal.Gui.TableView.html#Terminal_Gui_TableView_SelectedCellChanged">SelectedCellChanged</a> event
  1073. </div>
  1074. <div class="markdown level1 conceptual"></div>
  1075. <h5 class="decalaration">Declaration</h5>
  1076. <div class="codewrapper">
  1077. <pre><code class="lang-csharp hljs">protected virtual void OnSelectedCellChanged(SelectedCellChangedEventArgs args)</code></pre>
  1078. </div>
  1079. <h5 class="parameters">Parameters</h5>
  1080. <table class="table table-bordered table-striped table-condensed">
  1081. <thead>
  1082. <tr>
  1083. <th>Type</th>
  1084. <th>Name</th>
  1085. <th>Description</th>
  1086. </tr>
  1087. </thead>
  1088. <tbody>
  1089. <tr>
  1090. <td><a class="xref" href="Terminal.Gui.SelectedCellChangedEventArgs.html">SelectedCellChangedEventArgs</a></td>
  1091. <td><span class="parametername">args</span></td>
  1092. <td></td>
  1093. </tr>
  1094. </tbody>
  1095. </table>
  1096. <a id="Terminal_Gui_TableView_PositionCursor_" data-uid="Terminal.Gui.TableView.PositionCursor*"></a>
  1097. <h4 id="Terminal_Gui_TableView_PositionCursor" data-uid="Terminal.Gui.TableView.PositionCursor">PositionCursor()</h4>
  1098. <div class="markdown level1 summary">
  1099. Positions the cursor in the area of the screen in which the start of the active cell is rendered. Calls base implementation if active cell is not visible due to scrolling or table is loaded etc
  1100. </div>
  1101. <div class="markdown level1 conceptual"></div>
  1102. <h5 class="decalaration">Declaration</h5>
  1103. <div class="codewrapper">
  1104. <pre><code class="lang-csharp hljs">public override void PositionCursor()</code></pre>
  1105. </div>
  1106. <h5 class="overrides">Overrides</h5>
  1107. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_PositionCursor">View.PositionCursor()</a></div>
  1108. <a id="Terminal_Gui_TableView_ProcessKey_" data-uid="Terminal.Gui.TableView.ProcessKey*"></a>
  1109. <h4 id="Terminal_Gui_TableView_ProcessKey_Terminal_Gui_KeyEvent_" data-uid="Terminal.Gui.TableView.ProcessKey(Terminal.Gui.KeyEvent)">ProcessKey(KeyEvent)</h4>
  1110. <div class="markdown level1 summary">
  1111. If the view is focused, gives the view a
  1112. chance to process the keystroke.
  1113. </div>
  1114. <div class="markdown level1 conceptual"></div>
  1115. <h5 class="decalaration">Declaration</h5>
  1116. <div class="codewrapper">
  1117. <pre><code class="lang-csharp hljs">public override bool ProcessKey(KeyEvent keyEvent)</code></pre>
  1118. </div>
  1119. <h5 class="parameters">Parameters</h5>
  1120. <table class="table table-bordered table-striped table-condensed">
  1121. <thead>
  1122. <tr>
  1123. <th>Type</th>
  1124. <th>Name</th>
  1125. <th>Description</th>
  1126. </tr>
  1127. </thead>
  1128. <tbody>
  1129. <tr>
  1130. <td><a class="xref" href="Terminal.Gui.KeyEvent.html">KeyEvent</a></td>
  1131. <td><span class="parametername">keyEvent</span></td>
  1132. <td>Contains the details about the key that produced the event.</td>
  1133. </tr>
  1134. </tbody>
  1135. </table>
  1136. <h5 class="returns">Returns</h5>
  1137. <table class="table table-bordered table-striped table-condensed">
  1138. <thead>
  1139. <tr>
  1140. <th>Type</th>
  1141. <th>Description</th>
  1142. </tr>
  1143. </thead>
  1144. <tbody>
  1145. <tr>
  1146. <td><span class="xref">System.Boolean</span></td>
  1147. <td></td>
  1148. </tr>
  1149. </tbody>
  1150. </table>
  1151. <h5 class="overrides">Overrides</h5>
  1152. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ProcessKey_Terminal_Gui_KeyEvent_">View.ProcessKey(KeyEvent)</a></div>
  1153. <h5 id="Terminal_Gui_TableView_ProcessKey_Terminal_Gui_KeyEvent__remarks">Remarks</h5>
  1154. <div class="markdown level1 remarks">
  1155. <p>
  1156. Views can override this method if they are
  1157. interested in processing the given keystroke.
  1158. If they consume the keystroke, they must
  1159. return true to stop the keystroke from being
  1160. processed by other widgets or consumed by the
  1161. widget engine. If they return false, the
  1162. keystroke will be passed using the ProcessColdKey
  1163. method to other views to process.
  1164. </p>
  1165. <p>
  1166. The View implementation does nothing but return false,
  1167. so it is not necessary to call base.ProcessKey if you
  1168. derive directly from View, but you should if you derive
  1169. other View subclasses.
  1170. </p>
  1171. </div>
  1172. <a id="Terminal_Gui_TableView_Redraw_" data-uid="Terminal.Gui.TableView.Redraw*"></a>
  1173. <h4 id="Terminal_Gui_TableView_Redraw_Terminal_Gui_Rect_" data-uid="Terminal.Gui.TableView.Redraw(Terminal.Gui.Rect)">Redraw(Rect)</h4>
  1174. <div class="markdown level1 summary">
  1175. Redraws this view and its subviews; only redraws the views that have been flagged for a re-display.
  1176. </div>
  1177. <div class="markdown level1 conceptual"></div>
  1178. <h5 class="decalaration">Declaration</h5>
  1179. <div class="codewrapper">
  1180. <pre><code class="lang-csharp hljs">public override void Redraw(Rect bounds)</code></pre>
  1181. </div>
  1182. <h5 class="parameters">Parameters</h5>
  1183. <table class="table table-bordered table-striped table-condensed">
  1184. <thead>
  1185. <tr>
  1186. <th>Type</th>
  1187. <th>Name</th>
  1188. <th>Description</th>
  1189. </tr>
  1190. </thead>
  1191. <tbody>
  1192. <tr>
  1193. <td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
  1194. <td><span class="parametername">bounds</span></td>
  1195. <td>The bounds (view-relative region) to redraw.</td>
  1196. </tr>
  1197. </tbody>
  1198. </table>
  1199. <h5 class="overrides">Overrides</h5>
  1200. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Redraw_Terminal_Gui_Rect_">View.Redraw(Rect)</a></div>
  1201. <h5 id="Terminal_Gui_TableView_Redraw_Terminal_Gui_Rect__remarks">Remarks</h5>
  1202. <div class="markdown level1 remarks">
  1203. <p>
  1204. Always use <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Bounds">Bounds</a> (view-relative) when calling <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Redraw_Terminal_Gui_Rect_">Redraw(Rect)</a>, NOT <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Frame">Frame</a> (superview-relative).
  1205. </p>
  1206. <p>
  1207. Views should set the color that they want to use on entry, as otherwise this will inherit
  1208. the last color that was set globally on the driver.
  1209. </p>
  1210. <p>
  1211. Overrides of <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Redraw_Terminal_Gui_Rect_">Redraw(Rect)</a> must ensure they do not set <code>Driver.Clip</code> to a clip region
  1212. larger than the <code>region</code> parameter.
  1213. </p>
  1214. </div>
  1215. <a id="Terminal_Gui_TableView_ScreenToCell_" data-uid="Terminal.Gui.TableView.ScreenToCell*"></a>
  1216. <h4 id="Terminal_Gui_TableView_ScreenToCell_System_Int32_System_Int32_" data-uid="Terminal.Gui.TableView.ScreenToCell(System.Int32,System.Int32)">ScreenToCell(Int32, Int32)</h4>
  1217. <div class="markdown level1 summary">
  1218. Returns the column and row of <a class="xref" href="Terminal.Gui.TableView.html#Terminal_Gui_TableView_Table">Table</a> that corresponds to a given point on the screen (relative to the control client area). Returns null if the point is in the header, no table is loaded or outside the control bounds
  1219. </div>
  1220. <div class="markdown level1 conceptual"></div>
  1221. <h5 class="decalaration">Declaration</h5>
  1222. <div class="codewrapper">
  1223. <pre><code class="lang-csharp hljs">public Point? ScreenToCell(int clientX, int clientY)</code></pre>
  1224. </div>
  1225. <h5 class="parameters">Parameters</h5>
  1226. <table class="table table-bordered table-striped table-condensed">
  1227. <thead>
  1228. <tr>
  1229. <th>Type</th>
  1230. <th>Name</th>
  1231. <th>Description</th>
  1232. </tr>
  1233. </thead>
  1234. <tbody>
  1235. <tr>
  1236. <td><span class="xref">System.Int32</span></td>
  1237. <td><span class="parametername">clientX</span></td>
  1238. <td>X offset from the top left of the control</td>
  1239. </tr>
  1240. <tr>
  1241. <td><span class="xref">System.Int32</span></td>
  1242. <td><span class="parametername">clientY</span></td>
  1243. <td>Y offset from the top left of the control</td>
  1244. </tr>
  1245. </tbody>
  1246. </table>
  1247. <h5 class="returns">Returns</h5>
  1248. <table class="table table-bordered table-striped table-condensed">
  1249. <thead>
  1250. <tr>
  1251. <th>Type</th>
  1252. <th>Description</th>
  1253. </tr>
  1254. </thead>
  1255. <tbody>
  1256. <tr>
  1257. <td><span class="xref">System.Nullable</span>&lt;<a class="xref" href="Terminal.Gui.Point.html">Point</a>&gt;</td>
  1258. <td></td>
  1259. </tr>
  1260. </tbody>
  1261. </table>
  1262. <a id="Terminal_Gui_TableView_SelectAll_" data-uid="Terminal.Gui.TableView.SelectAll*"></a>
  1263. <h4 id="Terminal_Gui_TableView_SelectAll" data-uid="Terminal.Gui.TableView.SelectAll">SelectAll()</h4>
  1264. <div class="markdown level1 summary">
  1265. When <a class="xref" href="Terminal.Gui.TableView.html#Terminal_Gui_TableView_MultiSelect">MultiSelect</a> is on, creates selection over all cells in the table (replacing any old selection regions)
  1266. </div>
  1267. <div class="markdown level1 conceptual"></div>
  1268. <h5 class="decalaration">Declaration</h5>
  1269. <div class="codewrapper">
  1270. <pre><code class="lang-csharp hljs">public void SelectAll()</code></pre>
  1271. </div>
  1272. <a id="Terminal_Gui_TableView_SetSelection_" data-uid="Terminal.Gui.TableView.SetSelection*"></a>
  1273. <h4 id="Terminal_Gui_TableView_SetSelection_System_Int32_System_Int32_System_Boolean_" data-uid="Terminal.Gui.TableView.SetSelection(System.Int32,System.Int32,System.Boolean)">SetSelection(Int32, Int32, Boolean)</h4>
  1274. <div class="markdown level1 summary">
  1275. Moves the <a class="xref" href="Terminal.Gui.TableView.html#Terminal_Gui_TableView_SelectedRow">SelectedRow</a> and <a class="xref" href="Terminal.Gui.TableView.html#Terminal_Gui_TableView_SelectedColumn">SelectedColumn</a> to the given col/row in <a class="xref" href="Terminal.Gui.TableView.html#Terminal_Gui_TableView_Table">Table</a>. Optionally starting a box selection (see <a class="xref" href="Terminal.Gui.TableView.html#Terminal_Gui_TableView_MultiSelect">MultiSelect</a>)
  1276. </div>
  1277. <div class="markdown level1 conceptual"></div>
  1278. <h5 class="decalaration">Declaration</h5>
  1279. <div class="codewrapper">
  1280. <pre><code class="lang-csharp hljs">public void SetSelection(int col, int row, bool extendExistingSelection)</code></pre>
  1281. </div>
  1282. <h5 class="parameters">Parameters</h5>
  1283. <table class="table table-bordered table-striped table-condensed">
  1284. <thead>
  1285. <tr>
  1286. <th>Type</th>
  1287. <th>Name</th>
  1288. <th>Description</th>
  1289. </tr>
  1290. </thead>
  1291. <tbody>
  1292. <tr>
  1293. <td><span class="xref">System.Int32</span></td>
  1294. <td><span class="parametername">col</span></td>
  1295. <td></td>
  1296. </tr>
  1297. <tr>
  1298. <td><span class="xref">System.Int32</span></td>
  1299. <td><span class="parametername">row</span></td>
  1300. <td></td>
  1301. </tr>
  1302. <tr>
  1303. <td><span class="xref">System.Boolean</span></td>
  1304. <td><span class="parametername">extendExistingSelection</span></td>
  1305. <td>True to create a multi cell selection or adjust an existing one</td>
  1306. </tr>
  1307. </tbody>
  1308. </table>
  1309. <a id="Terminal_Gui_TableView_Update_" data-uid="Terminal.Gui.TableView.Update*"></a>
  1310. <h4 id="Terminal_Gui_TableView_Update" data-uid="Terminal.Gui.TableView.Update">Update()</h4>
  1311. <div class="markdown level1 summary">
  1312. Updates the view to reflect changes to <a class="xref" href="Terminal.Gui.TableView.html#Terminal_Gui_TableView_Table">Table</a> and to (<a class="xref" href="Terminal.Gui.TableView.html#Terminal_Gui_TableView_ColumnOffset">ColumnOffset</a> / <a class="xref" href="Terminal.Gui.TableView.html#Terminal_Gui_TableView_RowOffset">RowOffset</a>) etc
  1313. </div>
  1314. <div class="markdown level1 conceptual"></div>
  1315. <h5 class="decalaration">Declaration</h5>
  1316. <div class="codewrapper">
  1317. <pre><code class="lang-csharp hljs">public void Update()</code></pre>
  1318. </div>
  1319. <h5 id="Terminal_Gui_TableView_Update_remarks">Remarks</h5>
  1320. <div class="markdown level1 remarks">This always calls <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetNeedsDisplay">SetNeedsDisplay()</a></div>
  1321. <h3 id="events">Events
  1322. </h3>
  1323. <h4 id="Terminal_Gui_TableView_CellActivated" data-uid="Terminal.Gui.TableView.CellActivated">CellActivated</h4>
  1324. <div class="markdown level1 summary">
  1325. This event is raised when a cell is activated e.g. by double clicking or pressing <a class="xref" href="Terminal.Gui.TableView.html#Terminal_Gui_TableView_CellActivationKey">CellActivationKey</a>
  1326. </div>
  1327. <div class="markdown level1 conceptual"></div>
  1328. <h5 class="decalaration">Declaration</h5>
  1329. <div class="codewrapper">
  1330. <pre><code class="lang-csharp hljs">public event Action&lt;CellActivatedEventArgs&gt; CellActivated</code></pre>
  1331. </div>
  1332. <h5 class="eventType">Event Type</h5>
  1333. <table class="table table-bordered table-striped table-condensed">
  1334. <thead>
  1335. <tr>
  1336. <th>Type</th>
  1337. <th>Description</th>
  1338. </tr>
  1339. </thead>
  1340. <tbody>
  1341. <tr>
  1342. <td><span class="xref">System.Action</span>&lt;<a class="xref" href="Terminal.Gui.CellActivatedEventArgs.html">CellActivatedEventArgs</a>&gt;</td>
  1343. <td></td>
  1344. </tr>
  1345. </tbody>
  1346. </table>
  1347. <h4 id="Terminal_Gui_TableView_SelectedCellChanged" data-uid="Terminal.Gui.TableView.SelectedCellChanged">SelectedCellChanged</h4>
  1348. <div class="markdown level1 summary">
  1349. This event is raised when the selected cell in the table changes.
  1350. </div>
  1351. <div class="markdown level1 conceptual"></div>
  1352. <h5 class="decalaration">Declaration</h5>
  1353. <div class="codewrapper">
  1354. <pre><code class="lang-csharp hljs">public event Action&lt;SelectedCellChangedEventArgs&gt; SelectedCellChanged</code></pre>
  1355. </div>
  1356. <h5 class="eventType">Event Type</h5>
  1357. <table class="table table-bordered table-striped table-condensed">
  1358. <thead>
  1359. <tr>
  1360. <th>Type</th>
  1361. <th>Description</th>
  1362. </tr>
  1363. </thead>
  1364. <tbody>
  1365. <tr>
  1366. <td><span class="xref">System.Action</span>&lt;<a class="xref" href="Terminal.Gui.SelectedCellChangedEventArgs.html">SelectedCellChangedEventArgs</a>&gt;</td>
  1367. <td></td>
  1368. </tr>
  1369. </tbody>
  1370. </table>
  1371. <h3 id="implements">Implements</h3>
  1372. <div>
  1373. <span class="xref">System.IDisposable</span>
  1374. </div>
  1375. <div>
  1376. <span class="xref">System.ComponentModel.ISupportInitializeNotification</span>
  1377. </div>
  1378. <div>
  1379. <span class="xref">System.ComponentModel.ISupportInitialize</span>
  1380. </div>
  1381. </article>
  1382. </div>
  1383. <div class="hidden-sm col-md-2" role="complementary">
  1384. <div class="sideaffix">
  1385. <div class="contribution">
  1386. <ul class="nav">
  1387. </ul>
  1388. </div>
  1389. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  1390. <h5>In This Article</h5>
  1391. <div></div>
  1392. </nav>
  1393. </div>
  1394. </div>
  1395. </div>
  1396. </div>
  1397. <footer>
  1398. <div class="grad-bottom"></div>
  1399. <div class="footer">
  1400. <div class="container">
  1401. <span class="pull-right">
  1402. <a href="#top">Back to top</a>
  1403. </span>
  1404. <span>Generated by <strong>DocFX</strong></span>
  1405. </div>
  1406. </div>
  1407. </footer>
  1408. </div>
  1409. <script type="text/javascript" src="../../styles/docfx.vendor.js"></script>
  1410. <script type="text/javascript" src="../../styles/docfx.js"></script>
  1411. <script type="text/javascript" src="../../styles/main.js"></script>
  1412. </body>
  1413. </html>