Terminal.Gui.ColorScheme.html 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560
  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 ColorScheme
  8. </title>
  9. <meta name="viewport" content="width=device-width">
  10. <meta name="title" content="Class ColorScheme
  11. ">
  12. <link rel="shortcut icon" href="../../favicon.ico">
  13. <link rel="stylesheet" href="../../styles/docfx.vendor.min.css">
  14. <link rel="stylesheet" href="../../styles/docfx.css">
  15. <link rel="stylesheet" href="../../styles/main.css">
  16. <meta property="docfx:navrel" content="../../toc.html">
  17. <meta property="docfx:tocrel" content="toc.html">
  18. <meta property="docfx:rel" content="../../">
  19. </head>
  20. <body data-spy="scroll" data-target="#affix" data-offset="120">
  21. <div id="wrapper">
  22. <header>
  23. <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
  24. <div class="container">
  25. <div class="navbar-header">
  26. <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
  27. <span class="sr-only">Toggle navigation</span>
  28. <span class="icon-bar"></span>
  29. <span class="icon-bar"></span>
  30. <span class="icon-bar"></span>
  31. </button>
  32. <a class="navbar-brand" href="../../index.html">
  33. <img id="logo" class="svg" src="../../images/logo48.png" alt="">
  34. </a>
  35. </div>
  36. <div class="collapse navbar-collapse" id="navbar">
  37. <form class="navbar-form navbar-right" role="search" id="search">
  38. <div class="form-group">
  39. <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
  40. </div>
  41. </form>
  42. </div>
  43. </div>
  44. </nav>
  45. <div class="subnav navbar navbar-default">
  46. <div class="container hide-when-search" id="breadcrumb">
  47. <ul class="breadcrumb">
  48. <li></li>
  49. </ul>
  50. </div>
  51. </div>
  52. </header>
  53. <div class="container body-content">
  54. <div id="search-results">
  55. <div class="search-list">Search Results for <span></span></div>
  56. <div class="sr-items">
  57. <p><i class="glyphicon glyphicon-refresh index-loading"></i></p>
  58. </div>
  59. <ul id="pagination" data-first="First" data-prev="Previous" data-next="Next" data-last="Last"></ul>
  60. </div>
  61. </div>
  62. <div role="main" class="container body-content hide-when-search">
  63. <div class="sidenav hide-when-search">
  64. <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
  65. <div class="sidetoggle collapse" id="sidetoggle">
  66. <div id="sidetoc"></div>
  67. </div>
  68. </div>
  69. <div class="article row grid-right">
  70. <div class="col-md-10">
  71. <article class="content wrap" id="_content" data-uid="Terminal.Gui.ColorScheme">
  72. <h1 id="Terminal_Gui_ColorScheme" data-uid="Terminal.Gui.ColorScheme" class="text-break">Class ColorScheme
  73. </h1>
  74. <div class="markdown level0 summary">Defines the color <a class="xref" href="Terminal.Gui.Attribute.html">Attribute</a>s for common visible elements in a <a class="xref" href="Terminal.Gui.View.html">View</a>.
  75. Containers such as <a class="xref" href="Terminal.Gui.Window.html">Window</a> and <a class="xref" href="Terminal.Gui.FrameView.html">FrameView</a> use <a class="xref" href="Terminal.Gui.ColorScheme.html">ColorScheme</a> to determine
  76. the colors used by sub-views.</div>
  77. <div class="markdown level0 conceptual"></div>
  78. <div class="inheritance">
  79. <h5>Inheritance</h5>
  80. <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
  81. <div class="level1"><span class="xref">ColorScheme</span></div>
  82. </div>
  83. <div class="implements">
  84. <h5>Implements</h5>
  85. <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.iequatable-1">IEquatable</a>&lt;<a class="xref" href="Terminal.Gui.ColorScheme.html">ColorScheme</a>&gt;</div>
  86. </div>
  87. <div class="inheritedMembers">
  88. <h5>Inherited Members</h5>
  89. <div>
  90. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">object.Equals(object, object)</a>
  91. </div>
  92. <div>
  93. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gettype">object.GetType()</a>
  94. </div>
  95. <div>
  96. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone">object.MemberwiseClone()</a>
  97. </div>
  98. <div>
  99. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.referenceequals">object.ReferenceEquals(object, object)</a>
  100. </div>
  101. <div>
  102. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.tostring">object.ToString()</a>
  103. </div>
  104. </div>
  105. <h6><strong>Namespace</strong>: <a class="xref" href="Terminal.html">Terminal</a>.<a class="xref" href="Terminal.Gui.html">Gui</a></h6>
  106. <h6><strong>Assembly</strong>: Terminal.Gui.dll</h6>
  107. <h5 id="Terminal_Gui_ColorScheme_syntax">Syntax</h5>
  108. <div class="codewrapper">
  109. <pre><code class="lang-csharp hljs">public class ColorScheme : IEquatable&lt;ColorScheme&gt;</code></pre>
  110. </div>
  111. <h5 id="Terminal_Gui_ColorScheme_remarks"><strong>Remarks</strong></h5>
  112. <div class="markdown level0 remarks">See also: <a class="xref" href="Terminal.Gui.Colors.html#Terminal_Gui_Colors_ColorSchemes">ColorSchemes</a>.</div>
  113. <h3 id="properties">Properties
  114. </h3>
  115. <span class="small pull-right mobile-hide">
  116. <span class="divider">|</span>
  117. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ColorScheme_Disabled.md&amp;value=---%0Auid%3A%20Terminal.Gui.ColorScheme.Disabled%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
  118. </span>
  119. <span class="small pull-right mobile-hide">
  120. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Core/ConsoleDriver.cs/#L391">View Source</a>
  121. </span>
  122. <a id="Terminal_Gui_ColorScheme_Disabled_" data-uid="Terminal.Gui.ColorScheme.Disabled*"></a>
  123. <h4 id="Terminal_Gui_ColorScheme_Disabled" data-uid="Terminal.Gui.ColorScheme.Disabled">Disabled</h4>
  124. <div class="markdown level1 summary">The default foreground and background color for text, when the view is disabled.</div>
  125. <div class="markdown level1 conceptual"></div>
  126. <h5 class="declaration">Declaration</h5>
  127. <div class="codewrapper">
  128. <pre><code class="lang-csharp hljs">public Attribute Disabled { get; set; }</code></pre>
  129. </div>
  130. <h5 class="propertyValue">Property Value</h5>
  131. <table class="table table-bordered table-condensed">
  132. <thead>
  133. <tr>
  134. <th>Type</th>
  135. <th>Description</th>
  136. </tr>
  137. </thead>
  138. <tbody>
  139. <tr>
  140. <td><a class="xref" href="Terminal.Gui.Attribute.html">Attribute</a></td>
  141. <td></td>
  142. </tr>
  143. </tbody>
  144. </table>
  145. <span class="small pull-right mobile-hide">
  146. <span class="divider">|</span>
  147. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ColorScheme_Focus.md&amp;value=---%0Auid%3A%20Terminal.Gui.ColorScheme.Focus%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
  148. </span>
  149. <span class="small pull-right mobile-hide">
  150. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Core/ConsoleDriver.cs/#L352">View Source</a>
  151. </span>
  152. <a id="Terminal_Gui_ColorScheme_Focus_" data-uid="Terminal.Gui.ColorScheme.Focus*"></a>
  153. <h4 id="Terminal_Gui_ColorScheme_Focus" data-uid="Terminal.Gui.ColorScheme.Focus">Focus</h4>
  154. <div class="markdown level1 summary">The foreground and background color for text when the view has the focus.</div>
  155. <div class="markdown level1 conceptual"></div>
  156. <h5 class="declaration">Declaration</h5>
  157. <div class="codewrapper">
  158. <pre><code class="lang-csharp hljs">public Attribute Focus { get; set; }</code></pre>
  159. </div>
  160. <h5 class="propertyValue">Property Value</h5>
  161. <table class="table table-bordered table-condensed">
  162. <thead>
  163. <tr>
  164. <th>Type</th>
  165. <th>Description</th>
  166. </tr>
  167. </thead>
  168. <tbody>
  169. <tr>
  170. <td><a class="xref" href="Terminal.Gui.Attribute.html">Attribute</a></td>
  171. <td></td>
  172. </tr>
  173. </tbody>
  174. </table>
  175. <span class="small pull-right mobile-hide">
  176. <span class="divider">|</span>
  177. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ColorScheme_HotFocus.md&amp;value=---%0Auid%3A%20Terminal.Gui.ColorScheme.HotFocus%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
  178. </span>
  179. <span class="small pull-right mobile-hide">
  180. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Core/ConsoleDriver.cs/#L378">View Source</a>
  181. </span>
  182. <a id="Terminal_Gui_ColorScheme_HotFocus_" data-uid="Terminal.Gui.ColorScheme.HotFocus*"></a>
  183. <h4 id="Terminal_Gui_ColorScheme_HotFocus" data-uid="Terminal.Gui.ColorScheme.HotFocus">HotFocus</h4>
  184. <div class="markdown level1 summary">The foreground and background color for text when the view is highlighted (hot) and has focus.</div>
  185. <div class="markdown level1 conceptual"></div>
  186. <h5 class="declaration">Declaration</h5>
  187. <div class="codewrapper">
  188. <pre><code class="lang-csharp hljs">public Attribute HotFocus { get; set; }</code></pre>
  189. </div>
  190. <h5 class="propertyValue">Property Value</h5>
  191. <table class="table table-bordered table-condensed">
  192. <thead>
  193. <tr>
  194. <th>Type</th>
  195. <th>Description</th>
  196. </tr>
  197. </thead>
  198. <tbody>
  199. <tr>
  200. <td><a class="xref" href="Terminal.Gui.Attribute.html">Attribute</a></td>
  201. <td></td>
  202. </tr>
  203. </tbody>
  204. </table>
  205. <span class="small pull-right mobile-hide">
  206. <span class="divider">|</span>
  207. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ColorScheme_HotNormal.md&amp;value=---%0Auid%3A%20Terminal.Gui.ColorScheme.HotNormal%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
  208. </span>
  209. <span class="small pull-right mobile-hide">
  210. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Core/ConsoleDriver.cs/#L365">View Source</a>
  211. </span>
  212. <a id="Terminal_Gui_ColorScheme_HotNormal_" data-uid="Terminal.Gui.ColorScheme.HotNormal*"></a>
  213. <h4 id="Terminal_Gui_ColorScheme_HotNormal" data-uid="Terminal.Gui.ColorScheme.HotNormal">HotNormal</h4>
  214. <div class="markdown level1 summary">The foreground and background color for text when the view is highlighted (hot).</div>
  215. <div class="markdown level1 conceptual"></div>
  216. <h5 class="declaration">Declaration</h5>
  217. <div class="codewrapper">
  218. <pre><code class="lang-csharp hljs">public Attribute HotNormal { get; set; }</code></pre>
  219. </div>
  220. <h5 class="propertyValue">Property Value</h5>
  221. <table class="table table-bordered 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.Attribute.html">Attribute</a></td>
  231. <td></td>
  232. </tr>
  233. </tbody>
  234. </table>
  235. <span class="small pull-right mobile-hide">
  236. <span class="divider">|</span>
  237. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ColorScheme_Normal.md&amp;value=---%0Auid%3A%20Terminal.Gui.ColorScheme.Normal%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
  238. </span>
  239. <span class="small pull-right mobile-hide">
  240. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Core/ConsoleDriver.cs/#L339">View Source</a>
  241. </span>
  242. <a id="Terminal_Gui_ColorScheme_Normal_" data-uid="Terminal.Gui.ColorScheme.Normal*"></a>
  243. <h4 id="Terminal_Gui_ColorScheme_Normal" data-uid="Terminal.Gui.ColorScheme.Normal">Normal</h4>
  244. <div class="markdown level1 summary">The foreground and background color for text when the view is not focused, hot, or disabled.</div>
  245. <div class="markdown level1 conceptual"></div>
  246. <h5 class="declaration">Declaration</h5>
  247. <div class="codewrapper">
  248. <pre><code class="lang-csharp hljs">public Attribute Normal { get; set; }</code></pre>
  249. </div>
  250. <h5 class="propertyValue">Property Value</h5>
  251. <table class="table table-bordered table-condensed">
  252. <thead>
  253. <tr>
  254. <th>Type</th>
  255. <th>Description</th>
  256. </tr>
  257. </thead>
  258. <tbody>
  259. <tr>
  260. <td><a class="xref" href="Terminal.Gui.Attribute.html">Attribute</a></td>
  261. <td></td>
  262. </tr>
  263. </tbody>
  264. </table>
  265. <h3 id="methods">Methods
  266. </h3>
  267. <span class="small pull-right mobile-hide">
  268. <span class="divider">|</span>
  269. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ColorScheme_Equals_System_Object_.md&amp;value=---%0Auid%3A%20Terminal.Gui.ColorScheme.Equals(System.Object)%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
  270. </span>
  271. <span class="small pull-right mobile-hide">
  272. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Core/ConsoleDriver.cs/#L406">View Source</a>
  273. </span>
  274. <a id="Terminal_Gui_ColorScheme_Equals_" data-uid="Terminal.Gui.ColorScheme.Equals*"></a>
  275. <h4 id="Terminal_Gui_ColorScheme_Equals_System_Object_" data-uid="Terminal.Gui.ColorScheme.Equals(System.Object)">Equals(object)</h4>
  276. <div class="markdown level1 summary">Compares two <a class="xref" href="Terminal.Gui.ColorScheme.html">ColorScheme</a> objects for equality.</div>
  277. <div class="markdown level1 conceptual"></div>
  278. <h5 class="declaration">Declaration</h5>
  279. <div class="codewrapper">
  280. <pre><code class="lang-csharp hljs">public override bool Equals(object obj)</code></pre>
  281. </div>
  282. <h5 class="parameters">Parameters</h5>
  283. <table class="table table-bordered table-condensed">
  284. <thead>
  285. <tr>
  286. <th>Type</th>
  287. <th>Name</th>
  288. <th>Description</th>
  289. </tr>
  290. </thead>
  291. <tbody>
  292. <tr>
  293. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></td>
  294. <td><span class="parametername">obj</span></td>
  295. <td></td>
  296. </tr>
  297. </tbody>
  298. </table>
  299. <h5 class="returns">Returns</h5>
  300. <table class="table table-bordered table-condensed">
  301. <thead>
  302. <tr>
  303. <th>Type</th>
  304. <th>Description</th>
  305. </tr>
  306. </thead>
  307. <tbody>
  308. <tr>
  309. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
  310. <td>true if the two objects are equal</td>
  311. </tr>
  312. </tbody>
  313. </table>
  314. <h5 class="overrides">Overrides</h5>
  315. <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">object.Equals(object)</a></div>
  316. <span class="small pull-right mobile-hide">
  317. <span class="divider">|</span>
  318. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ColorScheme_Equals_Terminal_Gui_ColorScheme_.md&amp;value=---%0Auid%3A%20Terminal.Gui.ColorScheme.Equals(Terminal.Gui.ColorScheme)%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
  319. </span>
  320. <span class="small pull-right mobile-hide">
  321. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Core/ConsoleDriver.cs/#L416">View Source</a>
  322. </span>
  323. <a id="Terminal_Gui_ColorScheme_Equals_" data-uid="Terminal.Gui.ColorScheme.Equals*"></a>
  324. <h4 id="Terminal_Gui_ColorScheme_Equals_Terminal_Gui_ColorScheme_" data-uid="Terminal.Gui.ColorScheme.Equals(Terminal.Gui.ColorScheme)">Equals(ColorScheme)</h4>
  325. <div class="markdown level1 summary">Compares two <a class="xref" href="Terminal.Gui.ColorScheme.html">ColorScheme</a> objects for equality.</div>
  326. <div class="markdown level1 conceptual"></div>
  327. <h5 class="declaration">Declaration</h5>
  328. <div class="codewrapper">
  329. <pre><code class="lang-csharp hljs">public bool Equals(ColorScheme other)</code></pre>
  330. </div>
  331. <h5 class="parameters">Parameters</h5>
  332. <table class="table table-bordered table-condensed">
  333. <thead>
  334. <tr>
  335. <th>Type</th>
  336. <th>Name</th>
  337. <th>Description</th>
  338. </tr>
  339. </thead>
  340. <tbody>
  341. <tr>
  342. <td><a class="xref" href="Terminal.Gui.ColorScheme.html">ColorScheme</a></td>
  343. <td><span class="parametername">other</span></td>
  344. <td></td>
  345. </tr>
  346. </tbody>
  347. </table>
  348. <h5 class="returns">Returns</h5>
  349. <table class="table table-bordered table-condensed">
  350. <thead>
  351. <tr>
  352. <th>Type</th>
  353. <th>Description</th>
  354. </tr>
  355. </thead>
  356. <tbody>
  357. <tr>
  358. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
  359. <td>true if the two objects are equal</td>
  360. </tr>
  361. </tbody>
  362. </table>
  363. <span class="small pull-right mobile-hide">
  364. <span class="divider">|</span>
  365. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ColorScheme_GetHashCode.md&amp;value=---%0Auid%3A%20Terminal.Gui.ColorScheme.GetHashCode%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
  366. </span>
  367. <span class="small pull-right mobile-hide">
  368. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Core/ConsoleDriver.cs/#L430">View Source</a>
  369. </span>
  370. <a id="Terminal_Gui_ColorScheme_GetHashCode_" data-uid="Terminal.Gui.ColorScheme.GetHashCode*"></a>
  371. <h4 id="Terminal_Gui_ColorScheme_GetHashCode" data-uid="Terminal.Gui.ColorScheme.GetHashCode">GetHashCode()</h4>
  372. <div class="markdown level1 summary">Returns a hashcode for this instance.</div>
  373. <div class="markdown level1 conceptual"></div>
  374. <h5 class="declaration">Declaration</h5>
  375. <div class="codewrapper">
  376. <pre><code class="lang-csharp hljs">public override int GetHashCode()</code></pre>
  377. </div>
  378. <h5 class="returns">Returns</h5>
  379. <table class="table table-bordered table-condensed">
  380. <thead>
  381. <tr>
  382. <th>Type</th>
  383. <th>Description</th>
  384. </tr>
  385. </thead>
  386. <tbody>
  387. <tr>
  388. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
  389. <td>hashcode for this instance</td>
  390. </tr>
  391. </tbody>
  392. </table>
  393. <h5 class="overrides">Overrides</h5>
  394. <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gethashcode">object.GetHashCode()</a></div>
  395. <h3 id="operators">Operators
  396. </h3>
  397. <span class="small pull-right mobile-hide">
  398. <span class="divider">|</span>
  399. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ColorScheme_op_Equality_Terminal_Gui_ColorScheme_Terminal_Gui_ColorScheme_.md&amp;value=---%0Auid%3A%20Terminal.Gui.ColorScheme.op_Equality(Terminal.Gui.ColorScheme%2CTerminal.Gui.ColorScheme)%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
  400. </span>
  401. <span class="small pull-right mobile-hide">
  402. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Core/ConsoleDriver.cs/#L447">View Source</a>
  403. </span>
  404. <a id="Terminal_Gui_ColorScheme_op_Equality_" data-uid="Terminal.Gui.ColorScheme.op_Equality*"></a>
  405. <h4 id="Terminal_Gui_ColorScheme_op_Equality_Terminal_Gui_ColorScheme_Terminal_Gui_ColorScheme_" data-uid="Terminal.Gui.ColorScheme.op_Equality(Terminal.Gui.ColorScheme,Terminal.Gui.ColorScheme)">operator ==(ColorScheme, ColorScheme)</h4>
  406. <div class="markdown level1 summary">Compares two <a class="xref" href="Terminal.Gui.ColorScheme.html">ColorScheme</a> objects for equality.</div>
  407. <div class="markdown level1 conceptual"></div>
  408. <h5 class="declaration">Declaration</h5>
  409. <div class="codewrapper">
  410. <pre><code class="lang-csharp hljs">public static bool operator ==(ColorScheme left, ColorScheme right)</code></pre>
  411. </div>
  412. <h5 class="parameters">Parameters</h5>
  413. <table class="table table-bordered table-condensed">
  414. <thead>
  415. <tr>
  416. <th>Type</th>
  417. <th>Name</th>
  418. <th>Description</th>
  419. </tr>
  420. </thead>
  421. <tbody>
  422. <tr>
  423. <td><a class="xref" href="Terminal.Gui.ColorScheme.html">ColorScheme</a></td>
  424. <td><span class="parametername">left</span></td>
  425. <td></td>
  426. </tr>
  427. <tr>
  428. <td><a class="xref" href="Terminal.Gui.ColorScheme.html">ColorScheme</a></td>
  429. <td><span class="parametername">right</span></td>
  430. <td></td>
  431. </tr>
  432. </tbody>
  433. </table>
  434. <h5 class="returns">Returns</h5>
  435. <table class="table table-bordered table-condensed">
  436. <thead>
  437. <tr>
  438. <th>Type</th>
  439. <th>Description</th>
  440. </tr>
  441. </thead>
  442. <tbody>
  443. <tr>
  444. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
  445. <td><code>true</code> if the two objects are equivalent</td>
  446. </tr>
  447. </tbody>
  448. </table>
  449. <span class="small pull-right mobile-hide">
  450. <span class="divider">|</span>
  451. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ColorScheme_op_Inequality_Terminal_Gui_ColorScheme_Terminal_Gui_ColorScheme_.md&amp;value=---%0Auid%3A%20Terminal.Gui.ColorScheme.op_Inequality(Terminal.Gui.ColorScheme%2CTerminal.Gui.ColorScheme)%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
  452. </span>
  453. <span class="small pull-right mobile-hide">
  454. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Core/ConsoleDriver.cs/#L458">View Source</a>
  455. </span>
  456. <a id="Terminal_Gui_ColorScheme_op_Inequality_" data-uid="Terminal.Gui.ColorScheme.op_Inequality*"></a>
  457. <h4 id="Terminal_Gui_ColorScheme_op_Inequality_Terminal_Gui_ColorScheme_Terminal_Gui_ColorScheme_" data-uid="Terminal.Gui.ColorScheme.op_Inequality(Terminal.Gui.ColorScheme,Terminal.Gui.ColorScheme)">operator !=(ColorScheme, ColorScheme)</h4>
  458. <div class="markdown level1 summary">Compares two <a class="xref" href="Terminal.Gui.ColorScheme.html">ColorScheme</a> objects for inequality.</div>
  459. <div class="markdown level1 conceptual"></div>
  460. <h5 class="declaration">Declaration</h5>
  461. <div class="codewrapper">
  462. <pre><code class="lang-csharp hljs">public static bool operator !=(ColorScheme left, ColorScheme right)</code></pre>
  463. </div>
  464. <h5 class="parameters">Parameters</h5>
  465. <table class="table table-bordered table-condensed">
  466. <thead>
  467. <tr>
  468. <th>Type</th>
  469. <th>Name</th>
  470. <th>Description</th>
  471. </tr>
  472. </thead>
  473. <tbody>
  474. <tr>
  475. <td><a class="xref" href="Terminal.Gui.ColorScheme.html">ColorScheme</a></td>
  476. <td><span class="parametername">left</span></td>
  477. <td></td>
  478. </tr>
  479. <tr>
  480. <td><a class="xref" href="Terminal.Gui.ColorScheme.html">ColorScheme</a></td>
  481. <td><span class="parametername">right</span></td>
  482. <td></td>
  483. </tr>
  484. </tbody>
  485. </table>
  486. <h5 class="returns">Returns</h5>
  487. <table class="table table-bordered table-condensed">
  488. <thead>
  489. <tr>
  490. <th>Type</th>
  491. <th>Description</th>
  492. </tr>
  493. </thead>
  494. <tbody>
  495. <tr>
  496. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
  497. <td><code>true</code> if the two objects are not equivalent</td>
  498. </tr>
  499. </tbody>
  500. </table>
  501. <h3 id="implements">Implements</h3>
  502. <div>
  503. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.iequatable-1">IEquatable&lt;T&gt;</a>
  504. </div>
  505. </article>
  506. </div>
  507. <div class="hidden-sm col-md-2" role="complementary">
  508. <div class="sideaffix">
  509. <div class="contribution">
  510. <ul class="nav">
  511. <li>
  512. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ColorScheme.md&amp;value=---%0Auid%3A%20Terminal.Gui.ColorScheme%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" class="contribution-link">Edit this page</a>
  513. </li>
  514. <li>
  515. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Core/ConsoleDriver.cs/#L323" class="contribution-link">View Source</a>
  516. </li>
  517. </ul>
  518. </div>
  519. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  520. <h5>In this article</h5>
  521. <div></div>
  522. </nav>
  523. </div>
  524. </div>
  525. </div>
  526. </div>
  527. <footer>
  528. <div class="grad-bottom"></div>
  529. <div class="footer">
  530. <div class="container">
  531. <span class="pull-right">
  532. <a href="#top">Back to top</a>
  533. </span>
  534. <span>Generated by <strong>DocFX</strong></span>
  535. </div>
  536. </div>
  537. </footer>
  538. </div>
  539. <script type="text/javascript" src="../../styles/docfx.vendor.min.js"></script>
  540. <script type="text/javascript" src="../../styles/docfx.js"></script>
  541. <script type="text/javascript" src="../../styles/main.js"></script>
  542. </body>
  543. </html>