Terminal.Gui.LayoutStyle.html 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209
  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 LayoutStyle
  8. </title>
  9. <meta name="viewport" content="width=device-width">
  10. <meta name="title" content="Class LayoutStyle
  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.LayoutStyle">
  74. <h1 id="Terminal_Gui_LayoutStyle" data-uid="Terminal.Gui.LayoutStyle" class="text-break">Class LayoutStyle
  75. </h1>
  76. <div class="markdown level0 summary">
  77. Determines the LayoutStyle for a view, if Absolute, during LayoutSubviews, the
  78. value from the Frame will be used, if the value is Computed, then the Frame
  79. will be updated from the X, Y Pos objects and the Width and Height Dim objects.
  80. </div>
  81. <div class="markdown level0 conceptual"></div>
  82. <div class="inheritance">
  83. <h5>Inheritance</h5>
  84. <div class="level0"><span class="xref">System.Object</span></div>
  85. <div class="level1"><span class="xref">LayoutStyle</span></div>
  86. </div>
  87. <h6><strong>Namespace</strong>: <a class="xref" href="Terminal.Gui.html">Terminal.Gui</a></h6>
  88. <h6><strong>Assembly</strong>: Terminal.Gui.dll</h6>
  89. <h5 id="Terminal_Gui_LayoutStyle_syntax">Syntax</h5>
  90. <div class="codewrapper">
  91. <pre><code class="lang-csharp hljs">public sealed class LayoutStyle : Enum</code></pre>
  92. </div>
  93. <h3 id="fields">Fields
  94. </h3>
  95. <h4 id="Terminal_Gui_LayoutStyle_Absolute" data-uid="Terminal.Gui.LayoutStyle.Absolute">Absolute</h4>
  96. <div class="markdown level1 summary">
  97. The position and size of the view are based on the Frame value.
  98. </div>
  99. <div class="markdown level1 conceptual"></div>
  100. <h5 class="decalaration">Declaration</h5>
  101. <div class="codewrapper">
  102. <pre><code class="lang-csharp hljs">public const LayoutStyle Absolute</code></pre>
  103. </div>
  104. <h5 class="fieldValue">Field Value</h5>
  105. <table class="table table-bordered table-striped table-condensed">
  106. <thead>
  107. <tr>
  108. <th>Type</th>
  109. <th>Description</th>
  110. </tr>
  111. </thead>
  112. <tbody>
  113. <tr>
  114. <td><a class="xref" href="Terminal.Gui.LayoutStyle.html">LayoutStyle</a></td>
  115. <td></td>
  116. </tr>
  117. </tbody>
  118. </table>
  119. <h4 id="Terminal_Gui_LayoutStyle_Computed" data-uid="Terminal.Gui.LayoutStyle.Computed">Computed</h4>
  120. <div class="markdown level1 summary">
  121. The position and size of the view will be computed based on the
  122. X, Y, Width and Height properties and set on the Frame.
  123. </div>
  124. <div class="markdown level1 conceptual"></div>
  125. <h5 class="decalaration">Declaration</h5>
  126. <div class="codewrapper">
  127. <pre><code class="lang-csharp hljs">public const LayoutStyle Computed</code></pre>
  128. </div>
  129. <h5 class="fieldValue">Field Value</h5>
  130. <table class="table table-bordered table-striped table-condensed">
  131. <thead>
  132. <tr>
  133. <th>Type</th>
  134. <th>Description</th>
  135. </tr>
  136. </thead>
  137. <tbody>
  138. <tr>
  139. <td><a class="xref" href="Terminal.Gui.LayoutStyle.html">LayoutStyle</a></td>
  140. <td></td>
  141. </tr>
  142. </tbody>
  143. </table>
  144. <h4 id="Terminal_Gui_LayoutStyle_value__" data-uid="Terminal.Gui.LayoutStyle.value__">value__</h4>
  145. <div class="markdown level1 summary"></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 value__</code></pre>
  150. </div>
  151. <h5 class="fieldValue">Field 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. </article>
  167. </div>
  168. <div class="hidden-sm col-md-2" role="complementary">
  169. <div class="sideaffix">
  170. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  171. <h5>In This Article</h5>
  172. <div></div>
  173. </nav>
  174. </div>
  175. </div>
  176. </div>
  177. </div>
  178. <footer>
  179. <div class="grad-bottom"></div>
  180. <div class="footer">
  181. <div class="container">
  182. <span class="pull-right">
  183. <a href="#top">Back to top</a>
  184. </span>
  185. <span>Generated by <strong>DocFX</strong></span>
  186. </div>
  187. </div>
  188. </footer>
  189. </div>
  190. <script type="text/javascript" src="../../styles/docfx.vendor.js"></script>
  191. <script type="text/javascript" src="../../styles/docfx.js"></script>
  192. <script type="text/javascript" src="../../styles/main.js"></script>
  193. </body>
  194. </html>