Terminal.Gui.Border.html 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634
  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 Border
  8. </title>
  9. <meta name="viewport" content="width=device-width">
  10. <meta name="title" content="Class Border
  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. <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.Border">
  73. <h1 id="Terminal_Gui_Border" data-uid="Terminal.Gui.Border" class="text-break">Class Border
  74. </h1>
  75. <div class="markdown level0 summary">
  76. Draws a border, background, or both around another element.
  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"><span class="xref">Border</span></div>
  83. </div>
  84. <h6><strong>Namespace</strong>: <a class="xref" href="Terminal.Gui.html">Terminal.Gui</a></h6>
  85. <h6><strong>Assembly</strong>: Terminal.Gui.dll</h6>
  86. <h5 id="Terminal_Gui_Border_syntax">Syntax</h5>
  87. <div class="codewrapper">
  88. <pre><code class="lang-csharp hljs">public class Border : Object</code></pre>
  89. </div>
  90. <h3 id="constructors">Constructors
  91. </h3>
  92. <a id="Terminal_Gui_Border__ctor_" data-uid="Terminal.Gui.Border.#ctor*"></a>
  93. <h4 id="Terminal_Gui_Border__ctor" data-uid="Terminal.Gui.Border.#ctor">Border()</h4>
  94. <div class="markdown level1 summary"></div>
  95. <div class="markdown level1 conceptual"></div>
  96. <h5 class="decalaration">Declaration</h5>
  97. <div class="codewrapper">
  98. <pre><code class="lang-csharp hljs">public Border()</code></pre>
  99. </div>
  100. <h3 id="properties">Properties
  101. </h3>
  102. <a id="Terminal_Gui_Border_ActualHeight_" data-uid="Terminal.Gui.Border.ActualHeight*"></a>
  103. <h4 id="Terminal_Gui_Border_ActualHeight" data-uid="Terminal.Gui.Border.ActualHeight">ActualHeight</h4>
  104. <div class="markdown level1 summary">
  105. Gets the rendered height of this element.
  106. </div>
  107. <div class="markdown level1 conceptual"></div>
  108. <h5 class="decalaration">Declaration</h5>
  109. <div class="codewrapper">
  110. <pre><code class="lang-csharp hljs">public int ActualHeight { get; }</code></pre>
  111. </div>
  112. <h5 class="propertyValue">Property Value</h5>
  113. <table class="table table-bordered table-striped table-condensed">
  114. <thead>
  115. <tr>
  116. <th>Type</th>
  117. <th>Description</th>
  118. </tr>
  119. </thead>
  120. <tbody>
  121. <tr>
  122. <td><span class="xref">System.Int32</span></td>
  123. <td></td>
  124. </tr>
  125. </tbody>
  126. </table>
  127. <a id="Terminal_Gui_Border_ActualWidth_" data-uid="Terminal.Gui.Border.ActualWidth*"></a>
  128. <h4 id="Terminal_Gui_Border_ActualWidth" data-uid="Terminal.Gui.Border.ActualWidth">ActualWidth</h4>
  129. <div class="markdown level1 summary">
  130. Gets the rendered width of this element.
  131. </div>
  132. <div class="markdown level1 conceptual"></div>
  133. <h5 class="decalaration">Declaration</h5>
  134. <div class="codewrapper">
  135. <pre><code class="lang-csharp hljs">public int ActualWidth { get; }</code></pre>
  136. </div>
  137. <h5 class="propertyValue">Property Value</h5>
  138. <table class="table table-bordered table-striped table-condensed">
  139. <thead>
  140. <tr>
  141. <th>Type</th>
  142. <th>Description</th>
  143. </tr>
  144. </thead>
  145. <tbody>
  146. <tr>
  147. <td><span class="xref">System.Int32</span></td>
  148. <td></td>
  149. </tr>
  150. </tbody>
  151. </table>
  152. <a id="Terminal_Gui_Border_Background_" data-uid="Terminal.Gui.Border.Background*"></a>
  153. <h4 id="Terminal_Gui_Border_Background" data-uid="Terminal.Gui.Border.Background">Background</h4>
  154. <div class="markdown level1 summary">
  155. Gets or sets the <a class="xref" href="Terminal.Gui.Color.html">Color</a> that fills the area between the bounds of a <a class="xref" href="Terminal.Gui.Border.html">Border</a>.
  156. </div>
  157. <div class="markdown level1 conceptual"></div>
  158. <h5 class="decalaration">Declaration</h5>
  159. <div class="codewrapper">
  160. <pre><code class="lang-csharp hljs">public Color Background { get; set; }</code></pre>
  161. </div>
  162. <h5 class="propertyValue">Property Value</h5>
  163. <table class="table table-bordered table-striped table-condensed">
  164. <thead>
  165. <tr>
  166. <th>Type</th>
  167. <th>Description</th>
  168. </tr>
  169. </thead>
  170. <tbody>
  171. <tr>
  172. <td><a class="xref" href="Terminal.Gui.Color.html">Color</a></td>
  173. <td></td>
  174. </tr>
  175. </tbody>
  176. </table>
  177. <a id="Terminal_Gui_Border_BorderBrush_" data-uid="Terminal.Gui.Border.BorderBrush*"></a>
  178. <h4 id="Terminal_Gui_Border_BorderBrush" data-uid="Terminal.Gui.Border.BorderBrush">BorderBrush</h4>
  179. <div class="markdown level1 summary">
  180. Gets or sets the <a class="xref" href="Terminal.Gui.Color.html">Color</a> that draws the outer border color.
  181. </div>
  182. <div class="markdown level1 conceptual"></div>
  183. <h5 class="decalaration">Declaration</h5>
  184. <div class="codewrapper">
  185. <pre><code class="lang-csharp hljs">public Color BorderBrush { get; set; }</code></pre>
  186. </div>
  187. <h5 class="propertyValue">Property Value</h5>
  188. <table class="table table-bordered table-striped table-condensed">
  189. <thead>
  190. <tr>
  191. <th>Type</th>
  192. <th>Description</th>
  193. </tr>
  194. </thead>
  195. <tbody>
  196. <tr>
  197. <td><a class="xref" href="Terminal.Gui.Color.html">Color</a></td>
  198. <td></td>
  199. </tr>
  200. </tbody>
  201. </table>
  202. <a id="Terminal_Gui_Border_BorderStyle_" data-uid="Terminal.Gui.Border.BorderStyle*"></a>
  203. <h4 id="Terminal_Gui_Border_BorderStyle" data-uid="Terminal.Gui.Border.BorderStyle">BorderStyle</h4>
  204. <div class="markdown level1 summary">
  205. Specifies the <a class="xref" href="Terminal.Gui.BorderStyle.html">BorderStyle</a> for a view.
  206. </div>
  207. <div class="markdown level1 conceptual"></div>
  208. <h5 class="decalaration">Declaration</h5>
  209. <div class="codewrapper">
  210. <pre><code class="lang-csharp hljs">public BorderStyle BorderStyle { get; set; }</code></pre>
  211. </div>
  212. <h5 class="propertyValue">Property Value</h5>
  213. <table class="table table-bordered table-striped table-condensed">
  214. <thead>
  215. <tr>
  216. <th>Type</th>
  217. <th>Description</th>
  218. </tr>
  219. </thead>
  220. <tbody>
  221. <tr>
  222. <td><a class="xref" href="Terminal.Gui.BorderStyle.html">BorderStyle</a></td>
  223. <td></td>
  224. </tr>
  225. </tbody>
  226. </table>
  227. <a id="Terminal_Gui_Border_BorderThickness_" data-uid="Terminal.Gui.Border.BorderThickness*"></a>
  228. <h4 id="Terminal_Gui_Border_BorderThickness" data-uid="Terminal.Gui.Border.BorderThickness">BorderThickness</h4>
  229. <div class="markdown level1 summary">
  230. Gets or sets the relative <a class="xref" href="Terminal.Gui.Thickness.html">Thickness</a> of a <a class="xref" href="Terminal.Gui.Border.html">Border</a>.
  231. </div>
  232. <div class="markdown level1 conceptual"></div>
  233. <h5 class="decalaration">Declaration</h5>
  234. <div class="codewrapper">
  235. <pre><code class="lang-csharp hljs">public Thickness BorderThickness { get; set; }</code></pre>
  236. </div>
  237. <h5 class="propertyValue">Property Value</h5>
  238. <table class="table table-bordered table-striped table-condensed">
  239. <thead>
  240. <tr>
  241. <th>Type</th>
  242. <th>Description</th>
  243. </tr>
  244. </thead>
  245. <tbody>
  246. <tr>
  247. <td><a class="xref" href="Terminal.Gui.Thickness.html">Thickness</a></td>
  248. <td></td>
  249. </tr>
  250. </tbody>
  251. </table>
  252. <a id="Terminal_Gui_Border_Child_" data-uid="Terminal.Gui.Border.Child*"></a>
  253. <h4 id="Terminal_Gui_Border_Child" data-uid="Terminal.Gui.Border.Child">Child</h4>
  254. <div class="markdown level1 summary">
  255. Gets or sets the single child element of a <a class="xref" href="Terminal.Gui.View.html">View</a>.
  256. </div>
  257. <div class="markdown level1 conceptual"></div>
  258. <h5 class="decalaration">Declaration</h5>
  259. <div class="codewrapper">
  260. <pre><code class="lang-csharp hljs">public View Child { get; set; }</code></pre>
  261. </div>
  262. <h5 class="propertyValue">Property Value</h5>
  263. <table class="table table-bordered table-striped table-condensed">
  264. <thead>
  265. <tr>
  266. <th>Type</th>
  267. <th>Description</th>
  268. </tr>
  269. </thead>
  270. <tbody>
  271. <tr>
  272. <td><a class="xref" href="Terminal.Gui.View.html">View</a></td>
  273. <td></td>
  274. </tr>
  275. </tbody>
  276. </table>
  277. <a id="Terminal_Gui_Border_ChildContainer_" data-uid="Terminal.Gui.Border.ChildContainer*"></a>
  278. <h4 id="Terminal_Gui_Border_ChildContainer" data-uid="Terminal.Gui.Border.ChildContainer">ChildContainer</h4>
  279. <div class="markdown level1 summary">
  280. Gets or private sets by the <a class="xref" href="Terminal.Gui.Border.ToplevelContainer.html">Border.ToplevelContainer</a>
  281. </div>
  282. <div class="markdown level1 conceptual"></div>
  283. <h5 class="decalaration">Declaration</h5>
  284. <div class="codewrapper">
  285. <pre><code class="lang-csharp hljs">public Border.ToplevelContainer ChildContainer { get; }</code></pre>
  286. </div>
  287. <h5 class="propertyValue">Property Value</h5>
  288. <table class="table table-bordered table-striped table-condensed">
  289. <thead>
  290. <tr>
  291. <th>Type</th>
  292. <th>Description</th>
  293. </tr>
  294. </thead>
  295. <tbody>
  296. <tr>
  297. <td><a class="xref" href="Terminal.Gui.Border.ToplevelContainer.html">Border.ToplevelContainer</a></td>
  298. <td></td>
  299. </tr>
  300. </tbody>
  301. </table>
  302. <a id="Terminal_Gui_Border_DrawMarginFrame_" data-uid="Terminal.Gui.Border.DrawMarginFrame*"></a>
  303. <h4 id="Terminal_Gui_Border_DrawMarginFrame" data-uid="Terminal.Gui.Border.DrawMarginFrame">DrawMarginFrame</h4>
  304. <div class="markdown level1 summary">
  305. Gets or sets if a margin frame is drawn around the <a class="xref" href="Terminal.Gui.Border.html#Terminal_Gui_Border_Child">Child</a> regardless the <a class="xref" href="Terminal.Gui.Border.html#Terminal_Gui_Border_BorderStyle">BorderStyle</a>
  306. </div>
  307. <div class="markdown level1 conceptual"></div>
  308. <h5 class="decalaration">Declaration</h5>
  309. <div class="codewrapper">
  310. <pre><code class="lang-csharp hljs">public bool DrawMarginFrame { get; set; }</code></pre>
  311. </div>
  312. <h5 class="propertyValue">Property Value</h5>
  313. <table class="table table-bordered table-striped table-condensed">
  314. <thead>
  315. <tr>
  316. <th>Type</th>
  317. <th>Description</th>
  318. </tr>
  319. </thead>
  320. <tbody>
  321. <tr>
  322. <td><span class="xref">System.Boolean</span></td>
  323. <td></td>
  324. </tr>
  325. </tbody>
  326. </table>
  327. <a id="Terminal_Gui_Border_Effect3D_" data-uid="Terminal.Gui.Border.Effect3D*"></a>
  328. <h4 id="Terminal_Gui_Border_Effect3D" data-uid="Terminal.Gui.Border.Effect3D">Effect3D</h4>
  329. <div class="markdown level1 summary">
  330. Gets or sets the 3D effect around the <a class="xref" href="Terminal.Gui.Border.html">Border</a>.
  331. </div>
  332. <div class="markdown level1 conceptual"></div>
  333. <h5 class="decalaration">Declaration</h5>
  334. <div class="codewrapper">
  335. <pre><code class="lang-csharp hljs">public bool Effect3D { get; set; }</code></pre>
  336. </div>
  337. <h5 class="propertyValue">Property Value</h5>
  338. <table class="table table-bordered table-striped table-condensed">
  339. <thead>
  340. <tr>
  341. <th>Type</th>
  342. <th>Description</th>
  343. </tr>
  344. </thead>
  345. <tbody>
  346. <tr>
  347. <td><span class="xref">System.Boolean</span></td>
  348. <td></td>
  349. </tr>
  350. </tbody>
  351. </table>
  352. <a id="Terminal_Gui_Border_Effect3DBrush_" data-uid="Terminal.Gui.Border.Effect3DBrush*"></a>
  353. <h4 id="Terminal_Gui_Border_Effect3DBrush" data-uid="Terminal.Gui.Border.Effect3DBrush">Effect3DBrush</h4>
  354. <div class="markdown level1 summary">
  355. Gets or sets the color for the <a class="xref" href="Terminal.Gui.Border.html">Border</a>
  356. </div>
  357. <div class="markdown level1 conceptual"></div>
  358. <h5 class="decalaration">Declaration</h5>
  359. <div class="codewrapper">
  360. <pre><code class="lang-csharp hljs">public Nullable&lt;Attribute&gt; Effect3DBrush { get; set; }</code></pre>
  361. </div>
  362. <h5 class="propertyValue">Property Value</h5>
  363. <table class="table table-bordered table-striped table-condensed">
  364. <thead>
  365. <tr>
  366. <th>Type</th>
  367. <th>Description</th>
  368. </tr>
  369. </thead>
  370. <tbody>
  371. <tr>
  372. <td><span class="xref">System.Nullable</span>&lt;<a class="xref" href="Terminal.Gui.Attribute.html">Attribute</a>&gt;</td>
  373. <td></td>
  374. </tr>
  375. </tbody>
  376. </table>
  377. <a id="Terminal_Gui_Border_Effect3DOffset_" data-uid="Terminal.Gui.Border.Effect3DOffset*"></a>
  378. <h4 id="Terminal_Gui_Border_Effect3DOffset" data-uid="Terminal.Gui.Border.Effect3DOffset">Effect3DOffset</h4>
  379. <div class="markdown level1 summary">
  380. Get or sets the offset start position for the <a class="xref" href="Terminal.Gui.Border.html#Terminal_Gui_Border_Effect3D">Effect3D</a>
  381. </div>
  382. <div class="markdown level1 conceptual"></div>
  383. <h5 class="decalaration">Declaration</h5>
  384. <div class="codewrapper">
  385. <pre><code class="lang-csharp hljs">public Point Effect3DOffset { get; set; }</code></pre>
  386. </div>
  387. <h5 class="propertyValue">Property Value</h5>
  388. <table class="table table-bordered table-striped table-condensed">
  389. <thead>
  390. <tr>
  391. <th>Type</th>
  392. <th>Description</th>
  393. </tr>
  394. </thead>
  395. <tbody>
  396. <tr>
  397. <td><a class="xref" href="Terminal.Gui.Point.html">Point</a></td>
  398. <td></td>
  399. </tr>
  400. </tbody>
  401. </table>
  402. <a id="Terminal_Gui_Border_Padding_" data-uid="Terminal.Gui.Border.Padding*"></a>
  403. <h4 id="Terminal_Gui_Border_Padding" data-uid="Terminal.Gui.Border.Padding">Padding</h4>
  404. <div class="markdown level1 summary">
  405. Gets or sets a <a class="xref" href="Terminal.Gui.Thickness.html">Thickness</a> value that describes the amount of space between a
  406. <a class="xref" href="Terminal.Gui.Border.html">Border</a> and its child element.
  407. </div>
  408. <div class="markdown level1 conceptual"></div>
  409. <h5 class="decalaration">Declaration</h5>
  410. <div class="codewrapper">
  411. <pre><code class="lang-csharp hljs">public Thickness Padding { get; set; }</code></pre>
  412. </div>
  413. <h5 class="propertyValue">Property Value</h5>
  414. <table class="table table-bordered table-striped table-condensed">
  415. <thead>
  416. <tr>
  417. <th>Type</th>
  418. <th>Description</th>
  419. </tr>
  420. </thead>
  421. <tbody>
  422. <tr>
  423. <td><a class="xref" href="Terminal.Gui.Thickness.html">Thickness</a></td>
  424. <td></td>
  425. </tr>
  426. </tbody>
  427. </table>
  428. <a id="Terminal_Gui_Border_Parent_" data-uid="Terminal.Gui.Border.Parent*"></a>
  429. <h4 id="Terminal_Gui_Border_Parent" data-uid="Terminal.Gui.Border.Parent">Parent</h4>
  430. <div class="markdown level1 summary">
  431. Gets the parent <a class="xref" href="Terminal.Gui.Border.html#Terminal_Gui_Border_Child">Child</a> parent if any.
  432. </div>
  433. <div class="markdown level1 conceptual"></div>
  434. <h5 class="decalaration">Declaration</h5>
  435. <div class="codewrapper">
  436. <pre><code class="lang-csharp hljs">public View Parent { get; }</code></pre>
  437. </div>
  438. <h5 class="propertyValue">Property Value</h5>
  439. <table class="table table-bordered table-striped table-condensed">
  440. <thead>
  441. <tr>
  442. <th>Type</th>
  443. <th>Description</th>
  444. </tr>
  445. </thead>
  446. <tbody>
  447. <tr>
  448. <td><a class="xref" href="Terminal.Gui.View.html">View</a></td>
  449. <td></td>
  450. </tr>
  451. </tbody>
  452. </table>
  453. <h3 id="methods">Methods
  454. </h3>
  455. <a id="Terminal_Gui_Border_DrawContent_" data-uid="Terminal.Gui.Border.DrawContent*"></a>
  456. <h4 id="Terminal_Gui_Border_DrawContent_Terminal_Gui_View_System_Boolean_" data-uid="Terminal.Gui.Border.DrawContent(Terminal.Gui.View,System.Boolean)">DrawContent(View, Boolean)</h4>
  457. <div class="markdown level1 summary">
  458. Drawn the <a class="xref" href="Terminal.Gui.Border.html#Terminal_Gui_Border_BorderThickness">BorderThickness</a> more the <a class="xref" href="Terminal.Gui.Border.html#Terminal_Gui_Border_Padding">Padding</a>
  459. more the <a class="xref" href="Terminal.Gui.Border.html#Terminal_Gui_Border_BorderStyle">BorderStyle</a> and the <a class="xref" href="Terminal.Gui.Border.html#Terminal_Gui_Border_Effect3D">Effect3D</a>.
  460. </div>
  461. <div class="markdown level1 conceptual"></div>
  462. <h5 class="decalaration">Declaration</h5>
  463. <div class="codewrapper">
  464. <pre><code class="lang-csharp hljs">public void DrawContent(View view = null, bool fill = true)</code></pre>
  465. </div>
  466. <h5 class="parameters">Parameters</h5>
  467. <table class="table table-bordered table-striped table-condensed">
  468. <thead>
  469. <tr>
  470. <th>Type</th>
  471. <th>Name</th>
  472. <th>Description</th>
  473. </tr>
  474. </thead>
  475. <tbody>
  476. <tr>
  477. <td><a class="xref" href="Terminal.Gui.View.html">View</a></td>
  478. <td><span class="parametername">view</span></td>
  479. <td>The view to draw.</td>
  480. </tr>
  481. <tr>
  482. <td><span class="xref">System.Boolean</span></td>
  483. <td><span class="parametername">fill</span></td>
  484. <td>If it will clear or not the content area.</td>
  485. </tr>
  486. </tbody>
  487. </table>
  488. <a id="Terminal_Gui_Border_DrawFullContent_" data-uid="Terminal.Gui.Border.DrawFullContent*"></a>
  489. <h4 id="Terminal_Gui_Border_DrawFullContent" data-uid="Terminal.Gui.Border.DrawFullContent">DrawFullContent()</h4>
  490. <div class="markdown level1 summary">
  491. Same as <a class="xref" href="Terminal.Gui.Border.html#Terminal_Gui_Border_DrawContent_Terminal_Gui_View_System_Boolean_">DrawContent(View, Boolean)</a> but drawing full frames for all borders.
  492. </div>
  493. <div class="markdown level1 conceptual"></div>
  494. <h5 class="decalaration">Declaration</h5>
  495. <div class="codewrapper">
  496. <pre><code class="lang-csharp hljs">public void DrawFullContent()</code></pre>
  497. </div>
  498. <a id="Terminal_Gui_Border_DrawTitle_" data-uid="Terminal.Gui.Border.DrawTitle*"></a>
  499. <h4 id="Terminal_Gui_Border_DrawTitle_Terminal_Gui_View_Terminal_Gui_Rect_" data-uid="Terminal.Gui.Border.DrawTitle(Terminal.Gui.View,Terminal.Gui.Rect)">DrawTitle(View, Rect)</h4>
  500. <div class="markdown level1 summary">
  501. Drawn the view text from a <a class="xref" href="Terminal.Gui.View.html">View</a>.
  502. </div>
  503. <div class="markdown level1 conceptual"></div>
  504. <h5 class="decalaration">Declaration</h5>
  505. <div class="codewrapper">
  506. <pre><code class="lang-csharp hljs">public void DrawTitle(View view, Rect rect)</code></pre>
  507. </div>
  508. <h5 class="parameters">Parameters</h5>
  509. <table class="table table-bordered table-striped table-condensed">
  510. <thead>
  511. <tr>
  512. <th>Type</th>
  513. <th>Name</th>
  514. <th>Description</th>
  515. </tr>
  516. </thead>
  517. <tbody>
  518. <tr>
  519. <td><a class="xref" href="Terminal.Gui.View.html">View</a></td>
  520. <td><span class="parametername">view</span></td>
  521. <td></td>
  522. </tr>
  523. <tr>
  524. <td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
  525. <td><span class="parametername">rect</span></td>
  526. <td></td>
  527. </tr>
  528. </tbody>
  529. </table>
  530. <a id="Terminal_Gui_Border_GetSumThickness_" data-uid="Terminal.Gui.Border.GetSumThickness*"></a>
  531. <h4 id="Terminal_Gui_Border_GetSumThickness" data-uid="Terminal.Gui.Border.GetSumThickness">GetSumThickness()</h4>
  532. <div class="markdown level1 summary">
  533. Calculate the sum of the <a class="xref" href="Terminal.Gui.Border.html#Terminal_Gui_Border_Padding">Padding</a> and the <a class="xref" href="Terminal.Gui.Border.html#Terminal_Gui_Border_BorderThickness">BorderThickness</a>
  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 Thickness GetSumThickness()</code></pre>
  539. </div>
  540. <h5 class="returns">Returns</h5>
  541. <table class="table table-bordered table-striped table-condensed">
  542. <thead>
  543. <tr>
  544. <th>Type</th>
  545. <th>Description</th>
  546. </tr>
  547. </thead>
  548. <tbody>
  549. <tr>
  550. <td><a class="xref" href="Terminal.Gui.Thickness.html">Thickness</a></td>
  551. <td>The total of the <a class="xref" href="Terminal.Gui.Border.html">Border</a> <a class="xref" href="Terminal.Gui.Thickness.html">Thickness</a></td>
  552. </tr>
  553. </tbody>
  554. </table>
  555. <a id="Terminal_Gui_Border_OnBorderChanged_" data-uid="Terminal.Gui.Border.OnBorderChanged*"></a>
  556. <h4 id="Terminal_Gui_Border_OnBorderChanged" data-uid="Terminal.Gui.Border.OnBorderChanged">OnBorderChanged()</h4>
  557. <div class="markdown level1 summary">
  558. Invoke the <a class="xref" href="Terminal.Gui.Border.html#Terminal_Gui_Border_BorderChanged">BorderChanged</a> event.
  559. </div>
  560. <div class="markdown level1 conceptual"></div>
  561. <h5 class="decalaration">Declaration</h5>
  562. <div class="codewrapper">
  563. <pre><code class="lang-csharp hljs">public virtual void OnBorderChanged()</code></pre>
  564. </div>
  565. <h3 id="events">Events
  566. </h3>
  567. <h4 id="Terminal_Gui_Border_BorderChanged" data-uid="Terminal.Gui.Border.BorderChanged">BorderChanged</h4>
  568. <div class="markdown level1 summary">
  569. Event to be invoked when any border property change.
  570. </div>
  571. <div class="markdown level1 conceptual"></div>
  572. <h5 class="decalaration">Declaration</h5>
  573. <div class="codewrapper">
  574. <pre><code class="lang-csharp hljs">public event Action&lt;Border&gt; BorderChanged</code></pre>
  575. </div>
  576. <h5 class="eventType">Event Type</h5>
  577. <table class="table table-bordered table-striped table-condensed">
  578. <thead>
  579. <tr>
  580. <th>Type</th>
  581. <th>Description</th>
  582. </tr>
  583. </thead>
  584. <tbody>
  585. <tr>
  586. <td><span class="xref">System.Action</span>&lt;<a class="xref" href="Terminal.Gui.Border.html">Border</a>&gt;</td>
  587. <td></td>
  588. </tr>
  589. </tbody>
  590. </table>
  591. </article>
  592. </div>
  593. <div class="hidden-sm col-md-2" role="complementary">
  594. <div class="sideaffix">
  595. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  596. <h5>In This Article</h5>
  597. <div></div>
  598. </nav>
  599. </div>
  600. </div>
  601. </div>
  602. </div>
  603. <footer>
  604. <div class="grad-bottom"></div>
  605. <div class="footer">
  606. <div class="container">
  607. <span class="pull-right">
  608. <a href="#top">Back to top</a>
  609. </span>
  610. <span>Generated by <strong>DocFX</strong></span>
  611. </div>
  612. </div>
  613. </footer>
  614. </div>
  615. <script type="text/javascript" src="../../styles/docfx.vendor.js"></script>
  616. <script type="text/javascript" src="../../styles/docfx.js"></script>
  617. <script type="text/javascript" src="../../styles/main.js"></script>
  618. </body>
  619. </html>