Terminal.Gui.ColorPicker.html 53 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109
  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 ColorPicker
  8. </title>
  9. <meta name="viewport" content="width=device-width">
  10. <meta name="title" content="Class ColorPicker
  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.ColorPicker">
  72. <h1 id="Terminal_Gui_ColorPicker" data-uid="Terminal.Gui.ColorPicker" class="text-break">Class ColorPicker
  73. </h1>
  74. <div class="markdown level0 summary">The <a class="xref" href="Terminal.Gui.ColorPicker.html">ColorPicker</a> <a class="xref" href="Terminal.Gui.View.html">View</a> Color picker.</div>
  75. <div class="markdown level0 conceptual"></div>
  76. <div class="inheritance">
  77. <h5>Inheritance</h5>
  78. <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
  79. <div class="level1"><a class="xref" href="Terminal.Gui.Responder.html">Responder</a></div>
  80. <div class="level2"><a class="xref" href="Terminal.Gui.View.html">View</a></div>
  81. <div class="level3"><span class="xref">ColorPicker</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.idisposable">IDisposable</a></div>
  86. <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.isupportinitializenotification">ISupportInitializeNotification</a></div>
  87. <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.isupportinitialize">ISupportInitialize</a></div>
  88. </div>
  89. <div class="inheritedMembers">
  90. <h5>Inherited Members</h5>
  91. <div>
  92. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Added">View.Added</a>
  93. </div>
  94. <div>
  95. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Removed">View.Removed</a>
  96. </div>
  97. <div>
  98. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Enter">View.Enter</a>
  99. </div>
  100. <div>
  101. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Leave">View.Leave</a>
  102. </div>
  103. <div>
  104. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_MouseEnter">View.MouseEnter</a>
  105. </div>
  106. <div>
  107. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_MouseLeave">View.MouseLeave</a>
  108. </div>
  109. <div>
  110. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_MouseClick">View.MouseClick</a>
  111. </div>
  112. <div>
  113. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_CanFocusChanged">View.CanFocusChanged</a>
  114. </div>
  115. <div>
  116. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_EnabledChanged">View.EnabledChanged</a>
  117. </div>
  118. <div>
  119. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_VisibleChanged">View.VisibleChanged</a>
  120. </div>
  121. <div>
  122. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_HotKeyChanged">View.HotKeyChanged</a>
  123. </div>
  124. <div>
  125. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_HotKey">View.HotKey</a>
  126. </div>
  127. <div>
  128. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_HotKeySpecifier">View.HotKeySpecifier</a>
  129. </div>
  130. <div>
  131. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Shortcut">View.Shortcut</a>
  132. </div>
  133. <div>
  134. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ShortcutTag">View.ShortcutTag</a>
  135. </div>
  136. <div>
  137. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ShortcutAction">View.ShortcutAction</a>
  138. </div>
  139. <div>
  140. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Data">View.Data</a>
  141. </div>
  142. <div>
  143. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Driver">View.Driver</a>
  144. </div>
  145. <div>
  146. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Subviews">View.Subviews</a>
  147. </div>
  148. <div>
  149. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TabIndexes">View.TabIndexes</a>
  150. </div>
  151. <div>
  152. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TabIndex">View.TabIndex</a>
  153. </div>
  154. <div>
  155. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TabStop">View.TabStop</a>
  156. </div>
  157. <div>
  158. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_CanFocus">View.CanFocus</a>
  159. </div>
  160. <div>
  161. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Id">View.Id</a>
  162. </div>
  163. <div>
  164. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_IsCurrentTop">View.IsCurrentTop</a>
  165. </div>
  166. <div>
  167. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_WantMousePositionReports">View.WantMousePositionReports</a>
  168. </div>
  169. <div>
  170. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_WantContinuousButtonPressed">View.WantContinuousButtonPressed</a>
  171. </div>
  172. <div>
  173. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Frame">View.Frame</a>
  174. </div>
  175. <div>
  176. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutStyle">View.LayoutStyle</a>
  177. </div>
  178. <div>
  179. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Bounds">View.Bounds</a>
  180. </div>
  181. <div>
  182. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_X">View.X</a>
  183. </div>
  184. <div>
  185. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Y">View.Y</a>
  186. </div>
  187. <div>
  188. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Width">View.Width</a>
  189. </div>
  190. <div>
  191. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Height">View.Height</a>
  192. </div>
  193. <div>
  194. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ForceValidatePosDim">View.ForceValidatePosDim</a>
  195. </div>
  196. <div>
  197. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetMinWidthHeight_Terminal_Gui_Size__">View.GetMinWidthHeight(out Size)</a>
  198. </div>
  199. <div>
  200. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetMinWidthHeight">View.SetMinWidthHeight()</a>
  201. </div>
  202. <div>
  203. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TextFormatter">View.TextFormatter</a>
  204. </div>
  205. <div>
  206. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SuperView">View.SuperView</a>
  207. </div>
  208. <div>
  209. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_UpdateTextFormatterText">View.UpdateTextFormatterText()</a>
  210. </div>
  211. <div>
  212. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ProcessResizeView">View.ProcessResizeView()</a>
  213. </div>
  214. <div>
  215. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetNeedsDisplay">View.SetNeedsDisplay()</a>
  216. </div>
  217. <div>
  218. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearLayoutNeeded">View.ClearLayoutNeeded()</a>
  219. </div>
  220. <div>
  221. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetNeedsDisplay_Terminal_Gui_Rect_">View.SetNeedsDisplay(Rect)</a>
  222. </div>
  223. <div>
  224. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetChildNeedsDisplay">View.SetChildNeedsDisplay()</a>
  225. </div>
  226. <div>
  227. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Add_Terminal_Gui_View_">View.Add(View)</a>
  228. </div>
  229. <div>
  230. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Add_Terminal_Gui_View___">View.Add(params View[])</a>
  231. </div>
  232. <div>
  233. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_RemoveAll">View.RemoveAll()</a>
  234. </div>
  235. <div>
  236. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Remove_Terminal_Gui_View_">View.Remove(View)</a>
  237. </div>
  238. <div>
  239. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_BringSubviewToFront_Terminal_Gui_View_">View.BringSubviewToFront(View)</a>
  240. </div>
  241. <div>
  242. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SendSubviewToBack_Terminal_Gui_View_">View.SendSubviewToBack(View)</a>
  243. </div>
  244. <div>
  245. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SendSubviewBackwards_Terminal_Gui_View_">View.SendSubviewBackwards(View)</a>
  246. </div>
  247. <div>
  248. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_BringSubviewForward_Terminal_Gui_View_">View.BringSubviewForward(View)</a>
  249. </div>
  250. <div>
  251. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Clear">View.Clear()</a>
  252. </div>
  253. <div>
  254. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Clear_Terminal_Gui_Rect_">View.Clear(Rect)</a>
  255. </div>
  256. <div>
  257. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ScreenToView_System_Int32_System_Int32_">View.ScreenToView(int, int)</a>
  258. </div>
  259. <div>
  260. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClipToBounds">View.ClipToBounds()</a>
  261. </div>
  262. <div>
  263. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetClip_Terminal_Gui_Rect_">View.SetClip(Rect)</a>
  264. </div>
  265. <div>
  266. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_DrawFrame_Terminal_Gui_Rect_System_Int32_System_Boolean_">View.DrawFrame(Rect, int, bool)</a>
  267. </div>
  268. <div>
  269. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_DrawHotString_NStack_ustring_Terminal_Gui_Attribute_Terminal_Gui_Attribute_">View.DrawHotString(ustring, Attribute, Attribute)</a>
  270. </div>
  271. <div>
  272. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_DrawHotString_NStack_ustring_System_Boolean_Terminal_Gui_ColorScheme_">View.DrawHotString(ustring, bool, ColorScheme)</a>
  273. </div>
  274. <div>
  275. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Move_System_Int32_System_Int32_System_Boolean_">View.Move(int, int, bool)</a>
  276. </div>
  277. <div>
  278. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_PositionCursor">View.PositionCursor()</a>
  279. </div>
  280. <div>
  281. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_HasFocus">View.HasFocus</a>
  282. </div>
  283. <div>
  284. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnAdded_Terminal_Gui_View_">View.OnAdded(View)</a>
  285. </div>
  286. <div>
  287. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnRemoved_Terminal_Gui_View_">View.OnRemoved(View)</a>
  288. </div>
  289. <div>
  290. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnEnter_Terminal_Gui_View_">View.OnEnter(View)</a>
  291. </div>
  292. <div>
  293. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnLeave_Terminal_Gui_View_">View.OnLeave(View)</a>
  294. </div>
  295. <div>
  296. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Focused">View.Focused</a>
  297. </div>
  298. <div>
  299. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_MostFocused">View.MostFocused</a>
  300. </div>
  301. <div>
  302. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ColorScheme">View.ColorScheme</a>
  303. </div>
  304. <div>
  305. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_AddRune_System_Int32_System_Int32_System_Rune_">View.AddRune(int, int, Rune)</a>
  306. </div>
  307. <div>
  308. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearNeedsDisplay">View.ClearNeedsDisplay()</a>
  309. </div>
  310. <div>
  311. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_DrawContent">View.DrawContent</a>
  312. </div>
  313. <div>
  314. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnDrawContent_Terminal_Gui_Rect_">View.OnDrawContent(Rect)</a>
  315. </div>
  316. <div>
  317. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_DrawContentComplete">View.DrawContentComplete</a>
  318. </div>
  319. <div>
  320. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnDrawContentComplete_Terminal_Gui_Rect_">View.OnDrawContentComplete(Rect)</a>
  321. </div>
  322. <div>
  323. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetFocus">View.SetFocus()</a>
  324. </div>
  325. <div>
  326. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_KeyPress">View.KeyPress</a>
  327. </div>
  328. <div>
  329. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_InvokeKeybindings_Terminal_Gui_KeyEvent_">View.InvokeKeybindings(KeyEvent)</a>
  330. </div>
  331. <div>
  332. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_AddKeyBinding_Terminal_Gui_Key_Terminal_Gui_Command___">View.AddKeyBinding(Key, params Command[])</a>
  333. </div>
  334. <div>
  335. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ReplaceKeyBinding_Terminal_Gui_Key_Terminal_Gui_Key_">View.ReplaceKeyBinding(Key, Key)</a>
  336. </div>
  337. <div>
  338. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ContainsKeyBinding_Terminal_Gui_Key_">View.ContainsKeyBinding(Key)</a>
  339. </div>
  340. <div>
  341. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearKeybindings">View.ClearKeybindings()</a>
  342. </div>
  343. <div>
  344. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearKeybinding_Terminal_Gui_Key_">View.ClearKeybinding(Key)</a>
  345. </div>
  346. <div>
  347. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearKeybinding_Terminal_Gui_Command___">View.ClearKeybinding(params Command[])</a>
  348. </div>
  349. <div>
  350. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_AddCommand_Terminal_Gui_Command_System_Func_System_Nullable_System_Boolean___">View.AddCommand(Command, Func&lt;bool?&gt;)</a>
  351. </div>
  352. <div>
  353. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetSupportedCommands">View.GetSupportedCommands()</a>
  354. </div>
  355. <div>
  356. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetKeyFromCommand_Terminal_Gui_Command___">View.GetKeyFromCommand(params Command[])</a>
  357. </div>
  358. <div>
  359. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ProcessHotKey_Terminal_Gui_KeyEvent_">View.ProcessHotKey(KeyEvent)</a>
  360. </div>
  361. <div>
  362. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ProcessColdKey_Terminal_Gui_KeyEvent_">View.ProcessColdKey(KeyEvent)</a>
  363. </div>
  364. <div>
  365. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_KeyDown">View.KeyDown</a>
  366. </div>
  367. <div>
  368. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnKeyDown_Terminal_Gui_KeyEvent_">View.OnKeyDown(KeyEvent)</a>
  369. </div>
  370. <div>
  371. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_KeyUp">View.KeyUp</a>
  372. </div>
  373. <div>
  374. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnKeyUp_Terminal_Gui_KeyEvent_">View.OnKeyUp(KeyEvent)</a>
  375. </div>
  376. <div>
  377. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_EnsureFocus">View.EnsureFocus()</a>
  378. </div>
  379. <div>
  380. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusFirst">View.FocusFirst()</a>
  381. </div>
  382. <div>
  383. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusLast">View.FocusLast()</a>
  384. </div>
  385. <div>
  386. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusPrev">View.FocusPrev()</a>
  387. </div>
  388. <div>
  389. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusNext">View.FocusNext()</a>
  390. </div>
  391. <div>
  392. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutStarted">View.LayoutStarted</a>
  393. </div>
  394. <div>
  395. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutComplete">View.LayoutComplete</a>
  396. </div>
  397. <div>
  398. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Initialized">View.Initialized</a>
  399. </div>
  400. <div>
  401. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutSubviews">View.LayoutSubviews()</a>
  402. </div>
  403. <div>
  404. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Text">View.Text</a>
  405. </div>
  406. <div>
  407. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_AutoSize">View.AutoSize</a>
  408. </div>
  409. <div>
  410. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_PreserveTrailingSpaces">View.PreserveTrailingSpaces</a>
  411. </div>
  412. <div>
  413. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TextAlignment">View.TextAlignment</a>
  414. </div>
  415. <div>
  416. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_VerticalTextAlignment">View.VerticalTextAlignment</a>
  417. </div>
  418. <div>
  419. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TextDirection">View.TextDirection</a>
  420. </div>
  421. <div>
  422. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_IsInitialized">View.IsInitialized</a>
  423. </div>
  424. <div>
  425. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_IsAdded">View.IsAdded</a>
  426. </div>
  427. <div>
  428. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Enabled">View.Enabled</a>
  429. </div>
  430. <div>
  431. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearOnVisibleFalse">View.ClearOnVisibleFalse</a>
  432. </div>
  433. <div>
  434. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Visible">View.Visible</a>
  435. </div>
  436. <div>
  437. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Border">View.Border</a>
  438. </div>
  439. <div>
  440. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_IgnoreBorderPropertyOnRedraw">View.IgnoreBorderPropertyOnRedraw</a>
  441. </div>
  442. <div>
  443. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ToString">View.ToString()</a>
  444. </div>
  445. <div>
  446. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetAutoSize">View.GetAutoSize()</a>
  447. </div>
  448. <div>
  449. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetHotKeySpecifierLength_System_Boolean_">View.GetHotKeySpecifierLength(bool)</a>
  450. </div>
  451. <div>
  452. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetTextFormatterBoundsSize">View.GetTextFormatterBoundsSize()</a>
  453. </div>
  454. <div>
  455. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetBoundsTextFormatterSize">View.GetBoundsTextFormatterSize()</a>
  456. </div>
  457. <div>
  458. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseEnter_Terminal_Gui_MouseEvent_">View.OnMouseEnter(MouseEvent)</a>
  459. </div>
  460. <div>
  461. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseLeave_Terminal_Gui_MouseEvent_">View.OnMouseLeave(MouseEvent)</a>
  462. </div>
  463. <div>
  464. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseEvent_Terminal_Gui_MouseEvent_">View.OnMouseEvent(MouseEvent)</a>
  465. </div>
  466. <div>
  467. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseClick_Terminal_Gui_View_MouseEventArgs_">View.OnMouseClick(View.MouseEventArgs)</a>
  468. </div>
  469. <div>
  470. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnCanFocusChanged">View.OnCanFocusChanged()</a>
  471. </div>
  472. <div>
  473. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnEnabledChanged">View.OnEnabledChanged()</a>
  474. </div>
  475. <div>
  476. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnVisibleChanged">View.OnVisibleChanged()</a>
  477. </div>
  478. <div>
  479. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Dispose_System_Boolean_">View.Dispose(bool)</a>
  480. </div>
  481. <div>
  482. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_BeginInit">View.BeginInit()</a>
  483. </div>
  484. <div>
  485. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_EndInit">View.EndInit()</a>
  486. </div>
  487. <div>
  488. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetWidth_System_Int32_System_Int32__">View.SetWidth(int, out int)</a>
  489. </div>
  490. <div>
  491. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetHeight_System_Int32_System_Int32__">View.SetHeight(int, out int)</a>
  492. </div>
  493. <div>
  494. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetCurrentWidth_System_Int32__">View.GetCurrentWidth(out int)</a>
  495. </div>
  496. <div>
  497. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetCurrentHeight_System_Int32__">View.GetCurrentHeight(out int)</a>
  498. </div>
  499. <div>
  500. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetNormalColor">View.GetNormalColor()</a>
  501. </div>
  502. <div>
  503. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetFocusColor">View.GetFocusColor()</a>
  504. </div>
  505. <div>
  506. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetHotNormalColor">View.GetHotNormalColor()</a>
  507. </div>
  508. <div>
  509. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetTopSuperView">View.GetTopSuperView()</a>
  510. </div>
  511. <div>
  512. <a class="xref" href="Terminal.Gui.Responder.html#Terminal_Gui_Responder_Dispose">Responder.Dispose()</a>
  513. </div>
  514. <div>
  515. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">object.Equals(object)</a>
  516. </div>
  517. <div>
  518. <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>
  519. </div>
  520. <div>
  521. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gethashcode">object.GetHashCode()</a>
  522. </div>
  523. <div>
  524. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gettype">object.GetType()</a>
  525. </div>
  526. <div>
  527. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone">object.MemberwiseClone()</a>
  528. </div>
  529. <div>
  530. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.referenceequals">object.ReferenceEquals(object, object)</a>
  531. </div>
  532. </div>
  533. <h6><strong>Namespace</strong>: <a class="xref" href="Terminal.html">Terminal</a>.<a class="xref" href="Terminal.Gui.html">Gui</a></h6>
  534. <h6><strong>Assembly</strong>: Terminal.Gui.dll</h6>
  535. <h5 id="Terminal_Gui_ColorPicker_syntax">Syntax</h5>
  536. <div class="codewrapper">
  537. <pre><code class="lang-csharp hljs">public class ColorPicker : View, IDisposable, ISupportInitializeNotification, ISupportInitialize</code></pre>
  538. </div>
  539. <h3 id="constructors">Constructors
  540. </h3>
  541. <span class="small pull-right mobile-hide">
  542. <span class="divider">|</span>
  543. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ColorPicker__ctor.md&amp;value=---%0Auid%3A%20Terminal.Gui.ColorPicker.%23ctor%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>
  544. </span>
  545. <span class="small pull-right mobile-hide">
  546. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Views/ColorPicker.cs/#L76">View Source</a>
  547. </span>
  548. <a id="Terminal_Gui_ColorPicker__ctor_" data-uid="Terminal.Gui.ColorPicker.#ctor*"></a>
  549. <h4 id="Terminal_Gui_ColorPicker__ctor" data-uid="Terminal.Gui.ColorPicker.#ctor">ColorPicker()</h4>
  550. <div class="markdown level1 summary">Initializes a new instance of <a class="xref" href="Terminal.Gui.ColorPicker.html">ColorPicker</a>.</div>
  551. <div class="markdown level1 conceptual"></div>
  552. <h5 class="declaration">Declaration</h5>
  553. <div class="codewrapper">
  554. <pre><code class="lang-csharp hljs">public ColorPicker()</code></pre>
  555. </div>
  556. <span class="small pull-right mobile-hide">
  557. <span class="divider">|</span>
  558. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ColorPicker__ctor_NStack_ustring_.md&amp;value=---%0Auid%3A%20Terminal.Gui.ColorPicker.%23ctor(NStack.ustring)%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>
  559. </span>
  560. <span class="small pull-right mobile-hide">
  561. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Views/ColorPicker.cs/#L85">View Source</a>
  562. </span>
  563. <a id="Terminal_Gui_ColorPicker__ctor_" data-uid="Terminal.Gui.ColorPicker.#ctor*"></a>
  564. <h4 id="Terminal_Gui_ColorPicker__ctor_NStack_ustring_" data-uid="Terminal.Gui.ColorPicker.#ctor(NStack.ustring)">ColorPicker(ustring)</h4>
  565. <div class="markdown level1 summary">Initializes a new instance of <a class="xref" href="Terminal.Gui.ColorPicker.html">ColorPicker</a>.</div>
  566. <div class="markdown level1 conceptual"></div>
  567. <h5 class="declaration">Declaration</h5>
  568. <div class="codewrapper">
  569. <pre><code class="lang-csharp hljs">public ColorPicker(ustring title)</code></pre>
  570. </div>
  571. <h5 class="parameters">Parameters</h5>
  572. <table class="table table-bordered table-condensed">
  573. <thead>
  574. <tr>
  575. <th>Type</th>
  576. <th>Name</th>
  577. <th>Description</th>
  578. </tr>
  579. </thead>
  580. <tbody>
  581. <tr>
  582. <td><span class="xref">ustring</span></td>
  583. <td><span class="parametername">title</span></td>
  584. <td>Title.</td>
  585. </tr>
  586. </tbody>
  587. </table>
  588. <span class="small pull-right mobile-hide">
  589. <span class="divider">|</span>
  590. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ColorPicker__ctor_System_Int32_System_Int32_NStack_ustring_.md&amp;value=---%0Auid%3A%20Terminal.Gui.ColorPicker.%23ctor(System.Int32%2CSystem.Int32%2CNStack.ustring)%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>
  591. </span>
  592. <span class="small pull-right mobile-hide">
  593. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Views/ColorPicker.cs/#L105">View Source</a>
  594. </span>
  595. <a id="Terminal_Gui_ColorPicker__ctor_" data-uid="Terminal.Gui.ColorPicker.#ctor*"></a>
  596. <h4 id="Terminal_Gui_ColorPicker__ctor_System_Int32_System_Int32_NStack_ustring_" data-uid="Terminal.Gui.ColorPicker.#ctor(System.Int32,System.Int32,NStack.ustring)">ColorPicker(int, int, ustring)</h4>
  597. <div class="markdown level1 summary">Initializes a new instance of <a class="xref" href="Terminal.Gui.ColorPicker.html">ColorPicker</a>.</div>
  598. <div class="markdown level1 conceptual"></div>
  599. <h5 class="declaration">Declaration</h5>
  600. <div class="codewrapper">
  601. <pre><code class="lang-csharp hljs">public ColorPicker(int x, int y, ustring title)</code></pre>
  602. </div>
  603. <h5 class="parameters">Parameters</h5>
  604. <table class="table table-bordered table-condensed">
  605. <thead>
  606. <tr>
  607. <th>Type</th>
  608. <th>Name</th>
  609. <th>Description</th>
  610. </tr>
  611. </thead>
  612. <tbody>
  613. <tr>
  614. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
  615. <td><span class="parametername">x</span></td>
  616. <td>X location.</td>
  617. </tr>
  618. <tr>
  619. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
  620. <td><span class="parametername">y</span></td>
  621. <td>Y location.</td>
  622. </tr>
  623. <tr>
  624. <td><span class="xref">ustring</span></td>
  625. <td><span class="parametername">title</span></td>
  626. <td>Title</td>
  627. </tr>
  628. </tbody>
  629. </table>
  630. <span class="small pull-right mobile-hide">
  631. <span class="divider">|</span>
  632. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ColorPicker__ctor_Terminal_Gui_Point_NStack_ustring_.md&amp;value=---%0Auid%3A%20Terminal.Gui.ColorPicker.%23ctor(Terminal.Gui.Point%2CNStack.ustring)%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>
  633. </span>
  634. <span class="small pull-right mobile-hide">
  635. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Views/ColorPicker.cs/#L95">View Source</a>
  636. </span>
  637. <a id="Terminal_Gui_ColorPicker__ctor_" data-uid="Terminal.Gui.ColorPicker.#ctor*"></a>
  638. <h4 id="Terminal_Gui_ColorPicker__ctor_Terminal_Gui_Point_NStack_ustring_" data-uid="Terminal.Gui.ColorPicker.#ctor(Terminal.Gui.Point,NStack.ustring)">ColorPicker(Point, ustring)</h4>
  639. <div class="markdown level1 summary">Initializes a new instance of <a class="xref" href="Terminal.Gui.ColorPicker.html">ColorPicker</a>.</div>
  640. <div class="markdown level1 conceptual"></div>
  641. <h5 class="declaration">Declaration</h5>
  642. <div class="codewrapper">
  643. <pre><code class="lang-csharp hljs">public ColorPicker(Point point, ustring title)</code></pre>
  644. </div>
  645. <h5 class="parameters">Parameters</h5>
  646. <table class="table table-bordered table-condensed">
  647. <thead>
  648. <tr>
  649. <th>Type</th>
  650. <th>Name</th>
  651. <th>Description</th>
  652. </tr>
  653. </thead>
  654. <tbody>
  655. <tr>
  656. <td><a class="xref" href="Terminal.Gui.Point.html">Point</a></td>
  657. <td><span class="parametername">point</span></td>
  658. <td>Location point.</td>
  659. </tr>
  660. <tr>
  661. <td><span class="xref">ustring</span></td>
  662. <td><span class="parametername">title</span></td>
  663. <td>Title.</td>
  664. </tr>
  665. </tbody>
  666. </table>
  667. <h3 id="properties">Properties
  668. </h3>
  669. <span class="small pull-right mobile-hide">
  670. <span class="divider">|</span>
  671. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ColorPicker_Cursor.md&amp;value=---%0Auid%3A%20Terminal.Gui.ColorPicker.Cursor%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>
  672. </span>
  673. <span class="small pull-right mobile-hide">
  674. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Views/ColorPicker.cs/#L40">View Source</a>
  675. </span>
  676. <a id="Terminal_Gui_ColorPicker_Cursor_" data-uid="Terminal.Gui.ColorPicker.Cursor*"></a>
  677. <h4 id="Terminal_Gui_ColorPicker_Cursor" data-uid="Terminal.Gui.ColorPicker.Cursor">Cursor</h4>
  678. <div class="markdown level1 summary">Cursor for the selected color.</div>
  679. <div class="markdown level1 conceptual"></div>
  680. <h5 class="declaration">Declaration</h5>
  681. <div class="codewrapper">
  682. <pre><code class="lang-csharp hljs">public Point Cursor { get; set; }</code></pre>
  683. </div>
  684. <h5 class="propertyValue">Property Value</h5>
  685. <table class="table table-bordered table-condensed">
  686. <thead>
  687. <tr>
  688. <th>Type</th>
  689. <th>Description</th>
  690. </tr>
  691. </thead>
  692. <tbody>
  693. <tr>
  694. <td><a class="xref" href="Terminal.Gui.Point.html">Point</a></td>
  695. <td></td>
  696. </tr>
  697. </tbody>
  698. </table>
  699. <span class="small pull-right mobile-hide">
  700. <span class="divider">|</span>
  701. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ColorPicker_SelectedColor.md&amp;value=---%0Auid%3A%20Terminal.Gui.ColorPicker.SelectedColor%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>
  702. </span>
  703. <span class="small pull-right mobile-hide">
  704. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Views/ColorPicker.cs/#L61">View Source</a>
  705. </span>
  706. <a id="Terminal_Gui_ColorPicker_SelectedColor_" data-uid="Terminal.Gui.ColorPicker.SelectedColor*"></a>
  707. <h4 id="Terminal_Gui_ColorPicker_SelectedColor" data-uid="Terminal.Gui.ColorPicker.SelectedColor">SelectedColor</h4>
  708. <div class="markdown level1 summary">Selected color.</div>
  709. <div class="markdown level1 conceptual"></div>
  710. <h5 class="declaration">Declaration</h5>
  711. <div class="codewrapper">
  712. <pre><code class="lang-csharp hljs">public Color SelectedColor { get; set; }</code></pre>
  713. </div>
  714. <h5 class="propertyValue">Property Value</h5>
  715. <table class="table table-bordered table-condensed">
  716. <thead>
  717. <tr>
  718. <th>Type</th>
  719. <th>Description</th>
  720. </tr>
  721. </thead>
  722. <tbody>
  723. <tr>
  724. <td><a class="xref" href="Terminal.Gui.Color.html">Color</a></td>
  725. <td></td>
  726. </tr>
  727. </tbody>
  728. </table>
  729. <h3 id="methods">Methods
  730. </h3>
  731. <span class="small pull-right mobile-hide">
  732. <span class="divider">|</span>
  733. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ColorPicker_MouseEvent_Terminal_Gui_MouseEvent_.md&amp;value=---%0Auid%3A%20Terminal.Gui.ColorPicker.MouseEvent(Terminal.Gui.MouseEvent)%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>
  734. </span>
  735. <span class="small pull-right mobile-hide">
  736. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Views/ColorPicker.cs/#L238">View Source</a>
  737. </span>
  738. <a id="Terminal_Gui_ColorPicker_MouseEvent_" data-uid="Terminal.Gui.ColorPicker.MouseEvent*"></a>
  739. <h4 id="Terminal_Gui_ColorPicker_MouseEvent_Terminal_Gui_MouseEvent_" data-uid="Terminal.Gui.ColorPicker.MouseEvent(Terminal.Gui.MouseEvent)">MouseEvent(MouseEvent)</h4>
  740. <div class="markdown level1 summary">Method invoked when a mouse event is generated</div>
  741. <div class="markdown level1 conceptual"></div>
  742. <h5 class="declaration">Declaration</h5>
  743. <div class="codewrapper">
  744. <pre><code class="lang-csharp hljs">public override bool MouseEvent(MouseEvent me)</code></pre>
  745. </div>
  746. <h5 class="parameters">Parameters</h5>
  747. <table class="table table-bordered table-condensed">
  748. <thead>
  749. <tr>
  750. <th>Type</th>
  751. <th>Name</th>
  752. <th>Description</th>
  753. </tr>
  754. </thead>
  755. <tbody>
  756. <tr>
  757. <td><a class="xref" href="Terminal.Gui.MouseEvent.html">MouseEvent</a></td>
  758. <td><span class="parametername">me</span></td>
  759. <td></td>
  760. </tr>
  761. </tbody>
  762. </table>
  763. <h5 class="returns">Returns</h5>
  764. <table class="table table-bordered table-condensed">
  765. <thead>
  766. <tr>
  767. <th>Type</th>
  768. <th>Description</th>
  769. </tr>
  770. </thead>
  771. <tbody>
  772. <tr>
  773. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
  774. <td><code>true</code>, if the event was handled, <code>false</code> otherwise.</td>
  775. </tr>
  776. </tbody>
  777. </table>
  778. <h5 class="overrides">Overrides</h5>
  779. <div><a class="xref" href="Terminal.Gui.Responder.html#Terminal_Gui_Responder_MouseEvent_Terminal_Gui_MouseEvent_">Responder.MouseEvent(MouseEvent)</a></div>
  780. <span class="small pull-right mobile-hide">
  781. <span class="divider">|</span>
  782. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ColorPicker_MoveDown.md&amp;value=---%0Auid%3A%20Terminal.Gui.ColorPicker.MoveDown%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>
  783. </span>
  784. <span class="small pull-right mobile-hide">
  785. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Views/ColorPicker.cs/#L221">View Source</a>
  786. </span>
  787. <a id="Terminal_Gui_ColorPicker_MoveDown_" data-uid="Terminal.Gui.ColorPicker.MoveDown*"></a>
  788. <h4 id="Terminal_Gui_ColorPicker_MoveDown" data-uid="Terminal.Gui.ColorPicker.MoveDown">MoveDown()</h4>
  789. <div class="markdown level1 summary">Moves the selected item index to the next row.</div>
  790. <div class="markdown level1 conceptual"></div>
  791. <h5 class="declaration">Declaration</h5>
  792. <div class="codewrapper">
  793. <pre><code class="lang-csharp hljs">public virtual bool MoveDown()</code></pre>
  794. </div>
  795. <h5 class="returns">Returns</h5>
  796. <table class="table table-bordered table-condensed">
  797. <thead>
  798. <tr>
  799. <th>Type</th>
  800. <th>Description</th>
  801. </tr>
  802. </thead>
  803. <tbody>
  804. <tr>
  805. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
  806. <td></td>
  807. </tr>
  808. </tbody>
  809. </table>
  810. <span class="small pull-right mobile-hide">
  811. <span class="divider">|</span>
  812. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ColorPicker_MoveLeft.md&amp;value=---%0Auid%3A%20Terminal.Gui.ColorPicker.MoveLeft%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>
  813. </span>
  814. <span class="small pull-right mobile-hide">
  815. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Views/ColorPicker.cs/#L191">View Source</a>
  816. </span>
  817. <a id="Terminal_Gui_ColorPicker_MoveLeft_" data-uid="Terminal.Gui.ColorPicker.MoveLeft*"></a>
  818. <h4 id="Terminal_Gui_ColorPicker_MoveLeft" data-uid="Terminal.Gui.ColorPicker.MoveLeft">MoveLeft()</h4>
  819. <div class="markdown level1 summary">Moves the selected item index to the previous column.</div>
  820. <div class="markdown level1 conceptual"></div>
  821. <h5 class="declaration">Declaration</h5>
  822. <div class="codewrapper">
  823. <pre><code class="lang-csharp hljs">public virtual bool MoveLeft()</code></pre>
  824. </div>
  825. <h5 class="returns">Returns</h5>
  826. <table class="table table-bordered table-condensed">
  827. <thead>
  828. <tr>
  829. <th>Type</th>
  830. <th>Description</th>
  831. </tr>
  832. </thead>
  833. <tbody>
  834. <tr>
  835. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
  836. <td></td>
  837. </tr>
  838. </tbody>
  839. </table>
  840. <span class="small pull-right mobile-hide">
  841. <span class="divider">|</span>
  842. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ColorPicker_MoveRight.md&amp;value=---%0Auid%3A%20Terminal.Gui.ColorPicker.MoveRight%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>
  843. </span>
  844. <span class="small pull-right mobile-hide">
  845. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Views/ColorPicker.cs/#L201">View Source</a>
  846. </span>
  847. <a id="Terminal_Gui_ColorPicker_MoveRight_" data-uid="Terminal.Gui.ColorPicker.MoveRight*"></a>
  848. <h4 id="Terminal_Gui_ColorPicker_MoveRight" data-uid="Terminal.Gui.ColorPicker.MoveRight">MoveRight()</h4>
  849. <div class="markdown level1 summary">Moves the selected item index to the next column.</div>
  850. <div class="markdown level1 conceptual"></div>
  851. <h5 class="declaration">Declaration</h5>
  852. <div class="codewrapper">
  853. <pre><code class="lang-csharp hljs">public virtual bool MoveRight()</code></pre>
  854. </div>
  855. <h5 class="returns">Returns</h5>
  856. <table class="table table-bordered table-condensed">
  857. <thead>
  858. <tr>
  859. <th>Type</th>
  860. <th>Description</th>
  861. </tr>
  862. </thead>
  863. <tbody>
  864. <tr>
  865. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
  866. <td></td>
  867. </tr>
  868. </tbody>
  869. </table>
  870. <span class="small pull-right mobile-hide">
  871. <span class="divider">|</span>
  872. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ColorPicker_MoveUp.md&amp;value=---%0Auid%3A%20Terminal.Gui.ColorPicker.MoveUp%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>
  873. </span>
  874. <span class="small pull-right mobile-hide">
  875. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Views/ColorPicker.cs/#L211">View Source</a>
  876. </span>
  877. <a id="Terminal_Gui_ColorPicker_MoveUp_" data-uid="Terminal.Gui.ColorPicker.MoveUp*"></a>
  878. <h4 id="Terminal_Gui_ColorPicker_MoveUp" data-uid="Terminal.Gui.ColorPicker.MoveUp">MoveUp()</h4>
  879. <div class="markdown level1 summary">Moves the selected item index to the previous row.</div>
  880. <div class="markdown level1 conceptual"></div>
  881. <h5 class="declaration">Declaration</h5>
  882. <div class="codewrapper">
  883. <pre><code class="lang-csharp hljs">public virtual bool MoveUp()</code></pre>
  884. </div>
  885. <h5 class="returns">Returns</h5>
  886. <table class="table table-bordered table-condensed">
  887. <thead>
  888. <tr>
  889. <th>Type</th>
  890. <th>Description</th>
  891. </tr>
  892. </thead>
  893. <tbody>
  894. <tr>
  895. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
  896. <td></td>
  897. </tr>
  898. </tbody>
  899. </table>
  900. <span class="small pull-right mobile-hide">
  901. <span class="divider">|</span>
  902. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ColorPicker_ProcessKey_Terminal_Gui_KeyEvent_.md&amp;value=---%0Auid%3A%20Terminal.Gui.ColorPicker.ProcessKey(Terminal.Gui.KeyEvent)%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>
  903. </span>
  904. <span class="small pull-right mobile-hide">
  905. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Views/ColorPicker.cs/#L228">View Source</a>
  906. </span>
  907. <a id="Terminal_Gui_ColorPicker_ProcessKey_" data-uid="Terminal.Gui.ColorPicker.ProcessKey*"></a>
  908. <h4 id="Terminal_Gui_ColorPicker_ProcessKey_Terminal_Gui_KeyEvent_" data-uid="Terminal.Gui.ColorPicker.ProcessKey(Terminal.Gui.KeyEvent)">ProcessKey(KeyEvent)</h4>
  909. <div class="markdown level1 summary">If the view is focused, gives the view a
  910. chance to process the keystroke.</div>
  911. <div class="markdown level1 conceptual"></div>
  912. <h5 class="declaration">Declaration</h5>
  913. <div class="codewrapper">
  914. <pre><code class="lang-csharp hljs">public override bool ProcessKey(KeyEvent kb)</code></pre>
  915. </div>
  916. <h5 class="parameters">Parameters</h5>
  917. <table class="table table-bordered table-condensed">
  918. <thead>
  919. <tr>
  920. <th>Type</th>
  921. <th>Name</th>
  922. <th>Description</th>
  923. </tr>
  924. </thead>
  925. <tbody>
  926. <tr>
  927. <td><a class="xref" href="Terminal.Gui.KeyEvent.html">KeyEvent</a></td>
  928. <td><span class="parametername">kb</span></td>
  929. <td></td>
  930. </tr>
  931. </tbody>
  932. </table>
  933. <h5 class="returns">Returns</h5>
  934. <table class="table table-bordered table-condensed">
  935. <thead>
  936. <tr>
  937. <th>Type</th>
  938. <th>Description</th>
  939. </tr>
  940. </thead>
  941. <tbody>
  942. <tr>
  943. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
  944. <td></td>
  945. </tr>
  946. </tbody>
  947. </table>
  948. <h5 class="overrides">Overrides</h5>
  949. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ProcessKey_Terminal_Gui_KeyEvent_">View.ProcessKey(KeyEvent)</a></div>
  950. <h5 id="Terminal_Gui_ColorPicker_ProcessKey_Terminal_Gui_KeyEvent__remarks">Remarks</h5>
  951. <div class="markdown level1 remarks"><p>
  952. Views can override this method if they are
  953. interested in processing the given keystroke.
  954. If they consume the keystroke, they must
  955. return true to stop the keystroke from being
  956. processed by other widgets or consumed by the
  957. widget engine. If they return false, the
  958. keystroke will be passed using the ProcessColdKey
  959. method to other views to process.
  960. </p>
  961. <p>
  962. The View implementation does nothing but return false,
  963. so it is not necessary to call base.ProcessKey if you
  964. derive directly from View, but you should if you derive
  965. other View subclasses.
  966. </p></div>
  967. <span class="small pull-right mobile-hide">
  968. <span class="divider">|</span>
  969. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ColorPicker_Redraw_Terminal_Gui_Rect_.md&amp;value=---%0Auid%3A%20Terminal.Gui.ColorPicker.Redraw(Terminal.Gui.Rect)%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>
  970. </span>
  971. <span class="small pull-right mobile-hide">
  972. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Views/ColorPicker.cs/#L143">View Source</a>
  973. </span>
  974. <a id="Terminal_Gui_ColorPicker_Redraw_" data-uid="Terminal.Gui.ColorPicker.Redraw*"></a>
  975. <h4 id="Terminal_Gui_ColorPicker_Redraw_Terminal_Gui_Rect_" data-uid="Terminal.Gui.ColorPicker.Redraw(Terminal.Gui.Rect)">Redraw(Rect)</h4>
  976. <div class="markdown level1 summary">Redraws this view and its subviews; only redraws the views that have been flagged for a re-display.</div>
  977. <div class="markdown level1 conceptual"></div>
  978. <h5 class="declaration">Declaration</h5>
  979. <div class="codewrapper">
  980. <pre><code class="lang-csharp hljs">public override void Redraw(Rect bounds)</code></pre>
  981. </div>
  982. <h5 class="parameters">Parameters</h5>
  983. <table class="table table-bordered table-condensed">
  984. <thead>
  985. <tr>
  986. <th>Type</th>
  987. <th>Name</th>
  988. <th>Description</th>
  989. </tr>
  990. </thead>
  991. <tbody>
  992. <tr>
  993. <td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
  994. <td><span class="parametername">bounds</span></td>
  995. <td>The bounds (view-relative region) to redraw.</td>
  996. </tr>
  997. </tbody>
  998. </table>
  999. <h5 class="overrides">Overrides</h5>
  1000. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Redraw_Terminal_Gui_Rect_">View.Redraw(Rect)</a></div>
  1001. <h5 id="Terminal_Gui_ColorPicker_Redraw_Terminal_Gui_Rect__remarks">Remarks</h5>
  1002. <div class="markdown level1 remarks"><p>
  1003. Always use <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Bounds">Bounds</a> (view-relative) when calling <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Redraw_Terminal_Gui_Rect_">Redraw(Rect)</a>, NOT <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Frame">Frame</a> (superview-relative).
  1004. </p>
  1005. <p>
  1006. Views should set the color that they want to use on entry, as otherwise this will inherit
  1007. the last color that was set globally on the driver.
  1008. </p>
  1009. <p>
  1010. Overrides of <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Redraw_Terminal_Gui_Rect_">Redraw(Rect)</a> must ensure they do not set <code>Driver.Clip</code> to a clip region
  1011. larger than the <ref name="bounds"></ref> parameter, as this will cause the driver to clip the entire region.
  1012. </p></div>
  1013. <h3 id="events">Events
  1014. </h3>
  1015. <span class="small pull-right mobile-hide">
  1016. <span class="divider">|</span>
  1017. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ColorPicker_ColorChanged.md&amp;value=---%0Auid%3A%20Terminal.Gui.ColorPicker.ColorChanged%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>
  1018. </span>
  1019. <span class="small pull-right mobile-hide">
  1020. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Views/ColorPicker.cs/#L54">View Source</a>
  1021. </span>
  1022. <h4 id="Terminal_Gui_ColorPicker_ColorChanged" data-uid="Terminal.Gui.ColorPicker.ColorChanged">ColorChanged</h4>
  1023. <div class="markdown level1 summary">Fired when a color is picked.</div>
  1024. <div class="markdown level1 conceptual"></div>
  1025. <h5 class="declaration">Declaration</h5>
  1026. <div class="codewrapper">
  1027. <pre><code class="lang-csharp hljs">public event Action ColorChanged</code></pre>
  1028. </div>
  1029. <h5 class="eventType">Event Type</h5>
  1030. <table class="table table-bordered table-condensed">
  1031. <thead>
  1032. <tr>
  1033. <th>Type</th>
  1034. <th>Description</th>
  1035. </tr>
  1036. </thead>
  1037. <tbody>
  1038. <tr>
  1039. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.action">Action</a></td>
  1040. <td></td>
  1041. </tr>
  1042. </tbody>
  1043. </table>
  1044. <h3 id="implements">Implements</h3>
  1045. <div>
  1046. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a>
  1047. </div>
  1048. <div>
  1049. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.isupportinitializenotification">ISupportInitializeNotification</a>
  1050. </div>
  1051. <div>
  1052. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.isupportinitialize">ISupportInitialize</a>
  1053. </div>
  1054. </article>
  1055. </div>
  1056. <div class="hidden-sm col-md-2" role="complementary">
  1057. <div class="sideaffix">
  1058. <div class="contribution">
  1059. <ul class="nav">
  1060. <li>
  1061. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_ColorPicker.md&amp;value=---%0Auid%3A%20Terminal.Gui.ColorPicker%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>
  1062. </li>
  1063. <li>
  1064. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Views/ColorPicker.cs/#L9" class="contribution-link">View Source</a>
  1065. </li>
  1066. </ul>
  1067. </div>
  1068. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  1069. <h5>In this article</h5>
  1070. <div></div>
  1071. </nav>
  1072. </div>
  1073. </div>
  1074. </div>
  1075. </div>
  1076. <footer>
  1077. <div class="grad-bottom"></div>
  1078. <div class="footer">
  1079. <div class="container">
  1080. <span class="pull-right">
  1081. <a href="#top">Back to top</a>
  1082. </span>
  1083. <span>Generated by <strong>DocFX</strong></span>
  1084. </div>
  1085. </div>
  1086. </footer>
  1087. </div>
  1088. <script type="text/javascript" src="../../styles/docfx.vendor.min.js"></script>
  1089. <script type="text/javascript" src="../../styles/docfx.js"></script>
  1090. <script type="text/javascript" src="../../styles/main.js"></script>
  1091. </body>
  1092. </html>