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