Terminal.Gui.ScrollBarView.html 47 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099
  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 ScrollBarView
  8. </title>
  9. <meta name="viewport" content="width=device-width">
  10. <meta name="title" content="Class ScrollBarView
  11. ">
  12. <meta name="generator" content="docfx 2.59.3.0">
  13. <link rel="shortcut icon" href="../../favicon.ico">
  14. <link rel="stylesheet" href="../../styles/docfx.vendor.css">
  15. <link rel="stylesheet" href="../../styles/docfx.css">
  16. <link rel="stylesheet" href="../../styles/main.css">
  17. <link href="https://fonts.googleapis.com/css?family=Source Sans Pro" rel="stylesheet">
  18. <link href="https://fonts.googleapis.com/css?family=Source Code Pro" rel="stylesheet">
  19. <meta property="docfx:navrel" content="../../toc.html">
  20. <meta property="docfx:tocrel" content="toc.html">
  21. <meta property="docfx:rel" content="../../">
  22. </head> <body data-spy="scroll" data-target="#affix" data-offset="120">
  23. <div id="wrapper">
  24. <header>
  25. <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
  26. <div class="container">
  27. <div class="navbar-header">
  28. <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
  29. <span class="sr-only">Toggle navigation</span>
  30. <span class="icon-bar"></span>
  31. <span class="icon-bar"></span>
  32. <span class="icon-bar"></span>
  33. </button>
  34. <a class="navbar-brand" href="../../index.html">
  35. <img id="logo" class="svg" src="../../images/logo48.png" alt="">
  36. </a>
  37. </div>
  38. <div class="collapse navbar-collapse" id="navbar">
  39. <form class="navbar-form navbar-right" role="search" id="search">
  40. <div class="form-group">
  41. <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
  42. </div>
  43. </form>
  44. </div>
  45. </div>
  46. </nav>
  47. <div class="subnav navbar navbar-default">
  48. <div class="container hide-when-search" id="breadcrumb">
  49. <ul class="breadcrumb">
  50. <li></li>
  51. </ul>
  52. </div>
  53. </div>
  54. </header>
  55. <div class="container body-content">
  56. <div id="search-results">
  57. <div class="search-list">Search Results for <span></span></div>
  58. <div class="sr-items">
  59. <p><i class="glyphicon glyphicon-refresh index-loading"></i></p>
  60. </div>
  61. <ul id="pagination" data-first="First" data-prev="Previous" data-next="Next" data-last="Last"></ul>
  62. </div>
  63. </div>
  64. <div role="main" class="container body-content hide-when-search">
  65. <div class="sidenav hide-when-search">
  66. <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
  67. <div class="sidetoggle collapse" id="sidetoggle">
  68. <div id="sidetoc"></div>
  69. </div>
  70. </div>
  71. <div class="article row grid-right">
  72. <div class="col-md-10">
  73. <article class="content wrap" id="_content" data-uid="Terminal.Gui.ScrollBarView">
  74. <h1 id="Terminal_Gui_ScrollBarView" data-uid="Terminal.Gui.ScrollBarView" class="text-break">Class ScrollBarView
  75. </h1>
  76. <div class="markdown level0 summary">
  77. ScrollBarViews are views that display a 1-character scrollbar, either horizontal or vertical
  78. </div>
  79. <div class="markdown level0 conceptual"></div>
  80. <div class="inheritance">
  81. <h5>Inheritance</h5>
  82. <div class="level0"><span class="xref">System.Object</span></div>
  83. <div class="level1"><a class="xref" href="Terminal.Gui.Responder.html">Responder</a></div>
  84. <div class="level2"><a class="xref" href="Terminal.Gui.View.html">View</a></div>
  85. <div class="level3"><span class="xref">ScrollBarView</span></div>
  86. </div>
  87. <div class="implements">
  88. <h5>Implements</h5>
  89. <div><span class="xref">System.IDisposable</span></div>
  90. <div><span class="xref">System.ComponentModel.ISupportInitializeNotification</span></div>
  91. <div><span class="xref">System.ComponentModel.ISupportInitialize</span></div>
  92. </div>
  93. <h5 id="Terminal_Gui_ScrollBarView_remarks"><strong>Remarks</strong></h5>
  94. <div class="markdown level0 remarks">
  95. <p>
  96. The scrollbar is drawn to be a representation of the Size, assuming that the
  97. scroll position is set at Position.
  98. </p>
  99. <p>
  100. If the region to display the scrollbar is larger than three characters,
  101. arrow indicators are drawn.
  102. </p>
  103. </div>
  104. <div class="inheritedMembers">
  105. <h5>Inherited Members</h5>
  106. <div>
  107. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetMinWidthHeight_Terminal_Gui_Size__">View.GetMinWidthHeight(Size)</a>
  108. </div>
  109. <div>
  110. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetMinWidthHeight">View.SetMinWidthHeight()</a>
  111. </div>
  112. <div>
  113. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_UpdateTextFormatterText">View.UpdateTextFormatterText()</a>
  114. </div>
  115. <div>
  116. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ProcessResizeView">View.ProcessResizeView()</a>
  117. </div>
  118. <div>
  119. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetNeedsDisplay">View.SetNeedsDisplay()</a>
  120. </div>
  121. <div>
  122. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearLayoutNeeded">View.ClearLayoutNeeded()</a>
  123. </div>
  124. <div>
  125. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetNeedsDisplay_Terminal_Gui_Rect_">View.SetNeedsDisplay(Rect)</a>
  126. </div>
  127. <div>
  128. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetChildNeedsDisplay">View.SetChildNeedsDisplay()</a>
  129. </div>
  130. <div>
  131. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Add_Terminal_Gui_View_">View.Add(View)</a>
  132. </div>
  133. <div>
  134. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Add_Terminal_Gui_View___">View.Add(View[])</a>
  135. </div>
  136. <div>
  137. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_RemoveAll">View.RemoveAll()</a>
  138. </div>
  139. <div>
  140. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Remove_Terminal_Gui_View_">View.Remove(View)</a>
  141. </div>
  142. <div>
  143. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_BringSubviewToFront_Terminal_Gui_View_">View.BringSubviewToFront(View)</a>
  144. </div>
  145. <div>
  146. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SendSubviewToBack_Terminal_Gui_View_">View.SendSubviewToBack(View)</a>
  147. </div>
  148. <div>
  149. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SendSubviewBackwards_Terminal_Gui_View_">View.SendSubviewBackwards(View)</a>
  150. </div>
  151. <div>
  152. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_BringSubviewForward_Terminal_Gui_View_">View.BringSubviewForward(View)</a>
  153. </div>
  154. <div>
  155. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Clear">View.Clear()</a>
  156. </div>
  157. <div>
  158. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Clear_Terminal_Gui_Rect_">View.Clear(Rect)</a>
  159. </div>
  160. <div>
  161. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ScreenToView_System_Int32_System_Int32_">View.ScreenToView(Int32, Int32)</a>
  162. </div>
  163. <div>
  164. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClipToBounds">View.ClipToBounds()</a>
  165. </div>
  166. <div>
  167. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetClip_Terminal_Gui_Rect_">View.SetClip(Rect)</a>
  168. </div>
  169. <div>
  170. <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>
  171. </div>
  172. <div>
  173. <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>
  174. </div>
  175. <div>
  176. <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>
  177. </div>
  178. <div>
  179. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Move_System_Int32_System_Int32_System_Boolean_">View.Move(Int32, Int32, Boolean)</a>
  180. </div>
  181. <div>
  182. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_PositionCursor">View.PositionCursor()</a>
  183. </div>
  184. <div>
  185. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnAdded_Terminal_Gui_View_">View.OnAdded(View)</a>
  186. </div>
  187. <div>
  188. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnRemoved_Terminal_Gui_View_">View.OnRemoved(View)</a>
  189. </div>
  190. <div>
  191. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnLeave_Terminal_Gui_View_">View.OnLeave(View)</a>
  192. </div>
  193. <div>
  194. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_AddRune_System_Int32_System_Int32_System_Rune_">View.AddRune(Int32, Int32, Rune)</a>
  195. </div>
  196. <div>
  197. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearNeedsDisplay">View.ClearNeedsDisplay()</a>
  198. </div>
  199. <div>
  200. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnDrawContent_Terminal_Gui_Rect_">View.OnDrawContent(Rect)</a>
  201. </div>
  202. <div>
  203. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnDrawContentComplete_Terminal_Gui_Rect_">View.OnDrawContentComplete(Rect)</a>
  204. </div>
  205. <div>
  206. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetFocus">View.SetFocus()</a>
  207. </div>
  208. <div>
  209. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ProcessKey_Terminal_Gui_KeyEvent_">View.ProcessKey(KeyEvent)</a>
  210. </div>
  211. <div>
  212. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_InvokeKeybindings_Terminal_Gui_KeyEvent_">View.InvokeKeybindings(KeyEvent)</a>
  213. </div>
  214. <div>
  215. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_AddKeyBinding_Terminal_Gui_Key_Terminal_Gui_Command_">View.AddKeyBinding(Key, Command)</a>
  216. </div>
  217. <div>
  218. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ReplaceKeyBinding_Terminal_Gui_Key_Terminal_Gui_Key_">View.ReplaceKeyBinding(Key, Key)</a>
  219. </div>
  220. <div>
  221. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ContainsKeyBinding_Terminal_Gui_Key_">View.ContainsKeyBinding(Key)</a>
  222. </div>
  223. <div>
  224. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearKeybindings">View.ClearKeybindings()</a>
  225. </div>
  226. <div>
  227. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearKeybinding_Terminal_Gui_Key_">View.ClearKeybinding(Key)</a>
  228. </div>
  229. <div>
  230. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearKeybinding_Terminal_Gui_Command_">View.ClearKeybinding(Command)</a>
  231. </div>
  232. <div>
  233. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_AddCommand_Terminal_Gui_Command_System_Func_System_Nullable_System_Boolean___">View.AddCommand(Command, Func&lt;Nullable&lt;Boolean&gt;&gt;)</a>
  234. </div>
  235. <div>
  236. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetSupportedCommands">View.GetSupportedCommands()</a>
  237. </div>
  238. <div>
  239. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetKeyFromCommand_Terminal_Gui_Command_">View.GetKeyFromCommand(Command)</a>
  240. </div>
  241. <div>
  242. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ProcessHotKey_Terminal_Gui_KeyEvent_">View.ProcessHotKey(KeyEvent)</a>
  243. </div>
  244. <div>
  245. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ProcessColdKey_Terminal_Gui_KeyEvent_">View.ProcessColdKey(KeyEvent)</a>
  246. </div>
  247. <div>
  248. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnKeyDown_Terminal_Gui_KeyEvent_">View.OnKeyDown(KeyEvent)</a>
  249. </div>
  250. <div>
  251. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnKeyUp_Terminal_Gui_KeyEvent_">View.OnKeyUp(KeyEvent)</a>
  252. </div>
  253. <div>
  254. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_EnsureFocus">View.EnsureFocus()</a>
  255. </div>
  256. <div>
  257. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusFirst">View.FocusFirst()</a>
  258. </div>
  259. <div>
  260. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusLast">View.FocusLast()</a>
  261. </div>
  262. <div>
  263. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusPrev">View.FocusPrev()</a>
  264. </div>
  265. <div>
  266. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusNext">View.FocusNext()</a>
  267. </div>
  268. <div>
  269. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutSubviews">View.LayoutSubviews()</a>
  270. </div>
  271. <div>
  272. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ToString">View.ToString()</a>
  273. </div>
  274. <div>
  275. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetAutoSize">View.GetAutoSize()</a>
  276. </div>
  277. <div>
  278. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetHotKeySpecifierLength_System_Boolean_">View.GetHotKeySpecifierLength(Boolean)</a>
  279. </div>
  280. <div>
  281. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetTextFormatterBoundsSize">View.GetTextFormatterBoundsSize()</a>
  282. </div>
  283. <div>
  284. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetBoundsTextFormatterSize">View.GetBoundsTextFormatterSize()</a>
  285. </div>
  286. <div>
  287. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseEnter_Terminal_Gui_MouseEvent_">View.OnMouseEnter(MouseEvent)</a>
  288. </div>
  289. <div>
  290. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseLeave_Terminal_Gui_MouseEvent_">View.OnMouseLeave(MouseEvent)</a>
  291. </div>
  292. <div>
  293. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseEvent_Terminal_Gui_MouseEvent_">View.OnMouseEvent(MouseEvent)</a>
  294. </div>
  295. <div>
  296. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseClick_Terminal_Gui_View_MouseEventArgs_">View.OnMouseClick(View.MouseEventArgs)</a>
  297. </div>
  298. <div>
  299. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnCanFocusChanged">View.OnCanFocusChanged()</a>
  300. </div>
  301. <div>
  302. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnEnabledChanged">View.OnEnabledChanged()</a>
  303. </div>
  304. <div>
  305. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnVisibleChanged">View.OnVisibleChanged()</a>
  306. </div>
  307. <div>
  308. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Dispose_System_Boolean_">View.Dispose(Boolean)</a>
  309. </div>
  310. <div>
  311. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_BeginInit">View.BeginInit()</a>
  312. </div>
  313. <div>
  314. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_EndInit">View.EndInit()</a>
  315. </div>
  316. <div>
  317. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetWidth_System_Int32_System_Int32__">View.SetWidth(Int32, Int32)</a>
  318. </div>
  319. <div>
  320. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetHeight_System_Int32_System_Int32__">View.SetHeight(Int32, Int32)</a>
  321. </div>
  322. <div>
  323. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetCurrentWidth_System_Int32__">View.GetCurrentWidth(Int32)</a>
  324. </div>
  325. <div>
  326. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetCurrentHeight_System_Int32__">View.GetCurrentHeight(Int32)</a>
  327. </div>
  328. <div>
  329. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetNormalColor">View.GetNormalColor()</a>
  330. </div>
  331. <div>
  332. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetTopSuperView">View.GetTopSuperView()</a>
  333. </div>
  334. <div>
  335. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_HotKey">View.HotKey</a>
  336. </div>
  337. <div>
  338. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_HotKeySpecifier">View.HotKeySpecifier</a>
  339. </div>
  340. <div>
  341. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Shortcut">View.Shortcut</a>
  342. </div>
  343. <div>
  344. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ShortcutTag">View.ShortcutTag</a>
  345. </div>
  346. <div>
  347. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ShortcutAction">View.ShortcutAction</a>
  348. </div>
  349. <div>
  350. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Data">View.Data</a>
  351. </div>
  352. <div>
  353. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Driver">View.Driver</a>
  354. </div>
  355. <div>
  356. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Subviews">View.Subviews</a>
  357. </div>
  358. <div>
  359. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TabIndexes">View.TabIndexes</a>
  360. </div>
  361. <div>
  362. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TabIndex">View.TabIndex</a>
  363. </div>
  364. <div>
  365. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TabStop">View.TabStop</a>
  366. </div>
  367. <div>
  368. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_CanFocus">View.CanFocus</a>
  369. </div>
  370. <div>
  371. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Id">View.Id</a>
  372. </div>
  373. <div>
  374. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_IsCurrentTop">View.IsCurrentTop</a>
  375. </div>
  376. <div>
  377. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_WantMousePositionReports">View.WantMousePositionReports</a>
  378. </div>
  379. <div>
  380. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_WantContinuousButtonPressed">View.WantContinuousButtonPressed</a>
  381. </div>
  382. <div>
  383. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Frame">View.Frame</a>
  384. </div>
  385. <div>
  386. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutStyle">View.LayoutStyle</a>
  387. </div>
  388. <div>
  389. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Bounds">View.Bounds</a>
  390. </div>
  391. <div>
  392. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_X">View.X</a>
  393. </div>
  394. <div>
  395. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Y">View.Y</a>
  396. </div>
  397. <div>
  398. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Width">View.Width</a>
  399. </div>
  400. <div>
  401. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Height">View.Height</a>
  402. </div>
  403. <div>
  404. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ForceValidatePosDim">View.ForceValidatePosDim</a>
  405. </div>
  406. <div>
  407. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TextFormatter">View.TextFormatter</a>
  408. </div>
  409. <div>
  410. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SuperView">View.SuperView</a>
  411. </div>
  412. <div>
  413. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_HasFocus">View.HasFocus</a>
  414. </div>
  415. <div>
  416. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Focused">View.Focused</a>
  417. </div>
  418. <div>
  419. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_MostFocused">View.MostFocused</a>
  420. </div>
  421. <div>
  422. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ColorScheme">View.ColorScheme</a>
  423. </div>
  424. <div>
  425. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Text">View.Text</a>
  426. </div>
  427. <div>
  428. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_AutoSize">View.AutoSize</a>
  429. </div>
  430. <div>
  431. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_PreserveTrailingSpaces">View.PreserveTrailingSpaces</a>
  432. </div>
  433. <div>
  434. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TextAlignment">View.TextAlignment</a>
  435. </div>
  436. <div>
  437. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_VerticalTextAlignment">View.VerticalTextAlignment</a>
  438. </div>
  439. <div>
  440. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TextDirection">View.TextDirection</a>
  441. </div>
  442. <div>
  443. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_IsInitialized">View.IsInitialized</a>
  444. </div>
  445. <div>
  446. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_IsAdded">View.IsAdded</a>
  447. </div>
  448. <div>
  449. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Enabled">View.Enabled</a>
  450. </div>
  451. <div>
  452. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Visible">View.Visible</a>
  453. </div>
  454. <div>
  455. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Border">View.Border</a>
  456. </div>
  457. <div>
  458. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Added">View.Added</a>
  459. </div>
  460. <div>
  461. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Removed">View.Removed</a>
  462. </div>
  463. <div>
  464. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Enter">View.Enter</a>
  465. </div>
  466. <div>
  467. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Leave">View.Leave</a>
  468. </div>
  469. <div>
  470. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_MouseEnter">View.MouseEnter</a>
  471. </div>
  472. <div>
  473. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_MouseLeave">View.MouseLeave</a>
  474. </div>
  475. <div>
  476. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_MouseClick">View.MouseClick</a>
  477. </div>
  478. <div>
  479. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_CanFocusChanged">View.CanFocusChanged</a>
  480. </div>
  481. <div>
  482. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_EnabledChanged">View.EnabledChanged</a>
  483. </div>
  484. <div>
  485. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_VisibleChanged">View.VisibleChanged</a>
  486. </div>
  487. <div>
  488. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_HotKeyChanged">View.HotKeyChanged</a>
  489. </div>
  490. <div>
  491. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_DrawContent">View.DrawContent</a>
  492. </div>
  493. <div>
  494. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_DrawContentComplete">View.DrawContentComplete</a>
  495. </div>
  496. <div>
  497. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_KeyPress">View.KeyPress</a>
  498. </div>
  499. <div>
  500. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_KeyDown">View.KeyDown</a>
  501. </div>
  502. <div>
  503. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_KeyUp">View.KeyUp</a>
  504. </div>
  505. <div>
  506. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutStarted">View.LayoutStarted</a>
  507. </div>
  508. <div>
  509. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutComplete">View.LayoutComplete</a>
  510. </div>
  511. <div>
  512. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Initialized">View.Initialized</a>
  513. </div>
  514. <div>
  515. <a class="xref" href="Terminal.Gui.Responder.html#Terminal_Gui_Responder_Dispose">Responder.Dispose()</a>
  516. </div>
  517. </div>
  518. <h6><strong>Namespace</strong>: <a class="xref" href="Terminal.Gui.html">Terminal.Gui</a></h6>
  519. <h6><strong>Assembly</strong>: Terminal.Gui.dll</h6>
  520. <h5 id="Terminal_Gui_ScrollBarView_syntax">Syntax</h5>
  521. <div class="codewrapper">
  522. <pre><code class="lang-csharp hljs">public class ScrollBarView : View</code></pre>
  523. </div>
  524. <h3 id="constructors">Constructors
  525. </h3>
  526. <a id="Terminal_Gui_ScrollBarView__ctor_" data-uid="Terminal.Gui.ScrollBarView.#ctor*"></a>
  527. <h4 id="Terminal_Gui_ScrollBarView__ctor" data-uid="Terminal.Gui.ScrollBarView.#ctor">ScrollBarView()</h4>
  528. <div class="markdown level1 summary">
  529. Initializes a new instance of the <a class="xref" href="Terminal.Gui.ScrollBarView.html">ScrollBarView</a> class using <a class="xref" href="Terminal.Gui.LayoutStyle.html#Terminal_Gui_LayoutStyle_Computed">Computed</a> layout.
  530. </div>
  531. <div class="markdown level1 conceptual"></div>
  532. <h5 class="decalaration">Declaration</h5>
  533. <div class="codewrapper">
  534. <pre><code class="lang-csharp hljs">public ScrollBarView()</code></pre>
  535. </div>
  536. <a id="Terminal_Gui_ScrollBarView__ctor_" data-uid="Terminal.Gui.ScrollBarView.#ctor*"></a>
  537. <h4 id="Terminal_Gui_ScrollBarView__ctor_System_Int32_System_Int32_System_Boolean_" data-uid="Terminal.Gui.ScrollBarView.#ctor(System.Int32,System.Int32,System.Boolean)">ScrollBarView(Int32, Int32, Boolean)</h4>
  538. <div class="markdown level1 summary">
  539. Initializes a new instance of the <a class="xref" href="Terminal.Gui.ScrollBarView.html">ScrollBarView</a> class using <a class="xref" href="Terminal.Gui.LayoutStyle.html#Terminal_Gui_LayoutStyle_Computed">Computed</a> layout.
  540. </div>
  541. <div class="markdown level1 conceptual"></div>
  542. <h5 class="decalaration">Declaration</h5>
  543. <div class="codewrapper">
  544. <pre><code class="lang-csharp hljs">public ScrollBarView(int size, int position, bool isVertical)</code></pre>
  545. </div>
  546. <h5 class="parameters">Parameters</h5>
  547. <table class="table table-bordered table-striped table-condensed">
  548. <thead>
  549. <tr>
  550. <th>Type</th>
  551. <th>Name</th>
  552. <th>Description</th>
  553. </tr>
  554. </thead>
  555. <tbody>
  556. <tr>
  557. <td><span class="xref">System.Int32</span></td>
  558. <td><span class="parametername">size</span></td>
  559. <td>The size that this scrollbar represents.</td>
  560. </tr>
  561. <tr>
  562. <td><span class="xref">System.Int32</span></td>
  563. <td><span class="parametername">position</span></td>
  564. <td>The position within this scrollbar.</td>
  565. </tr>
  566. <tr>
  567. <td><span class="xref">System.Boolean</span></td>
  568. <td><span class="parametername">isVertical</span></td>
  569. <td>If set to <code>true</code> this is a vertical scrollbar, otherwise, the scrollbar is horizontal.</td>
  570. </tr>
  571. </tbody>
  572. </table>
  573. <a id="Terminal_Gui_ScrollBarView__ctor_" data-uid="Terminal.Gui.ScrollBarView.#ctor*"></a>
  574. <h4 id="Terminal_Gui_ScrollBarView__ctor_Terminal_Gui_Rect_" data-uid="Terminal.Gui.ScrollBarView.#ctor(Terminal.Gui.Rect)">ScrollBarView(Rect)</h4>
  575. <div class="markdown level1 summary">
  576. Initializes a new instance of the <a class="xref" href="Terminal.Gui.ScrollBarView.html">ScrollBarView</a> class using <a class="xref" href="Terminal.Gui.LayoutStyle.html#Terminal_Gui_LayoutStyle_Absolute">Absolute</a> layout.
  577. </div>
  578. <div class="markdown level1 conceptual"></div>
  579. <h5 class="decalaration">Declaration</h5>
  580. <div class="codewrapper">
  581. <pre><code class="lang-csharp hljs">public ScrollBarView(Rect rect)</code></pre>
  582. </div>
  583. <h5 class="parameters">Parameters</h5>
  584. <table class="table table-bordered table-striped table-condensed">
  585. <thead>
  586. <tr>
  587. <th>Type</th>
  588. <th>Name</th>
  589. <th>Description</th>
  590. </tr>
  591. </thead>
  592. <tbody>
  593. <tr>
  594. <td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
  595. <td><span class="parametername">rect</span></td>
  596. <td>Frame for the scrollbar.</td>
  597. </tr>
  598. </tbody>
  599. </table>
  600. <a id="Terminal_Gui_ScrollBarView__ctor_" data-uid="Terminal.Gui.ScrollBarView.#ctor*"></a>
  601. <h4 id="Terminal_Gui_ScrollBarView__ctor_Terminal_Gui_Rect_System_Int32_System_Int32_System_Boolean_" data-uid="Terminal.Gui.ScrollBarView.#ctor(Terminal.Gui.Rect,System.Int32,System.Int32,System.Boolean)">ScrollBarView(Rect, Int32, Int32, Boolean)</h4>
  602. <div class="markdown level1 summary">
  603. Initializes a new instance of the <a class="xref" href="Terminal.Gui.ScrollBarView.html">ScrollBarView</a> class using <a class="xref" href="Terminal.Gui.LayoutStyle.html#Terminal_Gui_LayoutStyle_Absolute">Absolute</a> layout.
  604. </div>
  605. <div class="markdown level1 conceptual"></div>
  606. <h5 class="decalaration">Declaration</h5>
  607. <div class="codewrapper">
  608. <pre><code class="lang-csharp hljs">public ScrollBarView(Rect rect, int size, int position, bool isVertical)</code></pre>
  609. </div>
  610. <h5 class="parameters">Parameters</h5>
  611. <table class="table table-bordered table-striped table-condensed">
  612. <thead>
  613. <tr>
  614. <th>Type</th>
  615. <th>Name</th>
  616. <th>Description</th>
  617. </tr>
  618. </thead>
  619. <tbody>
  620. <tr>
  621. <td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
  622. <td><span class="parametername">rect</span></td>
  623. <td>Frame for the scrollbar.</td>
  624. </tr>
  625. <tr>
  626. <td><span class="xref">System.Int32</span></td>
  627. <td><span class="parametername">size</span></td>
  628. <td>The size that this scrollbar represents. Sets the <a class="xref" href="Terminal.Gui.ScrollBarView.html#Terminal_Gui_ScrollBarView_Size">Size</a> property.</td>
  629. </tr>
  630. <tr>
  631. <td><span class="xref">System.Int32</span></td>
  632. <td><span class="parametername">position</span></td>
  633. <td>The position within this scrollbar. Sets the <a class="xref" href="Terminal.Gui.ScrollBarView.html#Terminal_Gui_ScrollBarView_Position">Position</a> property.</td>
  634. </tr>
  635. <tr>
  636. <td><span class="xref">System.Boolean</span></td>
  637. <td><span class="parametername">isVertical</span></td>
  638. <td>If set to <code>true</code> this is a vertical scrollbar, otherwise, the scrollbar is horizontal. Sets the <a class="xref" href="Terminal.Gui.ScrollBarView.html#Terminal_Gui_ScrollBarView_IsVertical">IsVertical</a> property.</td>
  639. </tr>
  640. </tbody>
  641. </table>
  642. <a id="Terminal_Gui_ScrollBarView__ctor_" data-uid="Terminal.Gui.ScrollBarView.#ctor*"></a>
  643. <h4 id="Terminal_Gui_ScrollBarView__ctor_Terminal_Gui_View_System_Boolean_System_Boolean_" data-uid="Terminal.Gui.ScrollBarView.#ctor(Terminal.Gui.View,System.Boolean,System.Boolean)">ScrollBarView(View, Boolean, Boolean)</h4>
  644. <div class="markdown level1 summary">
  645. Initializes a new instance of the <a class="xref" href="Terminal.Gui.ScrollBarView.html">ScrollBarView</a> class using <a class="xref" href="Terminal.Gui.LayoutStyle.html#Terminal_Gui_LayoutStyle_Computed">Computed</a> layout.
  646. </div>
  647. <div class="markdown level1 conceptual"></div>
  648. <h5 class="decalaration">Declaration</h5>
  649. <div class="codewrapper">
  650. <pre><code class="lang-csharp hljs">public ScrollBarView(View host, bool isVertical, bool showBothScrollIndicator = true)</code></pre>
  651. </div>
  652. <h5 class="parameters">Parameters</h5>
  653. <table class="table table-bordered table-striped table-condensed">
  654. <thead>
  655. <tr>
  656. <th>Type</th>
  657. <th>Name</th>
  658. <th>Description</th>
  659. </tr>
  660. </thead>
  661. <tbody>
  662. <tr>
  663. <td><a class="xref" href="Terminal.Gui.View.html">View</a></td>
  664. <td><span class="parametername">host</span></td>
  665. <td>The view that will host this scrollbar.</td>
  666. </tr>
  667. <tr>
  668. <td><span class="xref">System.Boolean</span></td>
  669. <td><span class="parametername">isVertical</span></td>
  670. <td>If set to <code>true</code> this is a vertical scrollbar, otherwise, the scrollbar is horizontal.</td>
  671. </tr>
  672. <tr>
  673. <td><span class="xref">System.Boolean</span></td>
  674. <td><span class="parametername">showBothScrollIndicator</span></td>
  675. <td>If set to <code>true (default)</code> will have the other scrollbar, otherwise will have only one.</td>
  676. </tr>
  677. </tbody>
  678. </table>
  679. <h3 id="properties">Properties
  680. </h3>
  681. <a id="Terminal_Gui_ScrollBarView_AutoHideScrollBars_" data-uid="Terminal.Gui.ScrollBarView.AutoHideScrollBars*"></a>
  682. <h4 id="Terminal_Gui_ScrollBarView_AutoHideScrollBars" data-uid="Terminal.Gui.ScrollBarView.AutoHideScrollBars">AutoHideScrollBars</h4>
  683. <div class="markdown level1 summary">
  684. If true the vertical/horizontal scroll bars won&apos;t be showed if it&apos;s not needed.
  685. </div>
  686. <div class="markdown level1 conceptual"></div>
  687. <h5 class="decalaration">Declaration</h5>
  688. <div class="codewrapper">
  689. <pre><code class="lang-csharp hljs">public bool AutoHideScrollBars { get; set; }</code></pre>
  690. </div>
  691. <h5 class="propertyValue">Property Value</h5>
  692. <table class="table table-bordered table-striped table-condensed">
  693. <thead>
  694. <tr>
  695. <th>Type</th>
  696. <th>Description</th>
  697. </tr>
  698. </thead>
  699. <tbody>
  700. <tr>
  701. <td><span class="xref">System.Boolean</span></td>
  702. <td></td>
  703. </tr>
  704. </tbody>
  705. </table>
  706. <a id="Terminal_Gui_ScrollBarView_Host_" data-uid="Terminal.Gui.ScrollBarView.Host*"></a>
  707. <h4 id="Terminal_Gui_ScrollBarView_Host" data-uid="Terminal.Gui.ScrollBarView.Host">Host</h4>
  708. <div class="markdown level1 summary">
  709. Get or sets the view that host this <a class="xref" href="Terminal.Gui.View.html">View</a>
  710. </div>
  711. <div class="markdown level1 conceptual"></div>
  712. <h5 class="decalaration">Declaration</h5>
  713. <div class="codewrapper">
  714. <pre><code class="lang-csharp hljs">public View Host { get; }</code></pre>
  715. </div>
  716. <h5 class="propertyValue">Property Value</h5>
  717. <table class="table table-bordered table-striped table-condensed">
  718. <thead>
  719. <tr>
  720. <th>Type</th>
  721. <th>Description</th>
  722. </tr>
  723. </thead>
  724. <tbody>
  725. <tr>
  726. <td><a class="xref" href="Terminal.Gui.View.html">View</a></td>
  727. <td></td>
  728. </tr>
  729. </tbody>
  730. </table>
  731. <a id="Terminal_Gui_ScrollBarView_IsVertical_" data-uid="Terminal.Gui.ScrollBarView.IsVertical*"></a>
  732. <h4 id="Terminal_Gui_ScrollBarView_IsVertical" data-uid="Terminal.Gui.ScrollBarView.IsVertical">IsVertical</h4>
  733. <div class="markdown level1 summary">
  734. If set to <code>true</code> this is a vertical scrollbar, otherwise, the scrollbar is horizontal.
  735. </div>
  736. <div class="markdown level1 conceptual"></div>
  737. <h5 class="decalaration">Declaration</h5>
  738. <div class="codewrapper">
  739. <pre><code class="lang-csharp hljs">public bool IsVertical { get; set; }</code></pre>
  740. </div>
  741. <h5 class="propertyValue">Property Value</h5>
  742. <table class="table table-bordered table-striped table-condensed">
  743. <thead>
  744. <tr>
  745. <th>Type</th>
  746. <th>Description</th>
  747. </tr>
  748. </thead>
  749. <tbody>
  750. <tr>
  751. <td><span class="xref">System.Boolean</span></td>
  752. <td></td>
  753. </tr>
  754. </tbody>
  755. </table>
  756. <a id="Terminal_Gui_ScrollBarView_KeepContentAlwaysInViewport_" data-uid="Terminal.Gui.ScrollBarView.KeepContentAlwaysInViewport*"></a>
  757. <h4 id="Terminal_Gui_ScrollBarView_KeepContentAlwaysInViewport" data-uid="Terminal.Gui.ScrollBarView.KeepContentAlwaysInViewport">KeepContentAlwaysInViewport</h4>
  758. <div class="markdown level1 summary">
  759. Get or sets if the view-port is kept always visible in the area of this <a class="xref" href="Terminal.Gui.ScrollBarView.html">ScrollBarView</a>
  760. </div>
  761. <div class="markdown level1 conceptual"></div>
  762. <h5 class="decalaration">Declaration</h5>
  763. <div class="codewrapper">
  764. <pre><code class="lang-csharp hljs">public bool KeepContentAlwaysInViewport { get; set; }</code></pre>
  765. </div>
  766. <h5 class="propertyValue">Property Value</h5>
  767. <table class="table table-bordered table-striped table-condensed">
  768. <thead>
  769. <tr>
  770. <th>Type</th>
  771. <th>Description</th>
  772. </tr>
  773. </thead>
  774. <tbody>
  775. <tr>
  776. <td><span class="xref">System.Boolean</span></td>
  777. <td></td>
  778. </tr>
  779. </tbody>
  780. </table>
  781. <a id="Terminal_Gui_ScrollBarView_OtherScrollBarView_" data-uid="Terminal.Gui.ScrollBarView.OtherScrollBarView*"></a>
  782. <h4 id="Terminal_Gui_ScrollBarView_OtherScrollBarView" data-uid="Terminal.Gui.ScrollBarView.OtherScrollBarView">OtherScrollBarView</h4>
  783. <div class="markdown level1 summary">
  784. Represent a vertical or horizontal ScrollBarView other than this.
  785. </div>
  786. <div class="markdown level1 conceptual"></div>
  787. <h5 class="decalaration">Declaration</h5>
  788. <div class="codewrapper">
  789. <pre><code class="lang-csharp hljs">public ScrollBarView OtherScrollBarView { get; set; }</code></pre>
  790. </div>
  791. <h5 class="propertyValue">Property Value</h5>
  792. <table class="table table-bordered table-striped table-condensed">
  793. <thead>
  794. <tr>
  795. <th>Type</th>
  796. <th>Description</th>
  797. </tr>
  798. </thead>
  799. <tbody>
  800. <tr>
  801. <td><a class="xref" href="Terminal.Gui.ScrollBarView.html">ScrollBarView</a></td>
  802. <td></td>
  803. </tr>
  804. </tbody>
  805. </table>
  806. <a id="Terminal_Gui_ScrollBarView_Position_" data-uid="Terminal.Gui.ScrollBarView.Position*"></a>
  807. <h4 id="Terminal_Gui_ScrollBarView_Position" data-uid="Terminal.Gui.ScrollBarView.Position">Position</h4>
  808. <div class="markdown level1 summary">
  809. The position, relative to <a class="xref" href="Terminal.Gui.ScrollBarView.html#Terminal_Gui_ScrollBarView_Size">Size</a>, to set the scrollbar at.
  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 int Position { get; set; }</code></pre>
  815. </div>
  816. <h5 class="propertyValue">Property Value</h5>
  817. <table class="table table-bordered table-striped table-condensed">
  818. <thead>
  819. <tr>
  820. <th>Type</th>
  821. <th>Description</th>
  822. </tr>
  823. </thead>
  824. <tbody>
  825. <tr>
  826. <td><span class="xref">System.Int32</span></td>
  827. <td>The position.</td>
  828. </tr>
  829. </tbody>
  830. </table>
  831. <a id="Terminal_Gui_ScrollBarView_ShowScrollIndicator_" data-uid="Terminal.Gui.ScrollBarView.ShowScrollIndicator*"></a>
  832. <h4 id="Terminal_Gui_ScrollBarView_ShowScrollIndicator" data-uid="Terminal.Gui.ScrollBarView.ShowScrollIndicator">ShowScrollIndicator</h4>
  833. <div class="markdown level1 summary">
  834. Gets or sets the visibility for the vertical or horizontal scroll indicator.
  835. </div>
  836. <div class="markdown level1 conceptual"></div>
  837. <h5 class="decalaration">Declaration</h5>
  838. <div class="codewrapper">
  839. <pre><code class="lang-csharp hljs">public bool ShowScrollIndicator { get; set; }</code></pre>
  840. </div>
  841. <h5 class="propertyValue">Property Value</h5>
  842. <table class="table table-bordered table-striped table-condensed">
  843. <thead>
  844. <tr>
  845. <th>Type</th>
  846. <th>Description</th>
  847. </tr>
  848. </thead>
  849. <tbody>
  850. <tr>
  851. <td><span class="xref">System.Boolean</span></td>
  852. <td><code>true</code> if show vertical or horizontal scroll indicator; otherwise, <code>false</code>.</td>
  853. </tr>
  854. </tbody>
  855. </table>
  856. <a id="Terminal_Gui_ScrollBarView_Size_" data-uid="Terminal.Gui.ScrollBarView.Size*"></a>
  857. <h4 id="Terminal_Gui_ScrollBarView_Size" data-uid="Terminal.Gui.ScrollBarView.Size">Size</h4>
  858. <div class="markdown level1 summary">
  859. The size of content the scrollbar represents.
  860. </div>
  861. <div class="markdown level1 conceptual"></div>
  862. <h5 class="decalaration">Declaration</h5>
  863. <div class="codewrapper">
  864. <pre><code class="lang-csharp hljs">public int Size { get; set; }</code></pre>
  865. </div>
  866. <h5 class="propertyValue">Property Value</h5>
  867. <table class="table table-bordered table-striped table-condensed">
  868. <thead>
  869. <tr>
  870. <th>Type</th>
  871. <th>Description</th>
  872. </tr>
  873. </thead>
  874. <tbody>
  875. <tr>
  876. <td><span class="xref">System.Int32</span></td>
  877. <td>The size.</td>
  878. </tr>
  879. </tbody>
  880. </table>
  881. <h3 id="methods">Methods
  882. </h3>
  883. <a id="Terminal_Gui_ScrollBarView_MouseEvent_" data-uid="Terminal.Gui.ScrollBarView.MouseEvent*"></a>
  884. <h4 id="Terminal_Gui_ScrollBarView_MouseEvent_Terminal_Gui_MouseEvent_" data-uid="Terminal.Gui.ScrollBarView.MouseEvent(Terminal.Gui.MouseEvent)">MouseEvent(MouseEvent)</h4>
  885. <div class="markdown level1 summary">
  886. Method invoked when a mouse event is generated
  887. </div>
  888. <div class="markdown level1 conceptual"></div>
  889. <h5 class="decalaration">Declaration</h5>
  890. <div class="codewrapper">
  891. <pre><code class="lang-csharp hljs">public override bool MouseEvent(MouseEvent me)</code></pre>
  892. </div>
  893. <h5 class="parameters">Parameters</h5>
  894. <table class="table table-bordered table-striped table-condensed">
  895. <thead>
  896. <tr>
  897. <th>Type</th>
  898. <th>Name</th>
  899. <th>Description</th>
  900. </tr>
  901. </thead>
  902. <tbody>
  903. <tr>
  904. <td><a class="xref" href="Terminal.Gui.MouseEvent.html">MouseEvent</a></td>
  905. <td><span class="parametername">me</span></td>
  906. <td></td>
  907. </tr>
  908. </tbody>
  909. </table>
  910. <h5 class="returns">Returns</h5>
  911. <table class="table table-bordered table-striped table-condensed">
  912. <thead>
  913. <tr>
  914. <th>Type</th>
  915. <th>Description</th>
  916. </tr>
  917. </thead>
  918. <tbody>
  919. <tr>
  920. <td><span class="xref">System.Boolean</span></td>
  921. <td><code>true</code>, if the event was handled, <code>false</code> otherwise.</td>
  922. </tr>
  923. </tbody>
  924. </table>
  925. <h5 class="overrides">Overrides</h5>
  926. <div><a class="xref" href="Terminal.Gui.Responder.html#Terminal_Gui_Responder_MouseEvent_Terminal_Gui_MouseEvent_">Responder.MouseEvent(MouseEvent)</a></div>
  927. <a id="Terminal_Gui_ScrollBarView_OnChangedPosition_" data-uid="Terminal.Gui.ScrollBarView.OnChangedPosition*"></a>
  928. <h4 id="Terminal_Gui_ScrollBarView_OnChangedPosition" data-uid="Terminal.Gui.ScrollBarView.OnChangedPosition">OnChangedPosition()</h4>
  929. <div class="markdown level1 summary">
  930. Virtual method to invoke the <a class="xref" href="Terminal.Gui.ScrollBarView.html#Terminal_Gui_ScrollBarView_ChangedPosition">ChangedPosition</a> action event.
  931. </div>
  932. <div class="markdown level1 conceptual"></div>
  933. <h5 class="decalaration">Declaration</h5>
  934. <div class="codewrapper">
  935. <pre><code class="lang-csharp hljs">public virtual void OnChangedPosition()</code></pre>
  936. </div>
  937. <a id="Terminal_Gui_ScrollBarView_OnEnter_" data-uid="Terminal.Gui.ScrollBarView.OnEnter*"></a>
  938. <h4 id="Terminal_Gui_ScrollBarView_OnEnter_Terminal_Gui_View_" data-uid="Terminal.Gui.ScrollBarView.OnEnter(Terminal.Gui.View)">OnEnter(View)</h4>
  939. <div class="markdown level1 summary">
  940. Method invoked when a view gets focus.
  941. </div>
  942. <div class="markdown level1 conceptual"></div>
  943. <h5 class="decalaration">Declaration</h5>
  944. <div class="codewrapper">
  945. <pre><code class="lang-csharp hljs">public override bool OnEnter(View view)</code></pre>
  946. </div>
  947. <h5 class="parameters">Parameters</h5>
  948. <table class="table table-bordered table-striped table-condensed">
  949. <thead>
  950. <tr>
  951. <th>Type</th>
  952. <th>Name</th>
  953. <th>Description</th>
  954. </tr>
  955. </thead>
  956. <tbody>
  957. <tr>
  958. <td><a class="xref" href="Terminal.Gui.View.html">View</a></td>
  959. <td><span class="parametername">view</span></td>
  960. <td>The view that is losing focus.</td>
  961. </tr>
  962. </tbody>
  963. </table>
  964. <h5 class="returns">Returns</h5>
  965. <table class="table table-bordered table-striped table-condensed">
  966. <thead>
  967. <tr>
  968. <th>Type</th>
  969. <th>Description</th>
  970. </tr>
  971. </thead>
  972. <tbody>
  973. <tr>
  974. <td><span class="xref">System.Boolean</span></td>
  975. <td><code>true</code>, if the event was handled, <code>false</code> otherwise.</td>
  976. </tr>
  977. </tbody>
  978. </table>
  979. <h5 class="overrides">Overrides</h5>
  980. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnEnter_Terminal_Gui_View_">View.OnEnter(View)</a></div>
  981. <a id="Terminal_Gui_ScrollBarView_Redraw_" data-uid="Terminal.Gui.ScrollBarView.Redraw*"></a>
  982. <h4 id="Terminal_Gui_ScrollBarView_Redraw_Terminal_Gui_Rect_" data-uid="Terminal.Gui.ScrollBarView.Redraw(Terminal.Gui.Rect)">Redraw(Rect)</h4>
  983. <div class="markdown level1 summary">
  984. Redraws this view and its subviews; only redraws the views that have been flagged for a re-display.
  985. </div>
  986. <div class="markdown level1 conceptual"></div>
  987. <h5 class="decalaration">Declaration</h5>
  988. <div class="codewrapper">
  989. <pre><code class="lang-csharp hljs">public override void Redraw(Rect region)</code></pre>
  990. </div>
  991. <h5 class="parameters">Parameters</h5>
  992. <table class="table table-bordered table-striped table-condensed">
  993. <thead>
  994. <tr>
  995. <th>Type</th>
  996. <th>Name</th>
  997. <th>Description</th>
  998. </tr>
  999. </thead>
  1000. <tbody>
  1001. <tr>
  1002. <td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
  1003. <td><span class="parametername">region</span></td>
  1004. <td></td>
  1005. </tr>
  1006. </tbody>
  1007. </table>
  1008. <h5 class="overrides">Overrides</h5>
  1009. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Redraw_Terminal_Gui_Rect_">View.Redraw(Rect)</a></div>
  1010. <a id="Terminal_Gui_ScrollBarView_Refresh_" data-uid="Terminal.Gui.ScrollBarView.Refresh*"></a>
  1011. <h4 id="Terminal_Gui_ScrollBarView_Refresh" data-uid="Terminal.Gui.ScrollBarView.Refresh">Refresh()</h4>
  1012. <div class="markdown level1 summary">
  1013. Only used for a hosted view that will update and redraw the scrollbars.
  1014. </div>
  1015. <div class="markdown level1 conceptual"></div>
  1016. <h5 class="decalaration">Declaration</h5>
  1017. <div class="codewrapper">
  1018. <pre><code class="lang-csharp hljs">public virtual void Refresh()</code></pre>
  1019. </div>
  1020. <h3 id="events">Events
  1021. </h3>
  1022. <h4 id="Terminal_Gui_ScrollBarView_ChangedPosition" data-uid="Terminal.Gui.ScrollBarView.ChangedPosition">ChangedPosition</h4>
  1023. <div class="markdown level1 summary">
  1024. This event is raised when the position on the scrollbar has changed.
  1025. </div>
  1026. <div class="markdown level1 conceptual"></div>
  1027. <h5 class="decalaration">Declaration</h5>
  1028. <div class="codewrapper">
  1029. <pre><code class="lang-csharp hljs">public event Action ChangedPosition</code></pre>
  1030. </div>
  1031. <h5 class="eventType">Event Type</h5>
  1032. <table class="table table-bordered table-striped table-condensed">
  1033. <thead>
  1034. <tr>
  1035. <th>Type</th>
  1036. <th>Description</th>
  1037. </tr>
  1038. </thead>
  1039. <tbody>
  1040. <tr>
  1041. <td><span class="xref">System.Action</span></td>
  1042. <td></td>
  1043. </tr>
  1044. </tbody>
  1045. </table>
  1046. <h3 id="implements">Implements</h3>
  1047. <div>
  1048. <span class="xref">System.IDisposable</span>
  1049. </div>
  1050. <div>
  1051. <span class="xref">System.ComponentModel.ISupportInitializeNotification</span>
  1052. </div>
  1053. <div>
  1054. <span class="xref">System.ComponentModel.ISupportInitialize</span>
  1055. </div>
  1056. </article>
  1057. </div>
  1058. <div class="hidden-sm col-md-2" role="complementary">
  1059. <div class="sideaffix">
  1060. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  1061. <h5>In This Article</h5>
  1062. <div></div>
  1063. </nav>
  1064. </div>
  1065. </div>
  1066. </div>
  1067. </div>
  1068. <footer>
  1069. <div class="grad-bottom"></div>
  1070. <div class="footer">
  1071. <div class="container">
  1072. <span class="pull-right">
  1073. <a href="#top">Back to top</a>
  1074. </span>
  1075. <span>Generated by <strong>DocFX</strong></span>
  1076. </div>
  1077. </div>
  1078. </footer>
  1079. </div>
  1080. <script type="text/javascript" src="../../styles/docfx.vendor.js"></script>
  1081. <script type="text/javascript" src="../../styles/docfx.js"></script>
  1082. <script type="text/javascript" src="../../styles/main.js"></script>
  1083. </body>
  1084. </html>