Terminal.Gui.ColorPicker.html 40 KB

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