Terminal.Gui.Border.html 25 KB

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