Terminal.Gui.Color.html 17 KB

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