Terminal.Gui.TabView.html 44 KB

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