Terminal.Gui.Color.html 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541
  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 Color
  8. </title>
  9. <meta name="viewport" content="width=device-width">
  10. <meta name="title" content="Class Color
  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.Color">
  73. <h1 id="Terminal_Gui_Color" data-uid="Terminal.Gui.Color" class="text-break">Class Color
  74. </h1>
  75. <div class="markdown level0 summary">
  76. Basic colors that can be used to set the foreground and background colors in console applications.
  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">Color</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_Color_syntax">Syntax</h5>
  87. <div class="codewrapper">
  88. <pre><code class="lang-csharp hljs">public sealed class Color : Enum</code></pre>
  89. </div>
  90. <h3 id="fields">Fields
  91. </h3>
  92. <h4 id="Terminal_Gui_Color_Black" data-uid="Terminal.Gui.Color.Black">Black</h4>
  93. <div class="markdown level1 summary">
  94. The black color.
  95. </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 const Color Black</code></pre>
  100. </div>
  101. <h5 class="fieldValue">Field Value</h5>
  102. <table class="table table-bordered table-striped table-condensed">
  103. <thead>
  104. <tr>
  105. <th>Type</th>
  106. <th>Description</th>
  107. </tr>
  108. </thead>
  109. <tbody>
  110. <tr>
  111. <td><a class="xref" href="Terminal.Gui.Color.html">Color</a></td>
  112. <td></td>
  113. </tr>
  114. </tbody>
  115. </table>
  116. <h4 id="Terminal_Gui_Color_Blue" data-uid="Terminal.Gui.Color.Blue">Blue</h4>
  117. <div class="markdown level1 summary">
  118. The blue color.
  119. </div>
  120. <div class="markdown level1 conceptual"></div>
  121. <h5 class="decalaration">Declaration</h5>
  122. <div class="codewrapper">
  123. <pre><code class="lang-csharp hljs">public const Color Blue</code></pre>
  124. </div>
  125. <h5 class="fieldValue">Field Value</h5>
  126. <table class="table table-bordered table-striped table-condensed">
  127. <thead>
  128. <tr>
  129. <th>Type</th>
  130. <th>Description</th>
  131. </tr>
  132. </thead>
  133. <tbody>
  134. <tr>
  135. <td><a class="xref" href="Terminal.Gui.Color.html">Color</a></td>
  136. <td></td>
  137. </tr>
  138. </tbody>
  139. </table>
  140. <h4 id="Terminal_Gui_Color_BrightBlue" data-uid="Terminal.Gui.Color.BrightBlue">BrightBlue</h4>
  141. <div class="markdown level1 summary">
  142. The bright bBlue color.
  143. </div>
  144. <div class="markdown level1 conceptual"></div>
  145. <h5 class="decalaration">Declaration</h5>
  146. <div class="codewrapper">
  147. <pre><code class="lang-csharp hljs">public const Color BrightBlue</code></pre>
  148. </div>
  149. <h5 class="fieldValue">Field Value</h5>
  150. <table class="table table-bordered table-striped table-condensed">
  151. <thead>
  152. <tr>
  153. <th>Type</th>
  154. <th>Description</th>
  155. </tr>
  156. </thead>
  157. <tbody>
  158. <tr>
  159. <td><a class="xref" href="Terminal.Gui.Color.html">Color</a></td>
  160. <td></td>
  161. </tr>
  162. </tbody>
  163. </table>
  164. <h4 id="Terminal_Gui_Color_BrightCyan" data-uid="Terminal.Gui.Color.BrightCyan">BrightCyan</h4>
  165. <div class="markdown level1 summary">
  166. The bright cyan color.
  167. </div>
  168. <div class="markdown level1 conceptual"></div>
  169. <h5 class="decalaration">Declaration</h5>
  170. <div class="codewrapper">
  171. <pre><code class="lang-csharp hljs">public const Color BrightCyan</code></pre>
  172. </div>
  173. <h5 class="fieldValue">Field Value</h5>
  174. <table class="table table-bordered table-striped table-condensed">
  175. <thead>
  176. <tr>
  177. <th>Type</th>
  178. <th>Description</th>
  179. </tr>
  180. </thead>
  181. <tbody>
  182. <tr>
  183. <td><a class="xref" href="Terminal.Gui.Color.html">Color</a></td>
  184. <td></td>
  185. </tr>
  186. </tbody>
  187. </table>
  188. <h4 id="Terminal_Gui_Color_BrightGreen" data-uid="Terminal.Gui.Color.BrightGreen">BrightGreen</h4>
  189. <div class="markdown level1 summary">
  190. The bright green color.
  191. </div>
  192. <div class="markdown level1 conceptual"></div>
  193. <h5 class="decalaration">Declaration</h5>
  194. <div class="codewrapper">
  195. <pre><code class="lang-csharp hljs">public const Color BrightGreen</code></pre>
  196. </div>
  197. <h5 class="fieldValue">Field Value</h5>
  198. <table class="table table-bordered table-striped table-condensed">
  199. <thead>
  200. <tr>
  201. <th>Type</th>
  202. <th>Description</th>
  203. </tr>
  204. </thead>
  205. <tbody>
  206. <tr>
  207. <td><a class="xref" href="Terminal.Gui.Color.html">Color</a></td>
  208. <td></td>
  209. </tr>
  210. </tbody>
  211. </table>
  212. <h4 id="Terminal_Gui_Color_BrightMagenta" data-uid="Terminal.Gui.Color.BrightMagenta">BrightMagenta</h4>
  213. <div class="markdown level1 summary">
  214. The bright magenta color.
  215. </div>
  216. <div class="markdown level1 conceptual"></div>
  217. <h5 class="decalaration">Declaration</h5>
  218. <div class="codewrapper">
  219. <pre><code class="lang-csharp hljs">public const Color BrightMagenta</code></pre>
  220. </div>
  221. <h5 class="fieldValue">Field Value</h5>
  222. <table class="table table-bordered table-striped table-condensed">
  223. <thead>
  224. <tr>
  225. <th>Type</th>
  226. <th>Description</th>
  227. </tr>
  228. </thead>
  229. <tbody>
  230. <tr>
  231. <td><a class="xref" href="Terminal.Gui.Color.html">Color</a></td>
  232. <td></td>
  233. </tr>
  234. </tbody>
  235. </table>
  236. <h4 id="Terminal_Gui_Color_BrightRed" data-uid="Terminal.Gui.Color.BrightRed">BrightRed</h4>
  237. <div class="markdown level1 summary">
  238. The bright red color.
  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 const Color BrightRed</code></pre>
  244. </div>
  245. <h5 class="fieldValue">Field 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><a class="xref" href="Terminal.Gui.Color.html">Color</a></td>
  256. <td></td>
  257. </tr>
  258. </tbody>
  259. </table>
  260. <h4 id="Terminal_Gui_Color_BrightYellow" data-uid="Terminal.Gui.Color.BrightYellow">BrightYellow</h4>
  261. <div class="markdown level1 summary">
  262. The bright yellow color.
  263. </div>
  264. <div class="markdown level1 conceptual"></div>
  265. <h5 class="decalaration">Declaration</h5>
  266. <div class="codewrapper">
  267. <pre><code class="lang-csharp hljs">public const Color BrightYellow</code></pre>
  268. </div>
  269. <h5 class="fieldValue">Field Value</h5>
  270. <table class="table table-bordered table-striped table-condensed">
  271. <thead>
  272. <tr>
  273. <th>Type</th>
  274. <th>Description</th>
  275. </tr>
  276. </thead>
  277. <tbody>
  278. <tr>
  279. <td><a class="xref" href="Terminal.Gui.Color.html">Color</a></td>
  280. <td></td>
  281. </tr>
  282. </tbody>
  283. </table>
  284. <h4 id="Terminal_Gui_Color_Brown" data-uid="Terminal.Gui.Color.Brown">Brown</h4>
  285. <div class="markdown level1 summary">
  286. The brown color.
  287. </div>
  288. <div class="markdown level1 conceptual"></div>
  289. <h5 class="decalaration">Declaration</h5>
  290. <div class="codewrapper">
  291. <pre><code class="lang-csharp hljs">public const Color Brown</code></pre>
  292. </div>
  293. <h5 class="fieldValue">Field Value</h5>
  294. <table class="table table-bordered table-striped table-condensed">
  295. <thead>
  296. <tr>
  297. <th>Type</th>
  298. <th>Description</th>
  299. </tr>
  300. </thead>
  301. <tbody>
  302. <tr>
  303. <td><a class="xref" href="Terminal.Gui.Color.html">Color</a></td>
  304. <td></td>
  305. </tr>
  306. </tbody>
  307. </table>
  308. <h4 id="Terminal_Gui_Color_Cyan" data-uid="Terminal.Gui.Color.Cyan">Cyan</h4>
  309. <div class="markdown level1 summary">
  310. The cyan color.
  311. </div>
  312. <div class="markdown level1 conceptual"></div>
  313. <h5 class="decalaration">Declaration</h5>
  314. <div class="codewrapper">
  315. <pre><code class="lang-csharp hljs">public const Color Cyan</code></pre>
  316. </div>
  317. <h5 class="fieldValue">Field Value</h5>
  318. <table class="table table-bordered table-striped table-condensed">
  319. <thead>
  320. <tr>
  321. <th>Type</th>
  322. <th>Description</th>
  323. </tr>
  324. </thead>
  325. <tbody>
  326. <tr>
  327. <td><a class="xref" href="Terminal.Gui.Color.html">Color</a></td>
  328. <td></td>
  329. </tr>
  330. </tbody>
  331. </table>
  332. <h4 id="Terminal_Gui_Color_DarkGray" data-uid="Terminal.Gui.Color.DarkGray">DarkGray</h4>
  333. <div class="markdown level1 summary">
  334. The dark gray color.
  335. </div>
  336. <div class="markdown level1 conceptual"></div>
  337. <h5 class="decalaration">Declaration</h5>
  338. <div class="codewrapper">
  339. <pre><code class="lang-csharp hljs">public const Color DarkGray</code></pre>
  340. </div>
  341. <h5 class="fieldValue">Field Value</h5>
  342. <table class="table table-bordered table-striped table-condensed">
  343. <thead>
  344. <tr>
  345. <th>Type</th>
  346. <th>Description</th>
  347. </tr>
  348. </thead>
  349. <tbody>
  350. <tr>
  351. <td><a class="xref" href="Terminal.Gui.Color.html">Color</a></td>
  352. <td></td>
  353. </tr>
  354. </tbody>
  355. </table>
  356. <h4 id="Terminal_Gui_Color_Gray" data-uid="Terminal.Gui.Color.Gray">Gray</h4>
  357. <div class="markdown level1 summary">
  358. The gray color.
  359. </div>
  360. <div class="markdown level1 conceptual"></div>
  361. <h5 class="decalaration">Declaration</h5>
  362. <div class="codewrapper">
  363. <pre><code class="lang-csharp hljs">public const Color Gray</code></pre>
  364. </div>
  365. <h5 class="fieldValue">Field Value</h5>
  366. <table class="table table-bordered table-striped table-condensed">
  367. <thead>
  368. <tr>
  369. <th>Type</th>
  370. <th>Description</th>
  371. </tr>
  372. </thead>
  373. <tbody>
  374. <tr>
  375. <td><a class="xref" href="Terminal.Gui.Color.html">Color</a></td>
  376. <td></td>
  377. </tr>
  378. </tbody>
  379. </table>
  380. <h4 id="Terminal_Gui_Color_Green" data-uid="Terminal.Gui.Color.Green">Green</h4>
  381. <div class="markdown level1 summary">
  382. The green color.
  383. </div>
  384. <div class="markdown level1 conceptual"></div>
  385. <h5 class="decalaration">Declaration</h5>
  386. <div class="codewrapper">
  387. <pre><code class="lang-csharp hljs">public const Color Green</code></pre>
  388. </div>
  389. <h5 class="fieldValue">Field Value</h5>
  390. <table class="table table-bordered table-striped table-condensed">
  391. <thead>
  392. <tr>
  393. <th>Type</th>
  394. <th>Description</th>
  395. </tr>
  396. </thead>
  397. <tbody>
  398. <tr>
  399. <td><a class="xref" href="Terminal.Gui.Color.html">Color</a></td>
  400. <td></td>
  401. </tr>
  402. </tbody>
  403. </table>
  404. <h4 id="Terminal_Gui_Color_Magenta" data-uid="Terminal.Gui.Color.Magenta">Magenta</h4>
  405. <div class="markdown level1 summary">
  406. The magenta color.
  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 const Color Magenta</code></pre>
  412. </div>
  413. <h5 class="fieldValue">Field 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.Color.html">Color</a></td>
  424. <td></td>
  425. </tr>
  426. </tbody>
  427. </table>
  428. <h4 id="Terminal_Gui_Color_Red" data-uid="Terminal.Gui.Color.Red">Red</h4>
  429. <div class="markdown level1 summary">
  430. The red color.
  431. </div>
  432. <div class="markdown level1 conceptual"></div>
  433. <h5 class="decalaration">Declaration</h5>
  434. <div class="codewrapper">
  435. <pre><code class="lang-csharp hljs">public const Color Red</code></pre>
  436. </div>
  437. <h5 class="fieldValue">Field Value</h5>
  438. <table class="table table-bordered table-striped table-condensed">
  439. <thead>
  440. <tr>
  441. <th>Type</th>
  442. <th>Description</th>
  443. </tr>
  444. </thead>
  445. <tbody>
  446. <tr>
  447. <td><a class="xref" href="Terminal.Gui.Color.html">Color</a></td>
  448. <td></td>
  449. </tr>
  450. </tbody>
  451. </table>
  452. <h4 id="Terminal_Gui_Color_value__" data-uid="Terminal.Gui.Color.value__">value__</h4>
  453. <div class="markdown level1 summary"></div>
  454. <div class="markdown level1 conceptual"></div>
  455. <h5 class="decalaration">Declaration</h5>
  456. <div class="codewrapper">
  457. <pre><code class="lang-csharp hljs">public int value__</code></pre>
  458. </div>
  459. <h5 class="fieldValue">Field Value</h5>
  460. <table class="table table-bordered table-striped table-condensed">
  461. <thead>
  462. <tr>
  463. <th>Type</th>
  464. <th>Description</th>
  465. </tr>
  466. </thead>
  467. <tbody>
  468. <tr>
  469. <td><span class="xref">System.Int32</span></td>
  470. <td></td>
  471. </tr>
  472. </tbody>
  473. </table>
  474. <h4 id="Terminal_Gui_Color_White" data-uid="Terminal.Gui.Color.White">White</h4>
  475. <div class="markdown level1 summary">
  476. The White color.
  477. </div>
  478. <div class="markdown level1 conceptual"></div>
  479. <h5 class="decalaration">Declaration</h5>
  480. <div class="codewrapper">
  481. <pre><code class="lang-csharp hljs">public const Color White</code></pre>
  482. </div>
  483. <h5 class="fieldValue">Field Value</h5>
  484. <table class="table table-bordered table-striped table-condensed">
  485. <thead>
  486. <tr>
  487. <th>Type</th>
  488. <th>Description</th>
  489. </tr>
  490. </thead>
  491. <tbody>
  492. <tr>
  493. <td><a class="xref" href="Terminal.Gui.Color.html">Color</a></td>
  494. <td></td>
  495. </tr>
  496. </tbody>
  497. </table>
  498. </article>
  499. </div>
  500. <div class="hidden-sm col-md-2" role="complementary">
  501. <div class="sideaffix">
  502. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  503. <h5>In This Article</h5>
  504. <div></div>
  505. </nav>
  506. </div>
  507. </div>
  508. </div>
  509. </div>
  510. <footer>
  511. <div class="grad-bottom"></div>
  512. <div class="footer">
  513. <div class="container">
  514. <span class="pull-right">
  515. <a href="#top">Back to top</a>
  516. </span>
  517. <span>Generated by <strong>DocFX</strong></span>
  518. </div>
  519. </div>
  520. </footer>
  521. </div>
  522. <script type="text/javascript" src="../../styles/docfx.vendor.js"></script>
  523. <script type="text/javascript" src="../../styles/docfx.js"></script>
  524. <script type="text/javascript" src="../../styles/main.js"></script>
  525. </body>
  526. </html>