Terminal.Gui.TableView.TableStyle.html 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529
  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 TableView.TableStyle
  8. </title>
  9. <meta name="viewport" content="width=device-width">
  10. <meta name="title" content="Class TableView.TableStyle
  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.TableView.TableStyle">
  74. <h1 id="Terminal_Gui_TableView_TableStyle" data-uid="Terminal.Gui.TableView.TableStyle" class="text-break">Class TableView.TableStyle
  75. </h1>
  76. <div class="markdown level0 summary">
  77. Defines rendering options that affect how the table is displayed.
  78. <a href="https://migueldeicaza.github.io/gui.cs/articles/tableview.html">See TableView Deep Dive for more information</a>.
  79. </div>
  80. <div class="markdown level0 conceptual"></div>
  81. <div class="inheritance">
  82. <h5>Inheritance</h5>
  83. <div class="level0"><span class="xref">System.Object</span></div>
  84. <div class="level1"><span class="xref">TableView.TableStyle</span></div>
  85. </div>
  86. <h6><strong>Namespace</strong>: <a class="xref" href="Terminal.Gui.html">Terminal.Gui</a></h6>
  87. <h6><strong>Assembly</strong>: Terminal.Gui.dll</h6>
  88. <h5 id="Terminal_Gui_TableView_TableStyle_syntax">Syntax</h5>
  89. <div class="codewrapper">
  90. <pre><code class="lang-csharp hljs">public class TableStyle : Object</code></pre>
  91. </div>
  92. <h3 id="constructors">Constructors
  93. </h3>
  94. <a id="Terminal_Gui_TableView_TableStyle__ctor_" data-uid="Terminal.Gui.TableView.TableStyle.#ctor*"></a>
  95. <h4 id="Terminal_Gui_TableView_TableStyle__ctor" data-uid="Terminal.Gui.TableView.TableStyle.#ctor">TableStyle()</h4>
  96. <div class="markdown level1 summary"></div>
  97. <div class="markdown level1 conceptual"></div>
  98. <h5 class="decalaration">Declaration</h5>
  99. <div class="codewrapper">
  100. <pre><code class="lang-csharp hljs">public TableStyle()</code></pre>
  101. </div>
  102. <h3 id="properties">Properties
  103. </h3>
  104. <a id="Terminal_Gui_TableView_TableStyle_AlwaysShowHeaders_" data-uid="Terminal.Gui.TableView.TableStyle.AlwaysShowHeaders*"></a>
  105. <h4 id="Terminal_Gui_TableView_TableStyle_AlwaysShowHeaders" data-uid="Terminal.Gui.TableView.TableStyle.AlwaysShowHeaders">AlwaysShowHeaders</h4>
  106. <div class="markdown level1 summary">
  107. When scrolling down always lock the column headers in place as the first row of the table
  108. </div>
  109. <div class="markdown level1 conceptual"></div>
  110. <h5 class="decalaration">Declaration</h5>
  111. <div class="codewrapper">
  112. <pre><code class="lang-csharp hljs">public bool AlwaysShowHeaders { get; set; }</code></pre>
  113. </div>
  114. <h5 class="propertyValue">Property Value</h5>
  115. <table class="table table-bordered table-striped table-condensed">
  116. <thead>
  117. <tr>
  118. <th>Type</th>
  119. <th>Description</th>
  120. </tr>
  121. </thead>
  122. <tbody>
  123. <tr>
  124. <td><span class="xref">System.Boolean</span></td>
  125. <td></td>
  126. </tr>
  127. </tbody>
  128. </table>
  129. <a id="Terminal_Gui_TableView_TableStyle_ColumnStyles_" data-uid="Terminal.Gui.TableView.TableStyle.ColumnStyles*"></a>
  130. <h4 id="Terminal_Gui_TableView_TableStyle_ColumnStyles" data-uid="Terminal.Gui.TableView.TableStyle.ColumnStyles">ColumnStyles</h4>
  131. <div class="markdown level1 summary">
  132. Collection of columns for which you want special rendering (e.g. custom column lengths, text alignment etc)
  133. </div>
  134. <div class="markdown level1 conceptual"></div>
  135. <h5 class="decalaration">Declaration</h5>
  136. <div class="codewrapper">
  137. <pre><code class="lang-csharp hljs">public Dictionary&lt;DataColumn, TableView.ColumnStyle&gt; ColumnStyles { get; set; }</code></pre>
  138. </div>
  139. <h5 class="propertyValue">Property Value</h5>
  140. <table class="table table-bordered table-striped table-condensed">
  141. <thead>
  142. <tr>
  143. <th>Type</th>
  144. <th>Description</th>
  145. </tr>
  146. </thead>
  147. <tbody>
  148. <tr>
  149. <td><span class="xref">System.Collections.Generic.Dictionary</span>&lt;<span class="xref">System.Data.DataColumn</span>, <a class="xref" href="Terminal.Gui.TableView.ColumnStyle.html">TableView.ColumnStyle</a>&gt;</td>
  150. <td></td>
  151. </tr>
  152. </tbody>
  153. </table>
  154. <a id="Terminal_Gui_TableView_TableStyle_ExpandLastColumn_" data-uid="Terminal.Gui.TableView.TableStyle.ExpandLastColumn*"></a>
  155. <h4 id="Terminal_Gui_TableView_TableStyle_ExpandLastColumn" data-uid="Terminal.Gui.TableView.TableStyle.ExpandLastColumn">ExpandLastColumn</h4>
  156. <div class="markdown level1 summary">
  157. Determines rendering when the last column in the table is visible but it&apos;s
  158. content or <a class="xref" href="Terminal.Gui.TableView.ColumnStyle.html#Terminal_Gui_TableView_ColumnStyle_MaxWidth">MaxWidth</a> is less than the remaining
  159. space in the control. True (the default) will expand the column to fill
  160. the remaining bounds of the control. False will draw a column ending line
  161. and leave a blank column that cannot be selected in the remaining space.
  162. </div>
  163. <div class="markdown level1 conceptual"></div>
  164. <h5 class="decalaration">Declaration</h5>
  165. <div class="codewrapper">
  166. <pre><code class="lang-csharp hljs">public bool ExpandLastColumn { get; set; }</code></pre>
  167. </div>
  168. <h5 class="propertyValue">Property Value</h5>
  169. <table class="table table-bordered table-striped table-condensed">
  170. <thead>
  171. <tr>
  172. <th>Type</th>
  173. <th>Description</th>
  174. </tr>
  175. </thead>
  176. <tbody>
  177. <tr>
  178. <td><span class="xref">System.Boolean</span></td>
  179. <td></td>
  180. </tr>
  181. </tbody>
  182. </table>
  183. <a id="Terminal_Gui_TableView_TableStyle_InvertSelectedCellFirstCharacter_" data-uid="Terminal.Gui.TableView.TableStyle.InvertSelectedCellFirstCharacter*"></a>
  184. <h4 id="Terminal_Gui_TableView_TableStyle_InvertSelectedCellFirstCharacter" data-uid="Terminal.Gui.TableView.TableStyle.InvertSelectedCellFirstCharacter">InvertSelectedCellFirstCharacter</h4>
  185. <div class="markdown level1 summary">
  186. True to invert the colors of the first symbol of the selected cell in the <a class="xref" href="Terminal.Gui.TableView.html">TableView</a>.
  187. This gives the appearance of a cursor for when the <a class="xref" href="Terminal.Gui.ConsoleDriver.html">ConsoleDriver</a> doesn&apos;t otherwise show
  188. this
  189. </div>
  190. <div class="markdown level1 conceptual"></div>
  191. <h5 class="decalaration">Declaration</h5>
  192. <div class="codewrapper">
  193. <pre><code class="lang-csharp hljs">public bool InvertSelectedCellFirstCharacter { get; set; }</code></pre>
  194. </div>
  195. <h5 class="propertyValue">Property Value</h5>
  196. <table class="table table-bordered table-striped table-condensed">
  197. <thead>
  198. <tr>
  199. <th>Type</th>
  200. <th>Description</th>
  201. </tr>
  202. </thead>
  203. <tbody>
  204. <tr>
  205. <td><span class="xref">System.Boolean</span></td>
  206. <td></td>
  207. </tr>
  208. </tbody>
  209. </table>
  210. <a id="Terminal_Gui_TableView_TableStyle_RowColorGetter_" data-uid="Terminal.Gui.TableView.TableStyle.RowColorGetter*"></a>
  211. <h4 id="Terminal_Gui_TableView_TableStyle_RowColorGetter" data-uid="Terminal.Gui.TableView.TableStyle.RowColorGetter">RowColorGetter</h4>
  212. <div class="markdown level1 summary">
  213. Delegate for coloring specific rows in a different color. For cell color <a class="xref" href="Terminal.Gui.TableView.ColumnStyle.html#Terminal_Gui_TableView_ColumnStyle_ColorGetter">ColorGetter</a>
  214. </div>
  215. <div class="markdown level1 conceptual"></div>
  216. <h5 class="decalaration">Declaration</h5>
  217. <div class="codewrapper">
  218. <pre><code class="lang-csharp hljs">public TableView.RowColorGetterDelegate RowColorGetter { get; set; }</code></pre>
  219. </div>
  220. <h5 class="propertyValue">Property Value</h5>
  221. <table class="table table-bordered table-striped table-condensed">
  222. <thead>
  223. <tr>
  224. <th>Type</th>
  225. <th>Description</th>
  226. </tr>
  227. </thead>
  228. <tbody>
  229. <tr>
  230. <td><a class="xref" href="Terminal.Gui.TableView.RowColorGetterDelegate.html">TableView.RowColorGetterDelegate</a></td>
  231. <td></td>
  232. </tr>
  233. </tbody>
  234. </table>
  235. <a id="Terminal_Gui_TableView_TableStyle_ShowHorizontalHeaderOverline_" data-uid="Terminal.Gui.TableView.TableStyle.ShowHorizontalHeaderOverline*"></a>
  236. <h4 id="Terminal_Gui_TableView_TableStyle_ShowHorizontalHeaderOverline" data-uid="Terminal.Gui.TableView.TableStyle.ShowHorizontalHeaderOverline">ShowHorizontalHeaderOverline</h4>
  237. <div class="markdown level1 summary">
  238. True to render a solid line above the headers
  239. </div>
  240. <div class="markdown level1 conceptual"></div>
  241. <h5 class="decalaration">Declaration</h5>
  242. <div class="codewrapper">
  243. <pre><code class="lang-csharp hljs">public bool ShowHorizontalHeaderOverline { get; set; }</code></pre>
  244. </div>
  245. <h5 class="propertyValue">Property Value</h5>
  246. <table class="table table-bordered table-striped table-condensed">
  247. <thead>
  248. <tr>
  249. <th>Type</th>
  250. <th>Description</th>
  251. </tr>
  252. </thead>
  253. <tbody>
  254. <tr>
  255. <td><span class="xref">System.Boolean</span></td>
  256. <td></td>
  257. </tr>
  258. </tbody>
  259. </table>
  260. <a id="Terminal_Gui_TableView_TableStyle_ShowHorizontalHeaderUnderline_" data-uid="Terminal.Gui.TableView.TableStyle.ShowHorizontalHeaderUnderline*"></a>
  261. <h4 id="Terminal_Gui_TableView_TableStyle_ShowHorizontalHeaderUnderline" data-uid="Terminal.Gui.TableView.TableStyle.ShowHorizontalHeaderUnderline">ShowHorizontalHeaderUnderline</h4>
  262. <div class="markdown level1 summary">
  263. True to render a solid line under the headers
  264. </div>
  265. <div class="markdown level1 conceptual"></div>
  266. <h5 class="decalaration">Declaration</h5>
  267. <div class="codewrapper">
  268. <pre><code class="lang-csharp hljs">public bool ShowHorizontalHeaderUnderline { get; set; }</code></pre>
  269. </div>
  270. <h5 class="propertyValue">Property Value</h5>
  271. <table class="table table-bordered table-striped table-condensed">
  272. <thead>
  273. <tr>
  274. <th>Type</th>
  275. <th>Description</th>
  276. </tr>
  277. </thead>
  278. <tbody>
  279. <tr>
  280. <td><span class="xref">System.Boolean</span></td>
  281. <td></td>
  282. </tr>
  283. </tbody>
  284. </table>
  285. <a id="Terminal_Gui_TableView_TableStyle_ShowHorizontalScrollIndicators_" data-uid="Terminal.Gui.TableView.TableStyle.ShowHorizontalScrollIndicators*"></a>
  286. <h4 id="Terminal_Gui_TableView_TableStyle_ShowHorizontalScrollIndicators" data-uid="Terminal.Gui.TableView.TableStyle.ShowHorizontalScrollIndicators">ShowHorizontalScrollIndicators</h4>
  287. <div class="markdown level1 summary">
  288. True to render a arrows on the right/left of the table when
  289. there are more column(s) that can be scrolled to. Requires
  290. <a class="xref" href="Terminal.Gui.TableView.TableStyle.html#Terminal_Gui_TableView_TableStyle_ShowHorizontalHeaderUnderline">ShowHorizontalHeaderUnderline</a> to be true.
  291. Defaults to true
  292. </div>
  293. <div class="markdown level1 conceptual"></div>
  294. <h5 class="decalaration">Declaration</h5>
  295. <div class="codewrapper">
  296. <pre><code class="lang-csharp hljs">public bool ShowHorizontalScrollIndicators { get; set; }</code></pre>
  297. </div>
  298. <h5 class="propertyValue">Property Value</h5>
  299. <table class="table table-bordered table-striped table-condensed">
  300. <thead>
  301. <tr>
  302. <th>Type</th>
  303. <th>Description</th>
  304. </tr>
  305. </thead>
  306. <tbody>
  307. <tr>
  308. <td><span class="xref">System.Boolean</span></td>
  309. <td></td>
  310. </tr>
  311. </tbody>
  312. </table>
  313. <a id="Terminal_Gui_TableView_TableStyle_ShowVerticalCellLines_" data-uid="Terminal.Gui.TableView.TableStyle.ShowVerticalCellLines*"></a>
  314. <h4 id="Terminal_Gui_TableView_TableStyle_ShowVerticalCellLines" data-uid="Terminal.Gui.TableView.TableStyle.ShowVerticalCellLines">ShowVerticalCellLines</h4>
  315. <div class="markdown level1 summary">
  316. True to render a solid line vertical line between cells
  317. </div>
  318. <div class="markdown level1 conceptual"></div>
  319. <h5 class="decalaration">Declaration</h5>
  320. <div class="codewrapper">
  321. <pre><code class="lang-csharp hljs">public bool ShowVerticalCellLines { get; set; }</code></pre>
  322. </div>
  323. <h5 class="propertyValue">Property Value</h5>
  324. <table class="table table-bordered table-striped table-condensed">
  325. <thead>
  326. <tr>
  327. <th>Type</th>
  328. <th>Description</th>
  329. </tr>
  330. </thead>
  331. <tbody>
  332. <tr>
  333. <td><span class="xref">System.Boolean</span></td>
  334. <td></td>
  335. </tr>
  336. </tbody>
  337. </table>
  338. <a id="Terminal_Gui_TableView_TableStyle_ShowVerticalHeaderLines_" data-uid="Terminal.Gui.TableView.TableStyle.ShowVerticalHeaderLines*"></a>
  339. <h4 id="Terminal_Gui_TableView_TableStyle_ShowVerticalHeaderLines" data-uid="Terminal.Gui.TableView.TableStyle.ShowVerticalHeaderLines">ShowVerticalHeaderLines</h4>
  340. <div class="markdown level1 summary">
  341. True to render a solid line vertical line between headers
  342. </div>
  343. <div class="markdown level1 conceptual"></div>
  344. <h5 class="decalaration">Declaration</h5>
  345. <div class="codewrapper">
  346. <pre><code class="lang-csharp hljs">public bool ShowVerticalHeaderLines { get; set; }</code></pre>
  347. </div>
  348. <h5 class="propertyValue">Property Value</h5>
  349. <table class="table table-bordered table-striped table-condensed">
  350. <thead>
  351. <tr>
  352. <th>Type</th>
  353. <th>Description</th>
  354. </tr>
  355. </thead>
  356. <tbody>
  357. <tr>
  358. <td><span class="xref">System.Boolean</span></td>
  359. <td></td>
  360. </tr>
  361. </tbody>
  362. </table>
  363. <a id="Terminal_Gui_TableView_TableStyle_SmoothHorizontalScrolling_" data-uid="Terminal.Gui.TableView.TableStyle.SmoothHorizontalScrolling*"></a>
  364. <h4 id="Terminal_Gui_TableView_TableStyle_SmoothHorizontalScrolling" data-uid="Terminal.Gui.TableView.TableStyle.SmoothHorizontalScrolling">SmoothHorizontalScrolling</h4>
  365. <div class="markdown level1 summary">
  366. <p>
  367. Determines how <a class="xref" href="Terminal.Gui.TableView.html#Terminal_Gui_TableView_ColumnOffset">ColumnOffset</a> is updated when scrolling
  368. right off the end of the currently visible area.
  369. </p>
  370. <p>
  371. If true then when scrolling right the scroll offset is increased the minimum required to show
  372. the new column. This may be slow if you have an incredibly large number of columns in
  373. your table and/or slow <a class="xref" href="Terminal.Gui.TableView.ColumnStyle.html#Terminal_Gui_TableView_ColumnStyle_RepresentationGetter">RepresentationGetter</a> implementations
  374. </p>
  375. <p>
  376. If false then scroll offset is set to the currently selected column (i.e. PageRight).
  377. </p>
  378. </div>
  379. <div class="markdown level1 conceptual"></div>
  380. <h5 class="decalaration">Declaration</h5>
  381. <div class="codewrapper">
  382. <pre><code class="lang-csharp hljs">public bool SmoothHorizontalScrolling { get; set; }</code></pre>
  383. </div>
  384. <h5 class="propertyValue">Property Value</h5>
  385. <table class="table table-bordered table-striped table-condensed">
  386. <thead>
  387. <tr>
  388. <th>Type</th>
  389. <th>Description</th>
  390. </tr>
  391. </thead>
  392. <tbody>
  393. <tr>
  394. <td><span class="xref">System.Boolean</span></td>
  395. <td></td>
  396. </tr>
  397. </tbody>
  398. </table>
  399. <h3 id="methods">Methods
  400. </h3>
  401. <a id="Terminal_Gui_TableView_TableStyle_GetColumnStyleIfAny_" data-uid="Terminal.Gui.TableView.TableStyle.GetColumnStyleIfAny*"></a>
  402. <h4 id="Terminal_Gui_TableView_TableStyle_GetColumnStyleIfAny_System_Data_DataColumn_" data-uid="Terminal.Gui.TableView.TableStyle.GetColumnStyleIfAny(System.Data.DataColumn)">GetColumnStyleIfAny(DataColumn)</h4>
  403. <div class="markdown level1 summary">
  404. Returns the entry from <a class="xref" href="Terminal.Gui.TableView.TableStyle.html#Terminal_Gui_TableView_TableStyle_ColumnStyles">ColumnStyles</a> for the given <code data-dev-comment-type="paramref" class="paramref">col</code> or null if no custom styling is defined for it
  405. </div>
  406. <div class="markdown level1 conceptual"></div>
  407. <h5 class="decalaration">Declaration</h5>
  408. <div class="codewrapper">
  409. <pre><code class="lang-csharp hljs">public TableView.ColumnStyle GetColumnStyleIfAny(DataColumn col)</code></pre>
  410. </div>
  411. <h5 class="parameters">Parameters</h5>
  412. <table class="table table-bordered table-striped table-condensed">
  413. <thead>
  414. <tr>
  415. <th>Type</th>
  416. <th>Name</th>
  417. <th>Description</th>
  418. </tr>
  419. </thead>
  420. <tbody>
  421. <tr>
  422. <td><span class="xref">System.Data.DataColumn</span></td>
  423. <td><span class="parametername">col</span></td>
  424. <td></td>
  425. </tr>
  426. </tbody>
  427. </table>
  428. <h5 class="returns">Returns</h5>
  429. <table class="table table-bordered table-striped table-condensed">
  430. <thead>
  431. <tr>
  432. <th>Type</th>
  433. <th>Description</th>
  434. </tr>
  435. </thead>
  436. <tbody>
  437. <tr>
  438. <td><a class="xref" href="Terminal.Gui.TableView.ColumnStyle.html">TableView.ColumnStyle</a></td>
  439. <td></td>
  440. </tr>
  441. </tbody>
  442. </table>
  443. <a id="Terminal_Gui_TableView_TableStyle_GetOrCreateColumnStyle_" data-uid="Terminal.Gui.TableView.TableStyle.GetOrCreateColumnStyle*"></a>
  444. <h4 id="Terminal_Gui_TableView_TableStyle_GetOrCreateColumnStyle_System_Data_DataColumn_" data-uid="Terminal.Gui.TableView.TableStyle.GetOrCreateColumnStyle(System.Data.DataColumn)">GetOrCreateColumnStyle(DataColumn)</h4>
  445. <div class="markdown level1 summary">
  446. Returns an existing <a class="xref" href="Terminal.Gui.TableView.ColumnStyle.html">TableView.ColumnStyle</a> for the given <code data-dev-comment-type="paramref" class="paramref">col</code> or creates a new one with default options
  447. </div>
  448. <div class="markdown level1 conceptual"></div>
  449. <h5 class="decalaration">Declaration</h5>
  450. <div class="codewrapper">
  451. <pre><code class="lang-csharp hljs">public TableView.ColumnStyle GetOrCreateColumnStyle(DataColumn col)</code></pre>
  452. </div>
  453. <h5 class="parameters">Parameters</h5>
  454. <table class="table table-bordered table-striped table-condensed">
  455. <thead>
  456. <tr>
  457. <th>Type</th>
  458. <th>Name</th>
  459. <th>Description</th>
  460. </tr>
  461. </thead>
  462. <tbody>
  463. <tr>
  464. <td><span class="xref">System.Data.DataColumn</span></td>
  465. <td><span class="parametername">col</span></td>
  466. <td></td>
  467. </tr>
  468. </tbody>
  469. </table>
  470. <h5 class="returns">Returns</h5>
  471. <table class="table table-bordered table-striped table-condensed">
  472. <thead>
  473. <tr>
  474. <th>Type</th>
  475. <th>Description</th>
  476. </tr>
  477. </thead>
  478. <tbody>
  479. <tr>
  480. <td><a class="xref" href="Terminal.Gui.TableView.ColumnStyle.html">TableView.ColumnStyle</a></td>
  481. <td></td>
  482. </tr>
  483. </tbody>
  484. </table>
  485. </article>
  486. </div>
  487. <div class="hidden-sm col-md-2" role="complementary">
  488. <div class="sideaffix">
  489. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  490. <h5>In This Article</h5>
  491. <div></div>
  492. </nav>
  493. </div>
  494. </div>
  495. </div>
  496. </div>
  497. <footer>
  498. <div class="grad-bottom"></div>
  499. <div class="footer">
  500. <div class="container">
  501. <span class="pull-right">
  502. <a href="#top">Back to top</a>
  503. </span>
  504. <span>Generated by <strong>DocFX</strong></span>
  505. </div>
  506. </div>
  507. </footer>
  508. </div>
  509. <script type="text/javascript" src="../../styles/docfx.vendor.js"></script>
  510. <script type="text/javascript" src="../../styles/docfx.js"></script>
  511. <script type="text/javascript" src="../../styles/main.js"></script>
  512. </body>
  513. </html>