Terminal.Gui.ScrollView.html 44 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156
  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 ScrollView
  8. </title>
  9. <meta name="viewport" content="width=device-width">
  10. <meta name="title" content="Class ScrollView
  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.ScrollView">
  73. <h1 id="Terminal_Gui_ScrollView" data-uid="Terminal.Gui.ScrollView" class="text-break">Class ScrollView
  74. </h1>
  75. <div class="markdown level0 summary">
  76. Scrollviews are views that present a window into a virtual space where subviews are added. Similar to the iOS UIScrollView.
  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">ScrollView</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_Remove_Terminal_Gui_View_">View.Remove(View)</a>
  204. </div>
  205. <div>
  206. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_BringSubviewToFront_Terminal_Gui_View_">View.BringSubviewToFront(View)</a>
  207. </div>
  208. <div>
  209. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SendSubviewToBack_Terminal_Gui_View_">View.SendSubviewToBack(View)</a>
  210. </div>
  211. <div>
  212. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SendSubviewBackwards_Terminal_Gui_View_">View.SendSubviewBackwards(View)</a>
  213. </div>
  214. <div>
  215. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_BringSubviewForward_Terminal_Gui_View_">View.BringSubviewForward(View)</a>
  216. </div>
  217. <div>
  218. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Clear">View.Clear()</a>
  219. </div>
  220. <div>
  221. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Clear_Terminal_Gui_Rect_">View.Clear(Rect)</a>
  222. </div>
  223. <div>
  224. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ScreenToView_System_Int32_System_Int32_">View.ScreenToView(Int32, Int32)</a>
  225. </div>
  226. <div>
  227. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClipToBounds">View.ClipToBounds()</a>
  228. </div>
  229. <div>
  230. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetClip_Terminal_Gui_Rect_">View.SetClip(Rect)</a>
  231. </div>
  232. <div>
  233. <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>
  234. </div>
  235. <div>
  236. <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>
  237. </div>
  238. <div>
  239. <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>
  240. </div>
  241. <div>
  242. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Move_System_Int32_System_Int32_">View.Move(Int32, Int32)</a>
  243. </div>
  244. <div>
  245. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_HasFocus">View.HasFocus</a>
  246. </div>
  247. <div>
  248. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnAdded_Terminal_Gui_View_">View.OnAdded(View)</a>
  249. </div>
  250. <div>
  251. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnRemoved_Terminal_Gui_View_">View.OnRemoved(View)</a>
  252. </div>
  253. <div>
  254. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnLeave_Terminal_Gui_View_">View.OnLeave(View)</a>
  255. </div>
  256. <div>
  257. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Focused">View.Focused</a>
  258. </div>
  259. <div>
  260. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_MostFocused">View.MostFocused</a>
  261. </div>
  262. <div>
  263. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ColorScheme">View.ColorScheme</a>
  264. </div>
  265. <div>
  266. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_AddRune_System_Int32_System_Int32_System_Rune_">View.AddRune(Int32, Int32, Rune)</a>
  267. </div>
  268. <div>
  269. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearNeedsDisplay">View.ClearNeedsDisplay()</a>
  270. </div>
  271. <div>
  272. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_DrawContent">View.DrawContent</a>
  273. </div>
  274. <div>
  275. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnDrawContent_Terminal_Gui_Rect_">View.OnDrawContent(Rect)</a>
  276. </div>
  277. <div>
  278. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetFocus">View.SetFocus()</a>
  279. </div>
  280. <div>
  281. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_KeyPress">View.KeyPress</a>
  282. </div>
  283. <div>
  284. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ProcessHotKey_Terminal_Gui_KeyEvent_">View.ProcessHotKey(KeyEvent)</a>
  285. </div>
  286. <div>
  287. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ProcessColdKey_Terminal_Gui_KeyEvent_">View.ProcessColdKey(KeyEvent)</a>
  288. </div>
  289. <div>
  290. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_KeyDown">View.KeyDown</a>
  291. </div>
  292. <div>
  293. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnKeyDown_Terminal_Gui_KeyEvent_">View.OnKeyDown(KeyEvent)</a>
  294. </div>
  295. <div>
  296. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_KeyUp">View.KeyUp</a>
  297. </div>
  298. <div>
  299. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnKeyUp_Terminal_Gui_KeyEvent_">View.OnKeyUp(KeyEvent)</a>
  300. </div>
  301. <div>
  302. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_EnsureFocus">View.EnsureFocus()</a>
  303. </div>
  304. <div>
  305. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusFirst">View.FocusFirst()</a>
  306. </div>
  307. <div>
  308. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusLast">View.FocusLast()</a>
  309. </div>
  310. <div>
  311. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusPrev">View.FocusPrev()</a>
  312. </div>
  313. <div>
  314. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusNext">View.FocusNext()</a>
  315. </div>
  316. <div>
  317. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutStarted">View.LayoutStarted</a>
  318. </div>
  319. <div>
  320. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutComplete">View.LayoutComplete</a>
  321. </div>
  322. <div>
  323. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Initialized">View.Initialized</a>
  324. </div>
  325. <div>
  326. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutSubviews">View.LayoutSubviews()</a>
  327. </div>
  328. <div>
  329. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Text">View.Text</a>
  330. </div>
  331. <div>
  332. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_AutoSize">View.AutoSize</a>
  333. </div>
  334. <div>
  335. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TextAlignment">View.TextAlignment</a>
  336. </div>
  337. <div>
  338. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_IsInitialized">View.IsInitialized</a>
  339. </div>
  340. <div>
  341. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ToString">View.ToString()</a>
  342. </div>
  343. <div>
  344. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseEnter_Terminal_Gui_MouseEvent_">View.OnMouseEnter(MouseEvent)</a>
  345. </div>
  346. <div>
  347. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseLeave_Terminal_Gui_MouseEvent_">View.OnMouseLeave(MouseEvent)</a>
  348. </div>
  349. <div>
  350. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseEvent_Terminal_Gui_MouseEvent_">View.OnMouseEvent(MouseEvent)</a>
  351. </div>
  352. <div>
  353. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseClick_Terminal_Gui_View_MouseEventArgs_">View.OnMouseClick(View.MouseEventArgs)</a>
  354. </div>
  355. <div>
  356. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_BeginInit">View.BeginInit()</a>
  357. </div>
  358. <div>
  359. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_EndInit">View.EndInit()</a>
  360. </div>
  361. <div>
  362. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Visible">View.Visible</a>
  363. </div>
  364. <div>
  365. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetWidth_System_Int32_System_Int32__">View.SetWidth(Int32, Int32)</a>
  366. </div>
  367. <div>
  368. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetHeight_System_Int32_System_Int32__">View.SetHeight(Int32, Int32)</a>
  369. </div>
  370. <div>
  371. <a class="xref" href="Terminal.Gui.Responder.html#Terminal_Gui_Responder_Dispose">Responder.Dispose()</a>
  372. </div>
  373. <div>
  374. <span class="xref">System.Object.Equals(System.Object)</span>
  375. </div>
  376. <div>
  377. <span class="xref">System.Object.Equals(System.Object, System.Object)</span>
  378. </div>
  379. <div>
  380. <span class="xref">System.Object.GetHashCode()</span>
  381. </div>
  382. <div>
  383. <span class="xref">System.Object.GetType()</span>
  384. </div>
  385. <div>
  386. <span class="xref">System.Object.MemberwiseClone()</span>
  387. </div>
  388. <div>
  389. <span class="xref">System.Object.ReferenceEquals(System.Object, System.Object)</span>
  390. </div>
  391. </div>
  392. <h6><strong>Namespace</strong>: <a class="xref" href="Terminal.Gui.html">Terminal.Gui</a></h6>
  393. <h6><strong>Assembly</strong>: Terminal.Gui.dll</h6>
  394. <h5 id="Terminal_Gui_ScrollView_syntax">Syntax</h5>
  395. <div class="codewrapper">
  396. <pre><code class="lang-csharp hljs">public class ScrollView : View, IDisposable, ISupportInitializeNotification, ISupportInitialize</code></pre>
  397. </div>
  398. <h5 id="Terminal_Gui_ScrollView_remarks"><strong>Remarks</strong></h5>
  399. <div class="markdown level0 remarks">
  400. <p>
  401. The subviews that are added to this <a class="xref" href="Terminal.Gui.ScrollView.html">ScrollView</a> are offset by the
  402. <a class="xref" href="Terminal.Gui.ScrollView.html#Terminal_Gui_ScrollView_ContentOffset">ContentOffset</a> property. The view itself is a window into the
  403. space represented by the <a class="xref" href="Terminal.Gui.ScrollView.html#Terminal_Gui_ScrollView_ContentSize">ContentSize</a>.
  404. </p>
  405. <p>
  406. Use the
  407. </p>
  408. </div>
  409. <h3 id="constructors">Constructors
  410. </h3>
  411. <a id="Terminal_Gui_ScrollView__ctor_" data-uid="Terminal.Gui.ScrollView.#ctor*"></a>
  412. <h4 id="Terminal_Gui_ScrollView__ctor" data-uid="Terminal.Gui.ScrollView.#ctor">ScrollView()</h4>
  413. <div class="markdown level1 summary">
  414. Initializes a new instance of the <a class="xref" href="Terminal.Gui.ScrollView.html">ScrollView</a> class using <a class="xref" href="Terminal.Gui.LayoutStyle.html#Terminal_Gui_LayoutStyle_Computed">Computed</a> positioning.
  415. </div>
  416. <div class="markdown level1 conceptual"></div>
  417. <h5 class="decalaration">Declaration</h5>
  418. <div class="codewrapper">
  419. <pre><code class="lang-csharp hljs">public ScrollView()</code></pre>
  420. </div>
  421. <a id="Terminal_Gui_ScrollView__ctor_" data-uid="Terminal.Gui.ScrollView.#ctor*"></a>
  422. <h4 id="Terminal_Gui_ScrollView__ctor_Terminal_Gui_Rect_" data-uid="Terminal.Gui.ScrollView.#ctor(Terminal.Gui.Rect)">ScrollView(Rect)</h4>
  423. <div class="markdown level1 summary">
  424. Initializes a new instance of the <a class="xref" href="Terminal.Gui.ScrollView.html">ScrollView</a> class using <a class="xref" href="Terminal.Gui.LayoutStyle.html#Terminal_Gui_LayoutStyle_Absolute">Absolute</a> positioning.
  425. </div>
  426. <div class="markdown level1 conceptual"></div>
  427. <h5 class="decalaration">Declaration</h5>
  428. <div class="codewrapper">
  429. <pre><code class="lang-csharp hljs">public ScrollView(Rect frame)</code></pre>
  430. </div>
  431. <h5 class="parameters">Parameters</h5>
  432. <table class="table table-bordered table-striped table-condensed">
  433. <thead>
  434. <tr>
  435. <th>Type</th>
  436. <th>Name</th>
  437. <th>Description</th>
  438. </tr>
  439. </thead>
  440. <tbody>
  441. <tr>
  442. <td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
  443. <td><span class="parametername">frame</span></td>
  444. <td></td>
  445. </tr>
  446. </tbody>
  447. </table>
  448. <h3 id="properties">Properties
  449. </h3>
  450. <a id="Terminal_Gui_ScrollView_AutoHideScrollBars_" data-uid="Terminal.Gui.ScrollView.AutoHideScrollBars*"></a>
  451. <h4 id="Terminal_Gui_ScrollView_AutoHideScrollBars" data-uid="Terminal.Gui.ScrollView.AutoHideScrollBars">AutoHideScrollBars</h4>
  452. <div class="markdown level1 summary">
  453. If true the vertical/horizontal scroll bars won&apos;t be showed if it&apos;s not needed.
  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 bool AutoHideScrollBars { get; set; }</code></pre>
  459. </div>
  460. <h5 class="propertyValue">Property 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.Boolean</span></td>
  471. <td></td>
  472. </tr>
  473. </tbody>
  474. </table>
  475. <a id="Terminal_Gui_ScrollView_ContentOffset_" data-uid="Terminal.Gui.ScrollView.ContentOffset*"></a>
  476. <h4 id="Terminal_Gui_ScrollView_ContentOffset" data-uid="Terminal.Gui.ScrollView.ContentOffset">ContentOffset</h4>
  477. <div class="markdown level1 summary">
  478. Represents the top left corner coordinate that is displayed by the scrollview
  479. </div>
  480. <div class="markdown level1 conceptual"></div>
  481. <h5 class="decalaration">Declaration</h5>
  482. <div class="codewrapper">
  483. <pre><code class="lang-csharp hljs">public Point ContentOffset { get; set; }</code></pre>
  484. </div>
  485. <h5 class="propertyValue">Property Value</h5>
  486. <table class="table table-bordered table-striped table-condensed">
  487. <thead>
  488. <tr>
  489. <th>Type</th>
  490. <th>Description</th>
  491. </tr>
  492. </thead>
  493. <tbody>
  494. <tr>
  495. <td><a class="xref" href="Terminal.Gui.Point.html">Point</a></td>
  496. <td>The content offset.</td>
  497. </tr>
  498. </tbody>
  499. </table>
  500. <a id="Terminal_Gui_ScrollView_ContentSize_" data-uid="Terminal.Gui.ScrollView.ContentSize*"></a>
  501. <h4 id="Terminal_Gui_ScrollView_ContentSize" data-uid="Terminal.Gui.ScrollView.ContentSize">ContentSize</h4>
  502. <div class="markdown level1 summary">
  503. Represents the contents of the data shown inside the scrollview
  504. </div>
  505. <div class="markdown level1 conceptual"></div>
  506. <h5 class="decalaration">Declaration</h5>
  507. <div class="codewrapper">
  508. <pre><code class="lang-csharp hljs">public Size ContentSize { get; set; }</code></pre>
  509. </div>
  510. <h5 class="propertyValue">Property Value</h5>
  511. <table class="table table-bordered table-striped table-condensed">
  512. <thead>
  513. <tr>
  514. <th>Type</th>
  515. <th>Description</th>
  516. </tr>
  517. </thead>
  518. <tbody>
  519. <tr>
  520. <td><a class="xref" href="Terminal.Gui.Size.html">Size</a></td>
  521. <td>The size of the content.</td>
  522. </tr>
  523. </tbody>
  524. </table>
  525. <a id="Terminal_Gui_ScrollView_KeepContentAlwaysInViewport_" data-uid="Terminal.Gui.ScrollView.KeepContentAlwaysInViewport*"></a>
  526. <h4 id="Terminal_Gui_ScrollView_KeepContentAlwaysInViewport" data-uid="Terminal.Gui.ScrollView.KeepContentAlwaysInViewport">KeepContentAlwaysInViewport</h4>
  527. <div class="markdown level1 summary">
  528. Get or sets if the view-port is kept always visible in the area of this <a class="xref" href="Terminal.Gui.ScrollView.html">ScrollView</a>
  529. </div>
  530. <div class="markdown level1 conceptual"></div>
  531. <h5 class="decalaration">Declaration</h5>
  532. <div class="codewrapper">
  533. <pre><code class="lang-csharp hljs">public bool KeepContentAlwaysInViewport { get; set; }</code></pre>
  534. </div>
  535. <h5 class="propertyValue">Property Value</h5>
  536. <table class="table table-bordered table-striped table-condensed">
  537. <thead>
  538. <tr>
  539. <th>Type</th>
  540. <th>Description</th>
  541. </tr>
  542. </thead>
  543. <tbody>
  544. <tr>
  545. <td><span class="xref">System.Boolean</span></td>
  546. <td></td>
  547. </tr>
  548. </tbody>
  549. </table>
  550. <a id="Terminal_Gui_ScrollView_ShowHorizontalScrollIndicator_" data-uid="Terminal.Gui.ScrollView.ShowHorizontalScrollIndicator*"></a>
  551. <h4 id="Terminal_Gui_ScrollView_ShowHorizontalScrollIndicator" data-uid="Terminal.Gui.ScrollView.ShowHorizontalScrollIndicator">ShowHorizontalScrollIndicator</h4>
  552. <div class="markdown level1 summary">
  553. Gets or sets the visibility for the horizontal scroll indicator.
  554. </div>
  555. <div class="markdown level1 conceptual"></div>
  556. <h5 class="decalaration">Declaration</h5>
  557. <div class="codewrapper">
  558. <pre><code class="lang-csharp hljs">public bool ShowHorizontalScrollIndicator { get; set; }</code></pre>
  559. </div>
  560. <h5 class="propertyValue">Property Value</h5>
  561. <table class="table table-bordered table-striped table-condensed">
  562. <thead>
  563. <tr>
  564. <th>Type</th>
  565. <th>Description</th>
  566. </tr>
  567. </thead>
  568. <tbody>
  569. <tr>
  570. <td><span class="xref">System.Boolean</span></td>
  571. <td><code>true</code> if show horizontal scroll indicator; otherwise, <code>false</code>.</td>
  572. </tr>
  573. </tbody>
  574. </table>
  575. <a id="Terminal_Gui_ScrollView_ShowVerticalScrollIndicator_" data-uid="Terminal.Gui.ScrollView.ShowVerticalScrollIndicator*"></a>
  576. <h4 id="Terminal_Gui_ScrollView_ShowVerticalScrollIndicator" data-uid="Terminal.Gui.ScrollView.ShowVerticalScrollIndicator">ShowVerticalScrollIndicator</h4>
  577. <div class="markdown level1 summary">
  578. /// Gets or sets the visibility for the vertical scroll indicator.
  579. </div>
  580. <div class="markdown level1 conceptual"></div>
  581. <h5 class="decalaration">Declaration</h5>
  582. <div class="codewrapper">
  583. <pre><code class="lang-csharp hljs">public bool ShowVerticalScrollIndicator { get; set; }</code></pre>
  584. </div>
  585. <h5 class="propertyValue">Property Value</h5>
  586. <table class="table table-bordered table-striped table-condensed">
  587. <thead>
  588. <tr>
  589. <th>Type</th>
  590. <th>Description</th>
  591. </tr>
  592. </thead>
  593. <tbody>
  594. <tr>
  595. <td><span class="xref">System.Boolean</span></td>
  596. <td><code>true</code> if show vertical scroll indicator; otherwise, <code>false</code>.</td>
  597. </tr>
  598. </tbody>
  599. </table>
  600. <h3 id="methods">Methods
  601. </h3>
  602. <a id="Terminal_Gui_ScrollView_Add_" data-uid="Terminal.Gui.ScrollView.Add*"></a>
  603. <h4 id="Terminal_Gui_ScrollView_Add_Terminal_Gui_View_" data-uid="Terminal.Gui.ScrollView.Add(Terminal.Gui.View)">Add(View)</h4>
  604. <div class="markdown level1 summary">
  605. Adds the view to the scrollview.
  606. </div>
  607. <div class="markdown level1 conceptual"></div>
  608. <h5 class="decalaration">Declaration</h5>
  609. <div class="codewrapper">
  610. <pre><code class="lang-csharp hljs">public override void Add(View view)</code></pre>
  611. </div>
  612. <h5 class="parameters">Parameters</h5>
  613. <table class="table table-bordered table-striped table-condensed">
  614. <thead>
  615. <tr>
  616. <th>Type</th>
  617. <th>Name</th>
  618. <th>Description</th>
  619. </tr>
  620. </thead>
  621. <tbody>
  622. <tr>
  623. <td><a class="xref" href="Terminal.Gui.View.html">View</a></td>
  624. <td><span class="parametername">view</span></td>
  625. <td>The view to add to the scrollview.</td>
  626. </tr>
  627. </tbody>
  628. </table>
  629. <h5 class="overrides">Overrides</h5>
  630. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Add_Terminal_Gui_View_">View.Add(View)</a></div>
  631. <a id="Terminal_Gui_ScrollView_Dispose_" data-uid="Terminal.Gui.ScrollView.Dispose*"></a>
  632. <h4 id="Terminal_Gui_ScrollView_Dispose_System_Boolean_" data-uid="Terminal.Gui.ScrollView.Dispose(System.Boolean)">Dispose(Boolean)</h4>
  633. <div class="markdown level1 summary">
  634. Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
  635. </div>
  636. <div class="markdown level1 conceptual"></div>
  637. <h5 class="decalaration">Declaration</h5>
  638. <div class="codewrapper">
  639. <pre><code class="lang-csharp hljs">protected override void Dispose(bool disposing)</code></pre>
  640. </div>
  641. <h5 class="parameters">Parameters</h5>
  642. <table class="table table-bordered table-striped table-condensed">
  643. <thead>
  644. <tr>
  645. <th>Type</th>
  646. <th>Name</th>
  647. <th>Description</th>
  648. </tr>
  649. </thead>
  650. <tbody>
  651. <tr>
  652. <td><span class="xref">System.Boolean</span></td>
  653. <td><span class="parametername">disposing</span></td>
  654. <td></td>
  655. </tr>
  656. </tbody>
  657. </table>
  658. <h5 class="overrides">Overrides</h5>
  659. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Dispose_System_Boolean_">View.Dispose(Boolean)</a></div>
  660. <h5 id="Terminal_Gui_ScrollView_Dispose_System_Boolean__remarks">Remarks</h5>
  661. <div class="markdown level1 remarks">
  662. If disposing equals true, the method has been called directly
  663. or indirectly by a user&apos;s code. Managed and unmanaged resources
  664. can be disposed.
  665. If disposing equals false, the method has been called by the
  666. runtime from inside the finalizer and you should not reference
  667. other objects. Only unmanaged resources can be disposed.
  668. </div>
  669. <a id="Terminal_Gui_ScrollView_MouseEvent_" data-uid="Terminal.Gui.ScrollView.MouseEvent*"></a>
  670. <h4 id="Terminal_Gui_ScrollView_MouseEvent_Terminal_Gui_MouseEvent_" data-uid="Terminal.Gui.ScrollView.MouseEvent(Terminal.Gui.MouseEvent)">MouseEvent(MouseEvent)</h4>
  671. <div class="markdown level1 summary">
  672. Method invoked when a mouse event is generated
  673. </div>
  674. <div class="markdown level1 conceptual"></div>
  675. <h5 class="decalaration">Declaration</h5>
  676. <div class="codewrapper">
  677. <pre><code class="lang-csharp hljs">public override bool MouseEvent(MouseEvent me)</code></pre>
  678. </div>
  679. <h5 class="parameters">Parameters</h5>
  680. <table class="table table-bordered table-striped table-condensed">
  681. <thead>
  682. <tr>
  683. <th>Type</th>
  684. <th>Name</th>
  685. <th>Description</th>
  686. </tr>
  687. </thead>
  688. <tbody>
  689. <tr>
  690. <td><a class="xref" href="Terminal.Gui.MouseEvent.html">MouseEvent</a></td>
  691. <td><span class="parametername">me</span></td>
  692. <td></td>
  693. </tr>
  694. </tbody>
  695. </table>
  696. <h5 class="returns">Returns</h5>
  697. <table class="table table-bordered table-striped table-condensed">
  698. <thead>
  699. <tr>
  700. <th>Type</th>
  701. <th>Description</th>
  702. </tr>
  703. </thead>
  704. <tbody>
  705. <tr>
  706. <td><span class="xref">System.Boolean</span></td>
  707. <td><code>true</code>, if the event was handled, <code>false</code> otherwise.</td>
  708. </tr>
  709. </tbody>
  710. </table>
  711. <h5 class="overrides">Overrides</h5>
  712. <div><a class="xref" href="Terminal.Gui.Responder.html#Terminal_Gui_Responder_MouseEvent_Terminal_Gui_MouseEvent_">Responder.MouseEvent(MouseEvent)</a></div>
  713. <a id="Terminal_Gui_ScrollView_OnEnter_" data-uid="Terminal.Gui.ScrollView.OnEnter*"></a>
  714. <h4 id="Terminal_Gui_ScrollView_OnEnter_Terminal_Gui_View_" data-uid="Terminal.Gui.ScrollView.OnEnter(Terminal.Gui.View)">OnEnter(View)</h4>
  715. <div class="markdown level1 summary">
  716. Method invoked when a view gets focus.
  717. </div>
  718. <div class="markdown level1 conceptual"></div>
  719. <h5 class="decalaration">Declaration</h5>
  720. <div class="codewrapper">
  721. <pre><code class="lang-csharp hljs">public override bool OnEnter(View view)</code></pre>
  722. </div>
  723. <h5 class="parameters">Parameters</h5>
  724. <table class="table table-bordered table-striped table-condensed">
  725. <thead>
  726. <tr>
  727. <th>Type</th>
  728. <th>Name</th>
  729. <th>Description</th>
  730. </tr>
  731. </thead>
  732. <tbody>
  733. <tr>
  734. <td><a class="xref" href="Terminal.Gui.View.html">View</a></td>
  735. <td><span class="parametername">view</span></td>
  736. <td>The view that is losing focus.</td>
  737. </tr>
  738. </tbody>
  739. </table>
  740. <h5 class="returns">Returns</h5>
  741. <table class="table table-bordered table-striped table-condensed">
  742. <thead>
  743. <tr>
  744. <th>Type</th>
  745. <th>Description</th>
  746. </tr>
  747. </thead>
  748. <tbody>
  749. <tr>
  750. <td><span class="xref">System.Boolean</span></td>
  751. <td><code>true</code>, if the event was handled, <code>false</code> otherwise.</td>
  752. </tr>
  753. </tbody>
  754. </table>
  755. <h5 class="overrides">Overrides</h5>
  756. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnEnter_Terminal_Gui_View_">View.OnEnter(View)</a></div>
  757. <a id="Terminal_Gui_ScrollView_PositionCursor_" data-uid="Terminal.Gui.ScrollView.PositionCursor*"></a>
  758. <h4 id="Terminal_Gui_ScrollView_PositionCursor" data-uid="Terminal.Gui.ScrollView.PositionCursor">PositionCursor()</h4>
  759. <div class="markdown level1 summary">
  760. Positions the cursor in the right position based on the currently focused view in the chain.
  761. </div>
  762. <div class="markdown level1 conceptual"></div>
  763. <h5 class="decalaration">Declaration</h5>
  764. <div class="codewrapper">
  765. <pre><code class="lang-csharp hljs">public override void PositionCursor()</code></pre>
  766. </div>
  767. <h5 class="overrides">Overrides</h5>
  768. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_PositionCursor">View.PositionCursor()</a></div>
  769. <a id="Terminal_Gui_ScrollView_ProcessKey_" data-uid="Terminal.Gui.ScrollView.ProcessKey*"></a>
  770. <h4 id="Terminal_Gui_ScrollView_ProcessKey_Terminal_Gui_KeyEvent_" data-uid="Terminal.Gui.ScrollView.ProcessKey(Terminal.Gui.KeyEvent)">ProcessKey(KeyEvent)</h4>
  771. <div class="markdown level1 summary">
  772. If the view is focused, gives the view a
  773. chance to process the keystroke.
  774. </div>
  775. <div class="markdown level1 conceptual"></div>
  776. <h5 class="decalaration">Declaration</h5>
  777. <div class="codewrapper">
  778. <pre><code class="lang-csharp hljs">public override bool ProcessKey(KeyEvent kb)</code></pre>
  779. </div>
  780. <h5 class="parameters">Parameters</h5>
  781. <table class="table table-bordered table-striped table-condensed">
  782. <thead>
  783. <tr>
  784. <th>Type</th>
  785. <th>Name</th>
  786. <th>Description</th>
  787. </tr>
  788. </thead>
  789. <tbody>
  790. <tr>
  791. <td><a class="xref" href="Terminal.Gui.KeyEvent.html">KeyEvent</a></td>
  792. <td><span class="parametername">kb</span></td>
  793. <td></td>
  794. </tr>
  795. </tbody>
  796. </table>
  797. <h5 class="returns">Returns</h5>
  798. <table class="table table-bordered table-striped table-condensed">
  799. <thead>
  800. <tr>
  801. <th>Type</th>
  802. <th>Description</th>
  803. </tr>
  804. </thead>
  805. <tbody>
  806. <tr>
  807. <td><span class="xref">System.Boolean</span></td>
  808. <td></td>
  809. </tr>
  810. </tbody>
  811. </table>
  812. <h5 class="overrides">Overrides</h5>
  813. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ProcessKey_Terminal_Gui_KeyEvent_">View.ProcessKey(KeyEvent)</a></div>
  814. <h5 id="Terminal_Gui_ScrollView_ProcessKey_Terminal_Gui_KeyEvent__remarks">Remarks</h5>
  815. <div class="markdown level1 remarks">
  816. <p>
  817. Views can override this method if they are
  818. interested in processing the given keystroke.
  819. If they consume the keystroke, they must
  820. return true to stop the keystroke from being
  821. processed by other widgets or consumed by the
  822. widget engine. If they return false, the
  823. keystroke will be passed using the ProcessColdKey
  824. method to other views to process.
  825. </p>
  826. <p>
  827. The View implementation does nothing but return false,
  828. so it is not necessary to call base.ProcessKey if you
  829. derive directly from View, but you should if you derive
  830. other View subclasses.
  831. </p>
  832. </div>
  833. <a id="Terminal_Gui_ScrollView_Redraw_" data-uid="Terminal.Gui.ScrollView.Redraw*"></a>
  834. <h4 id="Terminal_Gui_ScrollView_Redraw_Terminal_Gui_Rect_" data-uid="Terminal.Gui.ScrollView.Redraw(Terminal.Gui.Rect)">Redraw(Rect)</h4>
  835. <div class="markdown level1 summary">
  836. Redraws this view and its subviews; only redraws the views that have been flagged for a re-display.
  837. </div>
  838. <div class="markdown level1 conceptual"></div>
  839. <h5 class="decalaration">Declaration</h5>
  840. <div class="codewrapper">
  841. <pre><code class="lang-csharp hljs">public override void Redraw(Rect region)</code></pre>
  842. </div>
  843. <h5 class="parameters">Parameters</h5>
  844. <table class="table table-bordered table-striped table-condensed">
  845. <thead>
  846. <tr>
  847. <th>Type</th>
  848. <th>Name</th>
  849. <th>Description</th>
  850. </tr>
  851. </thead>
  852. <tbody>
  853. <tr>
  854. <td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
  855. <td><span class="parametername">region</span></td>
  856. <td></td>
  857. </tr>
  858. </tbody>
  859. </table>
  860. <h5 class="overrides">Overrides</h5>
  861. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Redraw_Terminal_Gui_Rect_">View.Redraw(Rect)</a></div>
  862. <h5 id="Terminal_Gui_ScrollView_Redraw_Terminal_Gui_Rect__remarks">Remarks</h5>
  863. <div class="markdown level1 remarks">
  864. <p>
  865. 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).
  866. </p>
  867. <p>
  868. Views should set the color that they want to use on entry, as otherwise this will inherit
  869. the last color that was set globally on the driver.
  870. </p>
  871. <p>
  872. 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
  873. larger than the <code>region</code> parameter.
  874. </p>
  875. </div>
  876. <a id="Terminal_Gui_ScrollView_RemoveAll_" data-uid="Terminal.Gui.ScrollView.RemoveAll*"></a>
  877. <h4 id="Terminal_Gui_ScrollView_RemoveAll" data-uid="Terminal.Gui.ScrollView.RemoveAll">RemoveAll()</h4>
  878. <div class="markdown level1 summary">
  879. Removes all widgets from this container.
  880. </div>
  881. <div class="markdown level1 conceptual"></div>
  882. <h5 class="decalaration">Declaration</h5>
  883. <div class="codewrapper">
  884. <pre><code class="lang-csharp hljs">public override void RemoveAll()</code></pre>
  885. </div>
  886. <h5 class="overrides">Overrides</h5>
  887. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_RemoveAll">View.RemoveAll()</a></div>
  888. <h5 id="Terminal_Gui_ScrollView_RemoveAll_remarks">Remarks</h5>
  889. <div class="markdown level1 remarks">
  890. </div>
  891. <a id="Terminal_Gui_ScrollView_ScrollDown_" data-uid="Terminal.Gui.ScrollView.ScrollDown*"></a>
  892. <h4 id="Terminal_Gui_ScrollView_ScrollDown_System_Int32_" data-uid="Terminal.Gui.ScrollView.ScrollDown(System.Int32)">ScrollDown(Int32)</h4>
  893. <div class="markdown level1 summary">
  894. Scrolls the view down.
  895. </div>
  896. <div class="markdown level1 conceptual"></div>
  897. <h5 class="decalaration">Declaration</h5>
  898. <div class="codewrapper">
  899. <pre><code class="lang-csharp hljs">public bool ScrollDown(int lines)</code></pre>
  900. </div>
  901. <h5 class="parameters">Parameters</h5>
  902. <table class="table table-bordered table-striped table-condensed">
  903. <thead>
  904. <tr>
  905. <th>Type</th>
  906. <th>Name</th>
  907. <th>Description</th>
  908. </tr>
  909. </thead>
  910. <tbody>
  911. <tr>
  912. <td><span class="xref">System.Int32</span></td>
  913. <td><span class="parametername">lines</span></td>
  914. <td>Number of lines to scroll.</td>
  915. </tr>
  916. </tbody>
  917. </table>
  918. <h5 class="returns">Returns</h5>
  919. <table class="table table-bordered table-striped table-condensed">
  920. <thead>
  921. <tr>
  922. <th>Type</th>
  923. <th>Description</th>
  924. </tr>
  925. </thead>
  926. <tbody>
  927. <tr>
  928. <td><span class="xref">System.Boolean</span></td>
  929. <td><code>true</code>, if left was scrolled, <code>false</code> otherwise.</td>
  930. </tr>
  931. </tbody>
  932. </table>
  933. <a id="Terminal_Gui_ScrollView_ScrollLeft_" data-uid="Terminal.Gui.ScrollView.ScrollLeft*"></a>
  934. <h4 id="Terminal_Gui_ScrollView_ScrollLeft_System_Int32_" data-uid="Terminal.Gui.ScrollView.ScrollLeft(System.Int32)">ScrollLeft(Int32)</h4>
  935. <div class="markdown level1 summary">
  936. Scrolls the view to the left
  937. </div>
  938. <div class="markdown level1 conceptual"></div>
  939. <h5 class="decalaration">Declaration</h5>
  940. <div class="codewrapper">
  941. <pre><code class="lang-csharp hljs">public bool ScrollLeft(int cols)</code></pre>
  942. </div>
  943. <h5 class="parameters">Parameters</h5>
  944. <table class="table table-bordered table-striped table-condensed">
  945. <thead>
  946. <tr>
  947. <th>Type</th>
  948. <th>Name</th>
  949. <th>Description</th>
  950. </tr>
  951. </thead>
  952. <tbody>
  953. <tr>
  954. <td><span class="xref">System.Int32</span></td>
  955. <td><span class="parametername">cols</span></td>
  956. <td>Number of columns to scroll by.</td>
  957. </tr>
  958. </tbody>
  959. </table>
  960. <h5 class="returns">Returns</h5>
  961. <table class="table table-bordered table-striped table-condensed">
  962. <thead>
  963. <tr>
  964. <th>Type</th>
  965. <th>Description</th>
  966. </tr>
  967. </thead>
  968. <tbody>
  969. <tr>
  970. <td><span class="xref">System.Boolean</span></td>
  971. <td><code>true</code>, if left was scrolled, <code>false</code> otherwise.</td>
  972. </tr>
  973. </tbody>
  974. </table>
  975. <a id="Terminal_Gui_ScrollView_ScrollRight_" data-uid="Terminal.Gui.ScrollView.ScrollRight*"></a>
  976. <h4 id="Terminal_Gui_ScrollView_ScrollRight_System_Int32_" data-uid="Terminal.Gui.ScrollView.ScrollRight(System.Int32)">ScrollRight(Int32)</h4>
  977. <div class="markdown level1 summary">
  978. Scrolls the view to the right.
  979. </div>
  980. <div class="markdown level1 conceptual"></div>
  981. <h5 class="decalaration">Declaration</h5>
  982. <div class="codewrapper">
  983. <pre><code class="lang-csharp hljs">public bool ScrollRight(int cols)</code></pre>
  984. </div>
  985. <h5 class="parameters">Parameters</h5>
  986. <table class="table table-bordered table-striped table-condensed">
  987. <thead>
  988. <tr>
  989. <th>Type</th>
  990. <th>Name</th>
  991. <th>Description</th>
  992. </tr>
  993. </thead>
  994. <tbody>
  995. <tr>
  996. <td><span class="xref">System.Int32</span></td>
  997. <td><span class="parametername">cols</span></td>
  998. <td>Number of columns to scroll by.</td>
  999. </tr>
  1000. </tbody>
  1001. </table>
  1002. <h5 class="returns">Returns</h5>
  1003. <table class="table table-bordered table-striped table-condensed">
  1004. <thead>
  1005. <tr>
  1006. <th>Type</th>
  1007. <th>Description</th>
  1008. </tr>
  1009. </thead>
  1010. <tbody>
  1011. <tr>
  1012. <td><span class="xref">System.Boolean</span></td>
  1013. <td><code>true</code>, if right was scrolled, <code>false</code> otherwise.</td>
  1014. </tr>
  1015. </tbody>
  1016. </table>
  1017. <a id="Terminal_Gui_ScrollView_ScrollUp_" data-uid="Terminal.Gui.ScrollView.ScrollUp*"></a>
  1018. <h4 id="Terminal_Gui_ScrollView_ScrollUp_System_Int32_" data-uid="Terminal.Gui.ScrollView.ScrollUp(System.Int32)">ScrollUp(Int32)</h4>
  1019. <div class="markdown level1 summary">
  1020. Scrolls the view up.
  1021. </div>
  1022. <div class="markdown level1 conceptual"></div>
  1023. <h5 class="decalaration">Declaration</h5>
  1024. <div class="codewrapper">
  1025. <pre><code class="lang-csharp hljs">public bool ScrollUp(int lines)</code></pre>
  1026. </div>
  1027. <h5 class="parameters">Parameters</h5>
  1028. <table class="table table-bordered table-striped table-condensed">
  1029. <thead>
  1030. <tr>
  1031. <th>Type</th>
  1032. <th>Name</th>
  1033. <th>Description</th>
  1034. </tr>
  1035. </thead>
  1036. <tbody>
  1037. <tr>
  1038. <td><span class="xref">System.Int32</span></td>
  1039. <td><span class="parametername">lines</span></td>
  1040. <td>Number of lines to scroll.</td>
  1041. </tr>
  1042. </tbody>
  1043. </table>
  1044. <h5 class="returns">Returns</h5>
  1045. <table class="table table-bordered table-striped table-condensed">
  1046. <thead>
  1047. <tr>
  1048. <th>Type</th>
  1049. <th>Description</th>
  1050. </tr>
  1051. </thead>
  1052. <tbody>
  1053. <tr>
  1054. <td><span class="xref">System.Boolean</span></td>
  1055. <td><code>true</code>, if left was scrolled, <code>false</code> otherwise.</td>
  1056. </tr>
  1057. </tbody>
  1058. </table>
  1059. <h3 id="implements">Implements</h3>
  1060. <div>
  1061. <span class="xref">System.IDisposable</span>
  1062. </div>
  1063. <div>
  1064. <span class="xref">System.ComponentModel.ISupportInitializeNotification</span>
  1065. </div>
  1066. <div>
  1067. <span class="xref">System.ComponentModel.ISupportInitialize</span>
  1068. </div>
  1069. </article>
  1070. </div>
  1071. <div class="hidden-sm col-md-2" role="complementary">
  1072. <div class="sideaffix">
  1073. <div class="contribution">
  1074. <ul class="nav">
  1075. </ul>
  1076. </div>
  1077. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  1078. <h5>In This Article</h5>
  1079. <div></div>
  1080. </nav>
  1081. </div>
  1082. </div>
  1083. </div>
  1084. </div>
  1085. <footer>
  1086. <div class="grad-bottom"></div>
  1087. <div class="footer">
  1088. <div class="container">
  1089. <span class="pull-right">
  1090. <a href="#top">Back to top</a>
  1091. </span>
  1092. <span>Generated by <strong>DocFX</strong></span>
  1093. </div>
  1094. </div>
  1095. </footer>
  1096. </div>
  1097. <script type="text/javascript" src="../../styles/docfx.vendor.js"></script>
  1098. <script type="text/javascript" src="../../styles/docfx.js"></script>
  1099. <script type="text/javascript" src="../../styles/main.js"></script>
  1100. </body>
  1101. </html>