Terminal.Gui.TabView.html 42 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000
  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 TabView
  8. </title>
  9. <meta name="viewport" content="width=device-width">
  10. <meta name="title" content="Class TabView
  11. ">
  12. <meta name="generator" content="docfx 2.59.2.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.TabView">
  73. <h1 id="Terminal_Gui_TabView" data-uid="Terminal.Gui.TabView" class="text-break">Class TabView
  74. </h1>
  75. <div class="markdown level0 summary">
  76. Control that hosts multiple sub views, presenting a single one at once
  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">TabView</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_CanFocusChanged">View.CanFocusChanged</a>
  117. </div>
  118. <div>
  119. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_EnabledChanged">View.EnabledChanged</a>
  120. </div>
  121. <div>
  122. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_VisibleChanged">View.VisibleChanged</a>
  123. </div>
  124. <div>
  125. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_HotKeyChanged">View.HotKeyChanged</a>
  126. </div>
  127. <div>
  128. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_HotKey">View.HotKey</a>
  129. </div>
  130. <div>
  131. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_HotKeySpecifier">View.HotKeySpecifier</a>
  132. </div>
  133. <div>
  134. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Shortcut">View.Shortcut</a>
  135. </div>
  136. <div>
  137. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ShortcutTag">View.ShortcutTag</a>
  138. </div>
  139. <div>
  140. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ShortcutAction">View.ShortcutAction</a>
  141. </div>
  142. <div>
  143. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Data">View.Data</a>
  144. </div>
  145. <div>
  146. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Driver">View.Driver</a>
  147. </div>
  148. <div>
  149. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Subviews">View.Subviews</a>
  150. </div>
  151. <div>
  152. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TabIndexes">View.TabIndexes</a>
  153. </div>
  154. <div>
  155. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TabIndex">View.TabIndex</a>
  156. </div>
  157. <div>
  158. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TabStop">View.TabStop</a>
  159. </div>
  160. <div>
  161. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_CanFocus">View.CanFocus</a>
  162. </div>
  163. <div>
  164. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Id">View.Id</a>
  165. </div>
  166. <div>
  167. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_IsCurrentTop">View.IsCurrentTop</a>
  168. </div>
  169. <div>
  170. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_WantMousePositionReports">View.WantMousePositionReports</a>
  171. </div>
  172. <div>
  173. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_WantContinuousButtonPressed">View.WantContinuousButtonPressed</a>
  174. </div>
  175. <div>
  176. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Frame">View.Frame</a>
  177. </div>
  178. <div>
  179. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutStyle">View.LayoutStyle</a>
  180. </div>
  181. <div>
  182. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Bounds">View.Bounds</a>
  183. </div>
  184. <div>
  185. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_X">View.X</a>
  186. </div>
  187. <div>
  188. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Y">View.Y</a>
  189. </div>
  190. <div>
  191. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Width">View.Width</a>
  192. </div>
  193. <div>
  194. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Height">View.Height</a>
  195. </div>
  196. <div>
  197. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TextFormatter">View.TextFormatter</a>
  198. </div>
  199. <div>
  200. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SuperView">View.SuperView</a>
  201. </div>
  202. <div>
  203. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetNeedsDisplay">View.SetNeedsDisplay()</a>
  204. </div>
  205. <div>
  206. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearLayoutNeeded">View.ClearLayoutNeeded()</a>
  207. </div>
  208. <div>
  209. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetNeedsDisplay_Terminal_Gui_Rect_">View.SetNeedsDisplay(Rect)</a>
  210. </div>
  211. <div>
  212. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetChildNeedsDisplay">View.SetChildNeedsDisplay()</a>
  213. </div>
  214. <div>
  215. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Add_Terminal_Gui_View_">View.Add(View)</a>
  216. </div>
  217. <div>
  218. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Add_Terminal_Gui_View___">View.Add(View[])</a>
  219. </div>
  220. <div>
  221. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_RemoveAll">View.RemoveAll()</a>
  222. </div>
  223. <div>
  224. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Remove_Terminal_Gui_View_">View.Remove(View)</a>
  225. </div>
  226. <div>
  227. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_BringSubviewToFront_Terminal_Gui_View_">View.BringSubviewToFront(View)</a>
  228. </div>
  229. <div>
  230. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SendSubviewToBack_Terminal_Gui_View_">View.SendSubviewToBack(View)</a>
  231. </div>
  232. <div>
  233. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SendSubviewBackwards_Terminal_Gui_View_">View.SendSubviewBackwards(View)</a>
  234. </div>
  235. <div>
  236. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_BringSubviewForward_Terminal_Gui_View_">View.BringSubviewForward(View)</a>
  237. </div>
  238. <div>
  239. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Clear">View.Clear()</a>
  240. </div>
  241. <div>
  242. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Clear_Terminal_Gui_Rect_">View.Clear(Rect)</a>
  243. </div>
  244. <div>
  245. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ScreenToView_System_Int32_System_Int32_">View.ScreenToView(Int32, Int32)</a>
  246. </div>
  247. <div>
  248. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClipToBounds">View.ClipToBounds()</a>
  249. </div>
  250. <div>
  251. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetClip_Terminal_Gui_Rect_">View.SetClip(Rect)</a>
  252. </div>
  253. <div>
  254. <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>
  255. </div>
  256. <div>
  257. <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>
  258. </div>
  259. <div>
  260. <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>
  261. </div>
  262. <div>
  263. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Move_System_Int32_System_Int32_System_Boolean_">View.Move(Int32, Int32, Boolean)</a>
  264. </div>
  265. <div>
  266. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_PositionCursor">View.PositionCursor()</a>
  267. </div>
  268. <div>
  269. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_HasFocus">View.HasFocus</a>
  270. </div>
  271. <div>
  272. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnAdded_Terminal_Gui_View_">View.OnAdded(View)</a>
  273. </div>
  274. <div>
  275. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnRemoved_Terminal_Gui_View_">View.OnRemoved(View)</a>
  276. </div>
  277. <div>
  278. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnEnter_Terminal_Gui_View_">View.OnEnter(View)</a>
  279. </div>
  280. <div>
  281. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnLeave_Terminal_Gui_View_">View.OnLeave(View)</a>
  282. </div>
  283. <div>
  284. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Focused">View.Focused</a>
  285. </div>
  286. <div>
  287. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_MostFocused">View.MostFocused</a>
  288. </div>
  289. <div>
  290. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ColorScheme">View.ColorScheme</a>
  291. </div>
  292. <div>
  293. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_AddRune_System_Int32_System_Int32_System_Rune_">View.AddRune(Int32, Int32, Rune)</a>
  294. </div>
  295. <div>
  296. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearNeedsDisplay">View.ClearNeedsDisplay()</a>
  297. </div>
  298. <div>
  299. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_DrawContent">View.DrawContent</a>
  300. </div>
  301. <div>
  302. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnDrawContent_Terminal_Gui_Rect_">View.OnDrawContent(Rect)</a>
  303. </div>
  304. <div>
  305. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_DrawContentComplete">View.DrawContentComplete</a>
  306. </div>
  307. <div>
  308. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnDrawContentComplete_Terminal_Gui_Rect_">View.OnDrawContentComplete(Rect)</a>
  309. </div>
  310. <div>
  311. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetFocus">View.SetFocus()</a>
  312. </div>
  313. <div>
  314. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_KeyPress">View.KeyPress</a>
  315. </div>
  316. <div>
  317. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_InvokeKeybindings_Terminal_Gui_KeyEvent_">View.InvokeKeybindings(KeyEvent)</a>
  318. </div>
  319. <div>
  320. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_AddKeyBinding_Terminal_Gui_Key_Terminal_Gui_Command_">View.AddKeyBinding(Key, Command)</a>
  321. </div>
  322. <div>
  323. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ReplaceKeyBinding_Terminal_Gui_Key_Terminal_Gui_Key_">View.ReplaceKeyBinding(Key, Key)</a>
  324. </div>
  325. <div>
  326. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ContainsKeyBinding_Terminal_Gui_Key_">View.ContainsKeyBinding(Key)</a>
  327. </div>
  328. <div>
  329. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearKeybindings">View.ClearKeybindings()</a>
  330. </div>
  331. <div>
  332. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearKeybinding_Terminal_Gui_Key_">View.ClearKeybinding(Key)</a>
  333. </div>
  334. <div>
  335. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearKeybinding_Terminal_Gui_Command_">View.ClearKeybinding(Command)</a>
  336. </div>
  337. <div>
  338. <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>
  339. </div>
  340. <div>
  341. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetSupportedCommands">View.GetSupportedCommands()</a>
  342. </div>
  343. <div>
  344. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetKeyFromCommand_Terminal_Gui_Command_">View.GetKeyFromCommand(Command)</a>
  345. </div>
  346. <div>
  347. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ProcessHotKey_Terminal_Gui_KeyEvent_">View.ProcessHotKey(KeyEvent)</a>
  348. </div>
  349. <div>
  350. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ProcessColdKey_Terminal_Gui_KeyEvent_">View.ProcessColdKey(KeyEvent)</a>
  351. </div>
  352. <div>
  353. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_KeyDown">View.KeyDown</a>
  354. </div>
  355. <div>
  356. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnKeyDown_Terminal_Gui_KeyEvent_">View.OnKeyDown(KeyEvent)</a>
  357. </div>
  358. <div>
  359. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_KeyUp">View.KeyUp</a>
  360. </div>
  361. <div>
  362. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnKeyUp_Terminal_Gui_KeyEvent_">View.OnKeyUp(KeyEvent)</a>
  363. </div>
  364. <div>
  365. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_EnsureFocus">View.EnsureFocus()</a>
  366. </div>
  367. <div>
  368. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusFirst">View.FocusFirst()</a>
  369. </div>
  370. <div>
  371. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusLast">View.FocusLast()</a>
  372. </div>
  373. <div>
  374. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusPrev">View.FocusPrev()</a>
  375. </div>
  376. <div>
  377. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusNext">View.FocusNext()</a>
  378. </div>
  379. <div>
  380. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutStarted">View.LayoutStarted</a>
  381. </div>
  382. <div>
  383. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutComplete">View.LayoutComplete</a>
  384. </div>
  385. <div>
  386. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Initialized">View.Initialized</a>
  387. </div>
  388. <div>
  389. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutSubviews">View.LayoutSubviews()</a>
  390. </div>
  391. <div>
  392. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Text">View.Text</a>
  393. </div>
  394. <div>
  395. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_AutoSize">View.AutoSize</a>
  396. </div>
  397. <div>
  398. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TextAlignment">View.TextAlignment</a>
  399. </div>
  400. <div>
  401. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_VerticalTextAlignment">View.VerticalTextAlignment</a>
  402. </div>
  403. <div>
  404. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TextDirection">View.TextDirection</a>
  405. </div>
  406. <div>
  407. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_IsInitialized">View.IsInitialized</a>
  408. </div>
  409. <div>
  410. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Enabled">View.Enabled</a>
  411. </div>
  412. <div>
  413. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Visible">View.Visible</a>
  414. </div>
  415. <div>
  416. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Border">View.Border</a>
  417. </div>
  418. <div>
  419. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ToString">View.ToString()</a>
  420. </div>
  421. <div>
  422. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseEnter_Terminal_Gui_MouseEvent_">View.OnMouseEnter(MouseEvent)</a>
  423. </div>
  424. <div>
  425. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseLeave_Terminal_Gui_MouseEvent_">View.OnMouseLeave(MouseEvent)</a>
  426. </div>
  427. <div>
  428. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseEvent_Terminal_Gui_MouseEvent_">View.OnMouseEvent(MouseEvent)</a>
  429. </div>
  430. <div>
  431. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseClick_Terminal_Gui_View_MouseEventArgs_">View.OnMouseClick(View.MouseEventArgs)</a>
  432. </div>
  433. <div>
  434. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnCanFocusChanged">View.OnCanFocusChanged()</a>
  435. </div>
  436. <div>
  437. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnEnabledChanged">View.OnEnabledChanged()</a>
  438. </div>
  439. <div>
  440. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnVisibleChanged">View.OnVisibleChanged()</a>
  441. </div>
  442. <div>
  443. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_BeginInit">View.BeginInit()</a>
  444. </div>
  445. <div>
  446. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_EndInit">View.EndInit()</a>
  447. </div>
  448. <div>
  449. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetWidth_System_Int32_System_Int32__">View.SetWidth(Int32, Int32)</a>
  450. </div>
  451. <div>
  452. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetHeight_System_Int32_System_Int32__">View.SetHeight(Int32, Int32)</a>
  453. </div>
  454. <div>
  455. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetCurrentWidth_System_Int32__">View.GetCurrentWidth(Int32)</a>
  456. </div>
  457. <div>
  458. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetCurrentHeight_System_Int32__">View.GetCurrentHeight(Int32)</a>
  459. </div>
  460. <div>
  461. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetNormalColor">View.GetNormalColor()</a>
  462. </div>
  463. <div>
  464. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetTopSuperView">View.GetTopSuperView()</a>
  465. </div>
  466. <div>
  467. <a class="xref" href="Terminal.Gui.Responder.html#Terminal_Gui_Responder_MouseEvent_Terminal_Gui_MouseEvent_">Responder.MouseEvent(MouseEvent)</a>
  468. </div>
  469. <div>
  470. <a class="xref" href="Terminal.Gui.Responder.html#Terminal_Gui_Responder_Dispose">Responder.Dispose()</a>
  471. </div>
  472. <div>
  473. <span class="xref">System.Object.Equals(System.Object)</span>
  474. </div>
  475. <div>
  476. <span class="xref">System.Object.Equals(System.Object, System.Object)</span>
  477. </div>
  478. <div>
  479. <span class="xref">System.Object.GetHashCode()</span>
  480. </div>
  481. <div>
  482. <span class="xref">System.Object.GetType()</span>
  483. </div>
  484. <div>
  485. <span class="xref">System.Object.MemberwiseClone()</span>
  486. </div>
  487. <div>
  488. <span class="xref">System.Object.ReferenceEquals(System.Object, System.Object)</span>
  489. </div>
  490. </div>
  491. <h6><strong>Namespace</strong>: <a class="xref" href="Terminal.Gui.html">Terminal.Gui</a></h6>
  492. <h6><strong>Assembly</strong>: Terminal.Gui.dll</h6>
  493. <h5 id="Terminal_Gui_TabView_syntax">Syntax</h5>
  494. <div class="codewrapper">
  495. <pre><code class="lang-csharp hljs">public class TabView : View, IDisposable, ISupportInitializeNotification, ISupportInitialize</code></pre>
  496. </div>
  497. <h3 id="constructors">Constructors
  498. </h3>
  499. <a id="Terminal_Gui_TabView__ctor_" data-uid="Terminal.Gui.TabView.#ctor*"></a>
  500. <h4 id="Terminal_Gui_TabView__ctor" data-uid="Terminal.Gui.TabView.#ctor">TabView()</h4>
  501. <div class="markdown level1 summary">
  502. Initialzies a <a class="xref" href="Terminal.Gui.TabView.html">TabView</a> class using <a class="xref" href="Terminal.Gui.LayoutStyle.html#Terminal_Gui_LayoutStyle_Computed">Computed</a> layout.
  503. </div>
  504. <div class="markdown level1 conceptual"></div>
  505. <h5 class="decalaration">Declaration</h5>
  506. <div class="codewrapper">
  507. <pre><code class="lang-csharp hljs">public TabView()</code></pre>
  508. </div>
  509. <h3 id="fields">Fields
  510. </h3>
  511. <h4 id="Terminal_Gui_TabView_DefaultMaxTabTextWidth" data-uid="Terminal.Gui.TabView.DefaultMaxTabTextWidth">DefaultMaxTabTextWidth</h4>
  512. <div class="markdown level1 summary">
  513. The default <a class="xref" href="Terminal.Gui.TabView.html#Terminal_Gui_TabView_MaxTabTextWidth">MaxTabTextWidth</a> to set on new <a class="xref" href="Terminal.Gui.TabView.html">TabView</a> controls
  514. </div>
  515. <div class="markdown level1 conceptual"></div>
  516. <h5 class="decalaration">Declaration</h5>
  517. <div class="codewrapper">
  518. <pre><code class="lang-csharp hljs">public const uint DefaultMaxTabTextWidth = 30U</code></pre>
  519. </div>
  520. <h5 class="fieldValue">Field Value</h5>
  521. <table class="table table-bordered table-striped table-condensed">
  522. <thead>
  523. <tr>
  524. <th>Type</th>
  525. <th>Description</th>
  526. </tr>
  527. </thead>
  528. <tbody>
  529. <tr>
  530. <td><span class="xref">System.UInt32</span></td>
  531. <td></td>
  532. </tr>
  533. </tbody>
  534. </table>
  535. <h3 id="properties">Properties
  536. </h3>
  537. <a id="Terminal_Gui_TabView_MaxTabTextWidth_" data-uid="Terminal.Gui.TabView.MaxTabTextWidth*"></a>
  538. <h4 id="Terminal_Gui_TabView_MaxTabTextWidth" data-uid="Terminal.Gui.TabView.MaxTabTextWidth">MaxTabTextWidth</h4>
  539. <div class="markdown level1 summary">
  540. The maximum number of characters to render in a Tab header. This prevents one long tab
  541. from pushing out all the others.
  542. </div>
  543. <div class="markdown level1 conceptual"></div>
  544. <h5 class="decalaration">Declaration</h5>
  545. <div class="codewrapper">
  546. <pre><code class="lang-csharp hljs">public uint MaxTabTextWidth { get; set; }</code></pre>
  547. </div>
  548. <h5 class="propertyValue">Property Value</h5>
  549. <table class="table table-bordered table-striped table-condensed">
  550. <thead>
  551. <tr>
  552. <th>Type</th>
  553. <th>Description</th>
  554. </tr>
  555. </thead>
  556. <tbody>
  557. <tr>
  558. <td><span class="xref">System.UInt32</span></td>
  559. <td></td>
  560. </tr>
  561. </tbody>
  562. </table>
  563. <a id="Terminal_Gui_TabView_SelectedTab_" data-uid="Terminal.Gui.TabView.SelectedTab*"></a>
  564. <h4 id="Terminal_Gui_TabView_SelectedTab" data-uid="Terminal.Gui.TabView.SelectedTab">SelectedTab</h4>
  565. <div class="markdown level1 summary">
  566. The currently selected member of <a class="xref" href="Terminal.Gui.TabView.html#Terminal_Gui_TabView_Tabs">Tabs</a> chosen by the user
  567. </div>
  568. <div class="markdown level1 conceptual"></div>
  569. <h5 class="decalaration">Declaration</h5>
  570. <div class="codewrapper">
  571. <pre><code class="lang-csharp hljs">public TabView.Tab SelectedTab { get; set; }</code></pre>
  572. </div>
  573. <h5 class="propertyValue">Property Value</h5>
  574. <table class="table table-bordered table-striped table-condensed">
  575. <thead>
  576. <tr>
  577. <th>Type</th>
  578. <th>Description</th>
  579. </tr>
  580. </thead>
  581. <tbody>
  582. <tr>
  583. <td><a class="xref" href="Terminal.Gui.TabView.Tab.html">TabView.Tab</a></td>
  584. <td></td>
  585. </tr>
  586. </tbody>
  587. </table>
  588. <a id="Terminal_Gui_TabView_Style_" data-uid="Terminal.Gui.TabView.Style*"></a>
  589. <h4 id="Terminal_Gui_TabView_Style" data-uid="Terminal.Gui.TabView.Style">Style</h4>
  590. <div class="markdown level1 summary">
  591. Render choices for how to display tabs. After making changes, call <a class="xref" href="Terminal.Gui.TabView.html#Terminal_Gui_TabView_ApplyStyleChanges">ApplyStyleChanges()</a>
  592. </div>
  593. <div class="markdown level1 conceptual"></div>
  594. <h5 class="decalaration">Declaration</h5>
  595. <div class="codewrapper">
  596. <pre><code class="lang-csharp hljs">public TabView.TabStyle Style { get; set; }</code></pre>
  597. </div>
  598. <h5 class="propertyValue">Property Value</h5>
  599. <table class="table table-bordered table-striped table-condensed">
  600. <thead>
  601. <tr>
  602. <th>Type</th>
  603. <th>Description</th>
  604. </tr>
  605. </thead>
  606. <tbody>
  607. <tr>
  608. <td><a class="xref" href="Terminal.Gui.TabView.TabStyle.html">TabView.TabStyle</a></td>
  609. <td></td>
  610. </tr>
  611. </tbody>
  612. </table>
  613. <a id="Terminal_Gui_TabView_Tabs_" data-uid="Terminal.Gui.TabView.Tabs*"></a>
  614. <h4 id="Terminal_Gui_TabView_Tabs" data-uid="Terminal.Gui.TabView.Tabs">Tabs</h4>
  615. <div class="markdown level1 summary">
  616. All tabs currently hosted by the control
  617. </div>
  618. <div class="markdown level1 conceptual"></div>
  619. <h5 class="decalaration">Declaration</h5>
  620. <div class="codewrapper">
  621. <pre><code class="lang-csharp hljs">public IReadOnlyCollection&lt;TabView.Tab&gt; Tabs { get; }</code></pre>
  622. </div>
  623. <h5 class="propertyValue">Property Value</h5>
  624. <table class="table table-bordered table-striped table-condensed">
  625. <thead>
  626. <tr>
  627. <th>Type</th>
  628. <th>Description</th>
  629. </tr>
  630. </thead>
  631. <tbody>
  632. <tr>
  633. <td><span class="xref">System.Collections.Generic.IReadOnlyCollection</span>&lt;<a class="xref" href="Terminal.Gui.TabView.Tab.html">TabView.Tab</a>&gt;</td>
  634. <td></td>
  635. </tr>
  636. </tbody>
  637. </table>
  638. <a id="Terminal_Gui_TabView_TabScrollOffset_" data-uid="Terminal.Gui.TabView.TabScrollOffset*"></a>
  639. <h4 id="Terminal_Gui_TabView_TabScrollOffset" data-uid="Terminal.Gui.TabView.TabScrollOffset">TabScrollOffset</h4>
  640. <div class="markdown level1 summary">
  641. When there are too many tabs to render, this indicates the first
  642. tab to render on the screen.
  643. </div>
  644. <div class="markdown level1 conceptual"></div>
  645. <h5 class="decalaration">Declaration</h5>
  646. <div class="codewrapper">
  647. <pre><code class="lang-csharp hljs">public int TabScrollOffset { get; set; }</code></pre>
  648. </div>
  649. <h5 class="propertyValue">Property Value</h5>
  650. <table class="table table-bordered table-striped table-condensed">
  651. <thead>
  652. <tr>
  653. <th>Type</th>
  654. <th>Description</th>
  655. </tr>
  656. </thead>
  657. <tbody>
  658. <tr>
  659. <td><span class="xref">System.Int32</span></td>
  660. <td></td>
  661. </tr>
  662. </tbody>
  663. </table>
  664. <h3 id="methods">Methods
  665. </h3>
  666. <a id="Terminal_Gui_TabView_AddTab_" data-uid="Terminal.Gui.TabView.AddTab*"></a>
  667. <h4 id="Terminal_Gui_TabView_AddTab_Terminal_Gui_TabView_Tab_System_Boolean_" data-uid="Terminal.Gui.TabView.AddTab(Terminal.Gui.TabView.Tab,System.Boolean)">AddTab(TabView.Tab, Boolean)</h4>
  668. <div class="markdown level1 summary">
  669. Adds the given <code data-dev-comment-type="paramref" class="paramref">tab</code> to <a class="xref" href="Terminal.Gui.TabView.html#Terminal_Gui_TabView_Tabs">Tabs</a>
  670. </div>
  671. <div class="markdown level1 conceptual"></div>
  672. <h5 class="decalaration">Declaration</h5>
  673. <div class="codewrapper">
  674. <pre><code class="lang-csharp hljs">public void AddTab(TabView.Tab tab, bool andSelect)</code></pre>
  675. </div>
  676. <h5 class="parameters">Parameters</h5>
  677. <table class="table table-bordered table-striped table-condensed">
  678. <thead>
  679. <tr>
  680. <th>Type</th>
  681. <th>Name</th>
  682. <th>Description</th>
  683. </tr>
  684. </thead>
  685. <tbody>
  686. <tr>
  687. <td><a class="xref" href="Terminal.Gui.TabView.Tab.html">TabView.Tab</a></td>
  688. <td><span class="parametername">tab</span></td>
  689. <td></td>
  690. </tr>
  691. <tr>
  692. <td><span class="xref">System.Boolean</span></td>
  693. <td><span class="parametername">andSelect</span></td>
  694. <td>True to make the newly added Tab the <a class="xref" href="Terminal.Gui.TabView.html#Terminal_Gui_TabView_SelectedTab">SelectedTab</a></td>
  695. </tr>
  696. </tbody>
  697. </table>
  698. <a id="Terminal_Gui_TabView_ApplyStyleChanges_" data-uid="Terminal.Gui.TabView.ApplyStyleChanges*"></a>
  699. <h4 id="Terminal_Gui_TabView_ApplyStyleChanges" data-uid="Terminal.Gui.TabView.ApplyStyleChanges">ApplyStyleChanges()</h4>
  700. <div class="markdown level1 summary">
  701. Updates the control to use the latest state settings in <a class="xref" href="Terminal.Gui.TabView.html#Terminal_Gui_TabView_Style">Style</a>.
  702. This can change the size of the client area of the tab (for rendering the
  703. selected tab&apos;s content). This method includes a call
  704. to <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetNeedsDisplay">SetNeedsDisplay()</a>
  705. </div>
  706. <div class="markdown level1 conceptual"></div>
  707. <h5 class="decalaration">Declaration</h5>
  708. <div class="codewrapper">
  709. <pre><code class="lang-csharp hljs">public void ApplyStyleChanges()</code></pre>
  710. </div>
  711. <a id="Terminal_Gui_TabView_Dispose_" data-uid="Terminal.Gui.TabView.Dispose*"></a>
  712. <h4 id="Terminal_Gui_TabView_Dispose_System_Boolean_" data-uid="Terminal.Gui.TabView.Dispose(System.Boolean)">Dispose(Boolean)</h4>
  713. <div class="markdown level1 summary">
  714. Disposes the control and all <a class="xref" href="Terminal.Gui.TabView.html#Terminal_Gui_TabView_Tabs">Tabs</a>
  715. </div>
  716. <div class="markdown level1 conceptual"></div>
  717. <h5 class="decalaration">Declaration</h5>
  718. <div class="codewrapper">
  719. <pre><code class="lang-csharp hljs">protected override void Dispose(bool disposing)</code></pre>
  720. </div>
  721. <h5 class="parameters">Parameters</h5>
  722. <table class="table table-bordered table-striped table-condensed">
  723. <thead>
  724. <tr>
  725. <th>Type</th>
  726. <th>Name</th>
  727. <th>Description</th>
  728. </tr>
  729. </thead>
  730. <tbody>
  731. <tr>
  732. <td><span class="xref">System.Boolean</span></td>
  733. <td><span class="parametername">disposing</span></td>
  734. <td></td>
  735. </tr>
  736. </tbody>
  737. </table>
  738. <h5 class="overrides">Overrides</h5>
  739. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Dispose_System_Boolean_">View.Dispose(Boolean)</a></div>
  740. <a id="Terminal_Gui_TabView_EnsureSelectedTabIsVisible_" data-uid="Terminal.Gui.TabView.EnsureSelectedTabIsVisible*"></a>
  741. <h4 id="Terminal_Gui_TabView_EnsureSelectedTabIsVisible" data-uid="Terminal.Gui.TabView.EnsureSelectedTabIsVisible">EnsureSelectedTabIsVisible()</h4>
  742. <div class="markdown level1 summary">
  743. Updates <a class="xref" href="Terminal.Gui.TabView.html#Terminal_Gui_TabView_TabScrollOffset">TabScrollOffset</a> to ensure that <a class="xref" href="Terminal.Gui.TabView.html#Terminal_Gui_TabView_SelectedTab">SelectedTab</a> is visible
  744. </div>
  745. <div class="markdown level1 conceptual"></div>
  746. <h5 class="decalaration">Declaration</h5>
  747. <div class="codewrapper">
  748. <pre><code class="lang-csharp hljs">public void EnsureSelectedTabIsVisible()</code></pre>
  749. </div>
  750. <a id="Terminal_Gui_TabView_EnsureValidScrollOffsets_" data-uid="Terminal.Gui.TabView.EnsureValidScrollOffsets*"></a>
  751. <h4 id="Terminal_Gui_TabView_EnsureValidScrollOffsets" data-uid="Terminal.Gui.TabView.EnsureValidScrollOffsets">EnsureValidScrollOffsets()</h4>
  752. <div class="markdown level1 summary">
  753. Updates <a class="xref" href="Terminal.Gui.TabView.html#Terminal_Gui_TabView_TabScrollOffset">TabScrollOffset</a> to be a valid index of <a class="xref" href="Terminal.Gui.TabView.html#Terminal_Gui_TabView_Tabs">Tabs</a>
  754. </div>
  755. <div class="markdown level1 conceptual"></div>
  756. <h5 class="decalaration">Declaration</h5>
  757. <div class="codewrapper">
  758. <pre><code class="lang-csharp hljs">public void EnsureValidScrollOffsets()</code></pre>
  759. </div>
  760. <h5 id="Terminal_Gui_TabView_EnsureValidScrollOffsets_remarks">Remarks</h5>
  761. <div class="markdown level1 remarks">Changes will not be immediately visible in the display until you call <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetNeedsDisplay">SetNeedsDisplay()</a></div>
  762. <a id="Terminal_Gui_TabView_OnSelectedTabChanged_" data-uid="Terminal.Gui.TabView.OnSelectedTabChanged*"></a>
  763. <h4 id="Terminal_Gui_TabView_OnSelectedTabChanged_Terminal_Gui_TabView_Tab_Terminal_Gui_TabView_Tab_" data-uid="Terminal.Gui.TabView.OnSelectedTabChanged(Terminal.Gui.TabView.Tab,Terminal.Gui.TabView.Tab)">OnSelectedTabChanged(TabView.Tab, TabView.Tab)</h4>
  764. <div class="markdown level1 summary">
  765. Raises the <a class="xref" href="Terminal.Gui.TabView.html#Terminal_Gui_TabView_SelectedTabChanged">SelectedTabChanged</a> event
  766. </div>
  767. <div class="markdown level1 conceptual"></div>
  768. <h5 class="decalaration">Declaration</h5>
  769. <div class="codewrapper">
  770. <pre><code class="lang-csharp hljs">protected virtual void OnSelectedTabChanged(TabView.Tab oldTab, TabView.Tab newTab)</code></pre>
  771. </div>
  772. <h5 class="parameters">Parameters</h5>
  773. <table class="table table-bordered table-striped table-condensed">
  774. <thead>
  775. <tr>
  776. <th>Type</th>
  777. <th>Name</th>
  778. <th>Description</th>
  779. </tr>
  780. </thead>
  781. <tbody>
  782. <tr>
  783. <td><a class="xref" href="Terminal.Gui.TabView.Tab.html">TabView.Tab</a></td>
  784. <td><span class="parametername">oldTab</span></td>
  785. <td></td>
  786. </tr>
  787. <tr>
  788. <td><a class="xref" href="Terminal.Gui.TabView.Tab.html">TabView.Tab</a></td>
  789. <td><span class="parametername">newTab</span></td>
  790. <td></td>
  791. </tr>
  792. </tbody>
  793. </table>
  794. <a id="Terminal_Gui_TabView_ProcessKey_" data-uid="Terminal.Gui.TabView.ProcessKey*"></a>
  795. <h4 id="Terminal_Gui_TabView_ProcessKey_Terminal_Gui_KeyEvent_" data-uid="Terminal.Gui.TabView.ProcessKey(Terminal.Gui.KeyEvent)">ProcessKey(KeyEvent)</h4>
  796. <div class="markdown level1 summary"></div>
  797. <div class="markdown level1 conceptual"></div>
  798. <h5 class="decalaration">Declaration</h5>
  799. <div class="codewrapper">
  800. <pre><code class="lang-csharp hljs">public override bool ProcessKey(KeyEvent keyEvent)</code></pre>
  801. </div>
  802. <h5 class="parameters">Parameters</h5>
  803. <table class="table table-bordered table-striped table-condensed">
  804. <thead>
  805. <tr>
  806. <th>Type</th>
  807. <th>Name</th>
  808. <th>Description</th>
  809. </tr>
  810. </thead>
  811. <tbody>
  812. <tr>
  813. <td><a class="xref" href="Terminal.Gui.KeyEvent.html">KeyEvent</a></td>
  814. <td><span class="parametername">keyEvent</span></td>
  815. <td></td>
  816. </tr>
  817. </tbody>
  818. </table>
  819. <h5 class="returns">Returns</h5>
  820. <table class="table table-bordered table-striped table-condensed">
  821. <thead>
  822. <tr>
  823. <th>Type</th>
  824. <th>Description</th>
  825. </tr>
  826. </thead>
  827. <tbody>
  828. <tr>
  829. <td><span class="xref">System.Boolean</span></td>
  830. <td></td>
  831. </tr>
  832. </tbody>
  833. </table>
  834. <h5 class="overrides">Overrides</h5>
  835. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ProcessKey_Terminal_Gui_KeyEvent_">View.ProcessKey(KeyEvent)</a></div>
  836. <a id="Terminal_Gui_TabView_Redraw_" data-uid="Terminal.Gui.TabView.Redraw*"></a>
  837. <h4 id="Terminal_Gui_TabView_Redraw_Terminal_Gui_Rect_" data-uid="Terminal.Gui.TabView.Redraw(Terminal.Gui.Rect)">Redraw(Rect)</h4>
  838. <div class="markdown level1 summary"></div>
  839. <div class="markdown level1 conceptual"></div>
  840. <h5 class="decalaration">Declaration</h5>
  841. <div class="codewrapper">
  842. <pre><code class="lang-csharp hljs">public override void Redraw(Rect bounds)</code></pre>
  843. </div>
  844. <h5 class="parameters">Parameters</h5>
  845. <table class="table table-bordered table-striped table-condensed">
  846. <thead>
  847. <tr>
  848. <th>Type</th>
  849. <th>Name</th>
  850. <th>Description</th>
  851. </tr>
  852. </thead>
  853. <tbody>
  854. <tr>
  855. <td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
  856. <td><span class="parametername">bounds</span></td>
  857. <td></td>
  858. </tr>
  859. </tbody>
  860. </table>
  861. <h5 class="overrides">Overrides</h5>
  862. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Redraw_Terminal_Gui_Rect_">View.Redraw(Rect)</a></div>
  863. <a id="Terminal_Gui_TabView_RemoveTab_" data-uid="Terminal.Gui.TabView.RemoveTab*"></a>
  864. <h4 id="Terminal_Gui_TabView_RemoveTab_Terminal_Gui_TabView_Tab_" data-uid="Terminal.Gui.TabView.RemoveTab(Terminal.Gui.TabView.Tab)">RemoveTab(TabView.Tab)</h4>
  865. <div class="markdown level1 summary">
  866. Removes the given <code data-dev-comment-type="paramref" class="paramref">tab</code> from <a class="xref" href="Terminal.Gui.TabView.html#Terminal_Gui_TabView_Tabs">Tabs</a>.
  867. Caller is responsible for disposing the tab&apos;s hosted <a class="xref" href="Terminal.Gui.TabView.Tab.html#Terminal_Gui_TabView_Tab_View">View</a>
  868. if appropriate.
  869. </div>
  870. <div class="markdown level1 conceptual"></div>
  871. <h5 class="decalaration">Declaration</h5>
  872. <div class="codewrapper">
  873. <pre><code class="lang-csharp hljs">public void RemoveTab(TabView.Tab tab)</code></pre>
  874. </div>
  875. <h5 class="parameters">Parameters</h5>
  876. <table class="table table-bordered table-striped table-condensed">
  877. <thead>
  878. <tr>
  879. <th>Type</th>
  880. <th>Name</th>
  881. <th>Description</th>
  882. </tr>
  883. </thead>
  884. <tbody>
  885. <tr>
  886. <td><a class="xref" href="Terminal.Gui.TabView.Tab.html">TabView.Tab</a></td>
  887. <td><span class="parametername">tab</span></td>
  888. <td></td>
  889. </tr>
  890. </tbody>
  891. </table>
  892. <a id="Terminal_Gui_TabView_SwitchTabBy_" data-uid="Terminal.Gui.TabView.SwitchTabBy*"></a>
  893. <h4 id="Terminal_Gui_TabView_SwitchTabBy_System_Int32_" data-uid="Terminal.Gui.TabView.SwitchTabBy(System.Int32)">SwitchTabBy(Int32)</h4>
  894. <div class="markdown level1 summary">
  895. Changes the <a class="xref" href="Terminal.Gui.TabView.html#Terminal_Gui_TabView_SelectedTab">SelectedTab</a> by the given <code data-dev-comment-type="paramref" class="paramref">amount</code>.
  896. Positive for right, negative for left. If no tab is currently selected then
  897. the first tab will become selected
  898. </div>
  899. <div class="markdown level1 conceptual"></div>
  900. <h5 class="decalaration">Declaration</h5>
  901. <div class="codewrapper">
  902. <pre><code class="lang-csharp hljs">public void SwitchTabBy(int amount)</code></pre>
  903. </div>
  904. <h5 class="parameters">Parameters</h5>
  905. <table class="table table-bordered table-striped table-condensed">
  906. <thead>
  907. <tr>
  908. <th>Type</th>
  909. <th>Name</th>
  910. <th>Description</th>
  911. </tr>
  912. </thead>
  913. <tbody>
  914. <tr>
  915. <td><span class="xref">System.Int32</span></td>
  916. <td><span class="parametername">amount</span></td>
  917. <td></td>
  918. </tr>
  919. </tbody>
  920. </table>
  921. <h3 id="events">Events
  922. </h3>
  923. <h4 id="Terminal_Gui_TabView_SelectedTabChanged" data-uid="Terminal.Gui.TabView.SelectedTabChanged">SelectedTabChanged</h4>
  924. <div class="markdown level1 summary">
  925. Event for when <a class="xref" href="Terminal.Gui.TabView.html#Terminal_Gui_TabView_SelectedTab">SelectedTab</a> changes
  926. </div>
  927. <div class="markdown level1 conceptual"></div>
  928. <h5 class="decalaration">Declaration</h5>
  929. <div class="codewrapper">
  930. <pre><code class="lang-csharp hljs">public event EventHandler&lt;TabView.TabChangedEventArgs&gt; SelectedTabChanged</code></pre>
  931. </div>
  932. <h5 class="eventType">Event Type</h5>
  933. <table class="table table-bordered table-striped table-condensed">
  934. <thead>
  935. <tr>
  936. <th>Type</th>
  937. <th>Description</th>
  938. </tr>
  939. </thead>
  940. <tbody>
  941. <tr>
  942. <td><span class="xref">System.EventHandler</span>&lt;<a class="xref" href="Terminal.Gui.TabView.TabChangedEventArgs.html">TabView.TabChangedEventArgs</a>&gt;</td>
  943. <td></td>
  944. </tr>
  945. </tbody>
  946. </table>
  947. <h3 id="implements">Implements</h3>
  948. <div>
  949. <span class="xref">System.IDisposable</span>
  950. </div>
  951. <div>
  952. <span class="xref">System.ComponentModel.ISupportInitializeNotification</span>
  953. </div>
  954. <div>
  955. <span class="xref">System.ComponentModel.ISupportInitialize</span>
  956. </div>
  957. </article>
  958. </div>
  959. <div class="hidden-sm col-md-2" role="complementary">
  960. <div class="sideaffix">
  961. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  962. <h5>In This Article</h5>
  963. <div></div>
  964. </nav>
  965. </div>
  966. </div>
  967. </div>
  968. </div>
  969. <footer>
  970. <div class="grad-bottom"></div>
  971. <div class="footer">
  972. <div class="container">
  973. <span class="pull-right">
  974. <a href="#top">Back to top</a>
  975. </span>
  976. <span>Generated by <strong>DocFX</strong></span>
  977. </div>
  978. </div>
  979. </footer>
  980. </div>
  981. <script type="text/javascript" src="../../styles/docfx.vendor.js"></script>
  982. <script type="text/javascript" src="../../styles/docfx.js"></script>
  983. <script type="text/javascript" src="../../styles/main.js"></script>
  984. </body>
  985. </html>