Terminal.Gui.FrameView.html 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643
  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 FrameView
  8. </title>
  9. <meta name="viewport" content="width=device-width">
  10. <meta name="title" content="Class FrameView
  11. ">
  12. <meta name="generator" content="docfx 2.54.0.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"></div>
  57. <div class="sr-items">
  58. <p><i class="glyphicon glyphicon-refresh index-loading"></i></p>
  59. </div>
  60. <ul id="pagination"></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.FrameView">
  73. <h1 id="Terminal_Gui_FrameView" data-uid="Terminal.Gui.FrameView" class="text-break">Class FrameView
  74. </h1>
  75. <div class="markdown level0 summary">
  76. The FrameView is a container frame that draws a frame around the contents. It is similar to
  77. a GroupBox in Windows.
  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">FrameView</span></div>
  86. </div>
  87. <div classs="implements">
  88. <h5>Implements</h5>
  89. <div><span class="xref">System.Collections.IEnumerable</span></div>
  90. </div>
  91. <div class="inheritedMembers">
  92. <h5>Inherited Members</h5>
  93. <div>
  94. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Enter">View.Enter</a>
  95. </div>
  96. <div>
  97. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Leave">View.Leave</a>
  98. </div>
  99. <div>
  100. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_MouseEnter">View.MouseEnter</a>
  101. </div>
  102. <div>
  103. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_MouseLeave">View.MouseLeave</a>
  104. </div>
  105. <div>
  106. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_MouseClick">View.MouseClick</a>
  107. </div>
  108. <div>
  109. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Driver">View.Driver</a>
  110. </div>
  111. <div>
  112. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Subviews">View.Subviews</a>
  113. </div>
  114. <div>
  115. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Id">View.Id</a>
  116. </div>
  117. <div>
  118. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_IsCurrentTop">View.IsCurrentTop</a>
  119. </div>
  120. <div>
  121. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_WantMousePositionReports">View.WantMousePositionReports</a>
  122. </div>
  123. <div>
  124. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_WantContinuousButtonPressed">View.WantContinuousButtonPressed</a>
  125. </div>
  126. <div>
  127. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Frame">View.Frame</a>
  128. </div>
  129. <div>
  130. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetEnumerator">View.GetEnumerator()</a>
  131. </div>
  132. <div>
  133. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutStyle">View.LayoutStyle</a>
  134. </div>
  135. <div>
  136. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Bounds">View.Bounds</a>
  137. </div>
  138. <div>
  139. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_X">View.X</a>
  140. </div>
  141. <div>
  142. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Y">View.Y</a>
  143. </div>
  144. <div>
  145. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Width">View.Width</a>
  146. </div>
  147. <div>
  148. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Height">View.Height</a>
  149. </div>
  150. <div>
  151. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SuperView">View.SuperView</a>
  152. </div>
  153. <div>
  154. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetNeedsDisplay">View.SetNeedsDisplay()</a>
  155. </div>
  156. <div>
  157. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetNeedsDisplay_Terminal_Gui_Rect_">View.SetNeedsDisplay(Rect)</a>
  158. </div>
  159. <div>
  160. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ChildNeedsDisplay">View.ChildNeedsDisplay()</a>
  161. </div>
  162. <div>
  163. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Add_Terminal_Gui_View___">View.Add(View[])</a>
  164. </div>
  165. <div>
  166. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_BringSubviewToFront_Terminal_Gui_View_">View.BringSubviewToFront(View)</a>
  167. </div>
  168. <div>
  169. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SendSubviewToBack_Terminal_Gui_View_">View.SendSubviewToBack(View)</a>
  170. </div>
  171. <div>
  172. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SendSubviewBackwards_Terminal_Gui_View_">View.SendSubviewBackwards(View)</a>
  173. </div>
  174. <div>
  175. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_BringSubviewForward_Terminal_Gui_View_">View.BringSubviewForward(View)</a>
  176. </div>
  177. <div>
  178. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Clear">View.Clear()</a>
  179. </div>
  180. <div>
  181. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Clear_Terminal_Gui_Rect_">View.Clear(Rect)</a>
  182. </div>
  183. <div>
  184. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ScreenToView_System_Int32_System_Int32_">View.ScreenToView(Int32, Int32)</a>
  185. </div>
  186. <div>
  187. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClipToBounds">View.ClipToBounds()</a>
  188. </div>
  189. <div>
  190. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetClip_Terminal_Gui_Rect_">View.SetClip(Rect)</a>
  191. </div>
  192. <div>
  193. <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>
  194. </div>
  195. <div>
  196. <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>
  197. </div>
  198. <div>
  199. <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>
  200. </div>
  201. <div>
  202. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Move_System_Int32_System_Int32_">View.Move(Int32, Int32)</a>
  203. </div>
  204. <div>
  205. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_PositionCursor">View.PositionCursor()</a>
  206. </div>
  207. <div>
  208. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_HasFocus">View.HasFocus</a>
  209. </div>
  210. <div>
  211. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnEnter">View.OnEnter()</a>
  212. </div>
  213. <div>
  214. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnLeave">View.OnLeave()</a>
  215. </div>
  216. <div>
  217. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Focused">View.Focused</a>
  218. </div>
  219. <div>
  220. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_MostFocused">View.MostFocused</a>
  221. </div>
  222. <div>
  223. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ColorScheme">View.ColorScheme</a>
  224. </div>
  225. <div>
  226. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_AddRune_System_Int32_System_Int32_System_Rune_">View.AddRune(Int32, Int32, Rune)</a>
  227. </div>
  228. <div>
  229. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearNeedsDisplay">View.ClearNeedsDisplay()</a>
  230. </div>
  231. <div>
  232. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_DrawContent">View.DrawContent</a>
  233. </div>
  234. <div>
  235. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnDrawContent_Terminal_Gui_Rect_">View.OnDrawContent(Rect)</a>
  236. </div>
  237. <div>
  238. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetFocus_Terminal_Gui_View_">View.SetFocus(View)</a>
  239. </div>
  240. <div>
  241. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_KeyPress">View.KeyPress</a>
  242. </div>
  243. <div>
  244. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ProcessKey_Terminal_Gui_KeyEvent_">View.ProcessKey(KeyEvent)</a>
  245. </div>
  246. <div>
  247. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ProcessHotKey_Terminal_Gui_KeyEvent_">View.ProcessHotKey(KeyEvent)</a>
  248. </div>
  249. <div>
  250. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ProcessColdKey_Terminal_Gui_KeyEvent_">View.ProcessColdKey(KeyEvent)</a>
  251. </div>
  252. <div>
  253. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_KeyDown">View.KeyDown</a>
  254. </div>
  255. <div>
  256. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnKeyDown_Terminal_Gui_KeyEvent_">View.OnKeyDown(KeyEvent)</a>
  257. </div>
  258. <div>
  259. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_KeyUp">View.KeyUp</a>
  260. </div>
  261. <div>
  262. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnKeyUp_Terminal_Gui_KeyEvent_">View.OnKeyUp(KeyEvent)</a>
  263. </div>
  264. <div>
  265. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_EnsureFocus">View.EnsureFocus()</a>
  266. </div>
  267. <div>
  268. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusFirst">View.FocusFirst()</a>
  269. </div>
  270. <div>
  271. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusLast">View.FocusLast()</a>
  272. </div>
  273. <div>
  274. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusPrev">View.FocusPrev()</a>
  275. </div>
  276. <div>
  277. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusNext">View.FocusNext()</a>
  278. </div>
  279. <div>
  280. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutComplete">View.LayoutComplete</a>
  281. </div>
  282. <div>
  283. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutSubviews">View.LayoutSubviews()</a>
  284. </div>
  285. <div>
  286. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ToString">View.ToString()</a>
  287. </div>
  288. <div>
  289. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseEnter_Terminal_Gui_MouseEvent_">View.OnMouseEnter(MouseEvent)</a>
  290. </div>
  291. <div>
  292. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseLeave_Terminal_Gui_MouseEvent_">View.OnMouseLeave(MouseEvent)</a>
  293. </div>
  294. <div>
  295. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseEvent_Terminal_Gui_MouseEvent_">View.OnMouseEvent(MouseEvent)</a>
  296. </div>
  297. <div>
  298. <a class="xref" href="Terminal.Gui.Responder.html#Terminal_Gui_Responder_CanFocus">Responder.CanFocus</a>
  299. </div>
  300. <div>
  301. <a class="xref" href="Terminal.Gui.Responder.html#Terminal_Gui_Responder_MouseEvent_Terminal_Gui_MouseEvent_">Responder.MouseEvent(MouseEvent)</a>
  302. </div>
  303. <div>
  304. <span class="xref">System.Object.Equals(System.Object)</span>
  305. </div>
  306. <div>
  307. <span class="xref">System.Object.Equals(System.Object, System.Object)</span>
  308. </div>
  309. <div>
  310. <span class="xref">System.Object.GetHashCode()</span>
  311. </div>
  312. <div>
  313. <span class="xref">System.Object.GetType()</span>
  314. </div>
  315. <div>
  316. <span class="xref">System.Object.MemberwiseClone()</span>
  317. </div>
  318. <div>
  319. <span class="xref">System.Object.ReferenceEquals(System.Object, System.Object)</span>
  320. </div>
  321. </div>
  322. <h6><strong>Namespace</strong>: <a class="xref" href="Terminal.Gui.html">Terminal.Gui</a></h6>
  323. <h6><strong>Assembly</strong>: Terminal.Gui.dll</h6>
  324. <h5 id="Terminal_Gui_FrameView_syntax">Syntax</h5>
  325. <div class="codewrapper">
  326. <pre><code class="lang-csharp hljs">public class FrameView : View, IEnumerable</code></pre>
  327. </div>
  328. <h3 id="constructors">Constructors
  329. </h3>
  330. <a id="Terminal_Gui_FrameView__ctor_" data-uid="Terminal.Gui.FrameView.#ctor*"></a>
  331. <h4 id="Terminal_Gui_FrameView__ctor_NStack_ustring_" data-uid="Terminal.Gui.FrameView.#ctor(NStack.ustring)">FrameView(ustring)</h4>
  332. <div class="markdown level1 summary">
  333. Initializes a new instance of the <a class="xref" href="Terminal.Gui.FrameView.html">FrameView</a> class with
  334. a title and the result is suitable to have its X, Y, Width and Height properties computed.
  335. </div>
  336. <div class="markdown level1 conceptual"></div>
  337. <h5 class="decalaration">Declaration</h5>
  338. <div class="codewrapper">
  339. <pre><code class="lang-csharp hljs">public FrameView(ustring title)</code></pre>
  340. </div>
  341. <h5 class="parameters">Parameters</h5>
  342. <table class="table table-bordered table-striped table-condensed">
  343. <thead>
  344. <tr>
  345. <th>Type</th>
  346. <th>Name</th>
  347. <th>Description</th>
  348. </tr>
  349. </thead>
  350. <tbody>
  351. <tr>
  352. <td><span class="xref">NStack.ustring</span></td>
  353. <td><span class="parametername">title</span></td>
  354. <td>Title.</td>
  355. </tr>
  356. </tbody>
  357. </table>
  358. <a id="Terminal_Gui_FrameView__ctor_" data-uid="Terminal.Gui.FrameView.#ctor*"></a>
  359. <h4 id="Terminal_Gui_FrameView__ctor_Terminal_Gui_Rect_NStack_ustring_" data-uid="Terminal.Gui.FrameView.#ctor(Terminal.Gui.Rect,NStack.ustring)">FrameView(Rect, ustring)</h4>
  360. <div class="markdown level1 summary">
  361. Initializes a new instance of the <a class="xref" href="Terminal.Gui.FrameView.html">FrameView</a> class with
  362. an absolute position and a title.
  363. </div>
  364. <div class="markdown level1 conceptual"></div>
  365. <h5 class="decalaration">Declaration</h5>
  366. <div class="codewrapper">
  367. <pre><code class="lang-csharp hljs">public FrameView(Rect frame, ustring title)</code></pre>
  368. </div>
  369. <h5 class="parameters">Parameters</h5>
  370. <table class="table table-bordered table-striped table-condensed">
  371. <thead>
  372. <tr>
  373. <th>Type</th>
  374. <th>Name</th>
  375. <th>Description</th>
  376. </tr>
  377. </thead>
  378. <tbody>
  379. <tr>
  380. <td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
  381. <td><span class="parametername">frame</span></td>
  382. <td>Frame.</td>
  383. </tr>
  384. <tr>
  385. <td><span class="xref">NStack.ustring</span></td>
  386. <td><span class="parametername">title</span></td>
  387. <td>Title.</td>
  388. </tr>
  389. </tbody>
  390. </table>
  391. <a id="Terminal_Gui_FrameView__ctor_" data-uid="Terminal.Gui.FrameView.#ctor*"></a>
  392. <h4 id="Terminal_Gui_FrameView__ctor_Terminal_Gui_Rect_NStack_ustring_Terminal_Gui_View___" data-uid="Terminal.Gui.FrameView.#ctor(Terminal.Gui.Rect,NStack.ustring,Terminal.Gui.View[])">FrameView(Rect, ustring, View[])</h4>
  393. <div class="markdown level1 summary">
  394. Initializes a new instance of the <a class="xref" href="Terminal.Gui.FrameView.html">FrameView</a> class with
  395. an absolute position, a title and <a class="xref" href="Terminal.Gui.View.html">View</a>s.
  396. </div>
  397. <div class="markdown level1 conceptual"></div>
  398. <h5 class="decalaration">Declaration</h5>
  399. <div class="codewrapper">
  400. <pre><code class="lang-csharp hljs">public FrameView(Rect frame, ustring title, View[] views)</code></pre>
  401. </div>
  402. <h5 class="parameters">Parameters</h5>
  403. <table class="table table-bordered table-striped table-condensed">
  404. <thead>
  405. <tr>
  406. <th>Type</th>
  407. <th>Name</th>
  408. <th>Description</th>
  409. </tr>
  410. </thead>
  411. <tbody>
  412. <tr>
  413. <td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
  414. <td><span class="parametername">frame</span></td>
  415. <td>Frame.</td>
  416. </tr>
  417. <tr>
  418. <td><span class="xref">NStack.ustring</span></td>
  419. <td><span class="parametername">title</span></td>
  420. <td>Title.</td>
  421. </tr>
  422. <tr>
  423. <td><a class="xref" href="Terminal.Gui.View.html">View</a>[]</td>
  424. <td><span class="parametername">views</span></td>
  425. <td>Views.</td>
  426. </tr>
  427. </tbody>
  428. </table>
  429. <h3 id="properties">Properties
  430. </h3>
  431. <a id="Terminal_Gui_FrameView_Title_" data-uid="Terminal.Gui.FrameView.Title*"></a>
  432. <h4 id="Terminal_Gui_FrameView_Title" data-uid="Terminal.Gui.FrameView.Title">Title</h4>
  433. <div class="markdown level1 summary">
  434. The title to be displayed for this <a class="xref" href="Terminal.Gui.FrameView.html">FrameView</a>.
  435. </div>
  436. <div class="markdown level1 conceptual"></div>
  437. <h5 class="decalaration">Declaration</h5>
  438. <div class="codewrapper">
  439. <pre><code class="lang-csharp hljs">public ustring Title { get; set; }</code></pre>
  440. </div>
  441. <h5 class="propertyValue">Property Value</h5>
  442. <table class="table table-bordered table-striped table-condensed">
  443. <thead>
  444. <tr>
  445. <th>Type</th>
  446. <th>Description</th>
  447. </tr>
  448. </thead>
  449. <tbody>
  450. <tr>
  451. <td><span class="xref">NStack.ustring</span></td>
  452. <td>The title.</td>
  453. </tr>
  454. </tbody>
  455. </table>
  456. <h3 id="methods">Methods
  457. </h3>
  458. <a id="Terminal_Gui_FrameView_Add_" data-uid="Terminal.Gui.FrameView.Add*"></a>
  459. <h4 id="Terminal_Gui_FrameView_Add_Terminal_Gui_View_" data-uid="Terminal.Gui.FrameView.Add(Terminal.Gui.View)">Add(View)</h4>
  460. <div class="markdown level1 summary">
  461. Add the specified <a class="xref" href="Terminal.Gui.View.html">View</a> to this container.
  462. </div>
  463. <div class="markdown level1 conceptual"></div>
  464. <h5 class="decalaration">Declaration</h5>
  465. <div class="codewrapper">
  466. <pre><code class="lang-csharp hljs">public override void Add(View view)</code></pre>
  467. </div>
  468. <h5 class="parameters">Parameters</h5>
  469. <table class="table table-bordered table-striped table-condensed">
  470. <thead>
  471. <tr>
  472. <th>Type</th>
  473. <th>Name</th>
  474. <th>Description</th>
  475. </tr>
  476. </thead>
  477. <tbody>
  478. <tr>
  479. <td><a class="xref" href="Terminal.Gui.View.html">View</a></td>
  480. <td><span class="parametername">view</span></td>
  481. <td><a class="xref" href="Terminal.Gui.View.html">View</a> to add to this container</td>
  482. </tr>
  483. </tbody>
  484. </table>
  485. <h5 class="overrides">Overrides</h5>
  486. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Add_Terminal_Gui_View_">View.Add(View)</a></div>
  487. <a id="Terminal_Gui_FrameView_Redraw_" data-uid="Terminal.Gui.FrameView.Redraw*"></a>
  488. <h4 id="Terminal_Gui_FrameView_Redraw_Terminal_Gui_Rect_" data-uid="Terminal.Gui.FrameView.Redraw(Terminal.Gui.Rect)">Redraw(Rect)</h4>
  489. <div class="markdown level1 summary">
  490. Redraws this view and its subviews; only redraws the views that have been flagged for a re-display.
  491. </div>
  492. <div class="markdown level1 conceptual"></div>
  493. <h5 class="decalaration">Declaration</h5>
  494. <div class="codewrapper">
  495. <pre><code class="lang-csharp hljs">public override void Redraw(Rect bounds)</code></pre>
  496. </div>
  497. <h5 class="parameters">Parameters</h5>
  498. <table class="table table-bordered table-striped table-condensed">
  499. <thead>
  500. <tr>
  501. <th>Type</th>
  502. <th>Name</th>
  503. <th>Description</th>
  504. </tr>
  505. </thead>
  506. <tbody>
  507. <tr>
  508. <td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
  509. <td><span class="parametername">bounds</span></td>
  510. <td>The bounds (view-relative region) to redraw.</td>
  511. </tr>
  512. </tbody>
  513. </table>
  514. <h5 class="overrides">Overrides</h5>
  515. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Redraw_Terminal_Gui_Rect_">View.Redraw(Rect)</a></div>
  516. <h5 id="Terminal_Gui_FrameView_Redraw_Terminal_Gui_Rect__remarks">Remarks</h5>
  517. <div class="markdown level1 remarks">
  518. <p>
  519. Always use <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Bounds">Bounds</a> (view-relative) when calling <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Redraw_Terminal_Gui_Rect_">Redraw(Rect)</a>, NOT <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Frame">Frame</a> (superview-relative).
  520. </p>
  521. <p>
  522. Views should set the color that they want to use on entry, as otherwise this will inherit
  523. the last color that was set globaly on the driver.
  524. </p>
  525. <p>
  526. Overrides of <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Redraw_Terminal_Gui_Rect_">Redraw(Rect)</a> must ensure they do not set <code>Driver.Clip</code> to a clip region
  527. larger than the <code>region</code> parameter.
  528. </p>
  529. </div>
  530. <a id="Terminal_Gui_FrameView_Remove_" data-uid="Terminal.Gui.FrameView.Remove*"></a>
  531. <h4 id="Terminal_Gui_FrameView_Remove_Terminal_Gui_View_" data-uid="Terminal.Gui.FrameView.Remove(Terminal.Gui.View)">Remove(View)</h4>
  532. <div class="markdown level1 summary">
  533. Removes a <a class="xref" href="Terminal.Gui.View.html">View</a> from this container.
  534. </div>
  535. <div class="markdown level1 conceptual"></div>
  536. <h5 class="decalaration">Declaration</h5>
  537. <div class="codewrapper">
  538. <pre><code class="lang-csharp hljs">public override void Remove(View view)</code></pre>
  539. </div>
  540. <h5 class="parameters">Parameters</h5>
  541. <table class="table table-bordered table-striped table-condensed">
  542. <thead>
  543. <tr>
  544. <th>Type</th>
  545. <th>Name</th>
  546. <th>Description</th>
  547. </tr>
  548. </thead>
  549. <tbody>
  550. <tr>
  551. <td><a class="xref" href="Terminal.Gui.View.html">View</a></td>
  552. <td><span class="parametername">view</span></td>
  553. <td></td>
  554. </tr>
  555. </tbody>
  556. </table>
  557. <h5 class="overrides">Overrides</h5>
  558. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Remove_Terminal_Gui_View_">View.Remove(View)</a></div>
  559. <h5 id="Terminal_Gui_FrameView_Remove_Terminal_Gui_View__remarks">Remarks</h5>
  560. <div class="markdown level1 remarks">
  561. </div>
  562. <a id="Terminal_Gui_FrameView_RemoveAll_" data-uid="Terminal.Gui.FrameView.RemoveAll*"></a>
  563. <h4 id="Terminal_Gui_FrameView_RemoveAll" data-uid="Terminal.Gui.FrameView.RemoveAll">RemoveAll()</h4>
  564. <div class="markdown level1 summary">
  565. Removes all <a class="xref" href="Terminal.Gui.View.html">View</a>s from this container.
  566. </div>
  567. <div class="markdown level1 conceptual"></div>
  568. <h5 class="decalaration">Declaration</h5>
  569. <div class="codewrapper">
  570. <pre><code class="lang-csharp hljs">public override void RemoveAll()</code></pre>
  571. </div>
  572. <h5 class="overrides">Overrides</h5>
  573. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_RemoveAll">View.RemoveAll()</a></div>
  574. <h5 id="Terminal_Gui_FrameView_RemoveAll_remarks">Remarks</h5>
  575. <div class="markdown level1 remarks">
  576. </div>
  577. <h3 id="implements">Implements</h3>
  578. <div>
  579. <span class="xref">System.Collections.IEnumerable</span>
  580. </div>
  581. </article>
  582. </div>
  583. <div class="hidden-sm col-md-2" role="complementary">
  584. <div class="sideaffix">
  585. <div class="contribution">
  586. <ul class="nav">
  587. </ul>
  588. </div>
  589. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  590. <!-- <p><a class="back-to-top" href="#top">Back to top</a><p> -->
  591. </nav>
  592. </div>
  593. </div>
  594. </div>
  595. </div>
  596. <footer>
  597. <div class="grad-bottom"></div>
  598. <div class="footer">
  599. <div class="container">
  600. <span class="pull-right">
  601. <a href="#top">Back to top</a>
  602. </span>
  603. <span>Generated by <strong>DocFX</strong></span>
  604. </div>
  605. </div>
  606. </footer>
  607. </div>
  608. <script type="text/javascript" src="../../styles/docfx.vendor.js"></script>
  609. <script type="text/javascript" src="../../styles/docfx.js"></script>
  610. <script type="text/javascript" src="../../styles/main.js"></script>
  611. </body>
  612. </html>