Terminal.Gui.HexView.html 70 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334
  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 HexView
  8. </title>
  9. <meta name="viewport" content="width=device-width">
  10. <meta name="title" content="Class HexView
  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.HexView">
  72. <h1 id="Terminal_Gui_HexView" data-uid="Terminal.Gui.HexView" class="text-break">Class HexView
  73. </h1>
  74. <div class="markdown level0 summary">An hex viewer and editor <a class="xref" href="Terminal.Gui.View.html">View</a> over a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.stream">Stream</a></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">HexView</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_LayoutStyle">View.LayoutStyle</a>
  174. </div>
  175. <div>
  176. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Bounds">View.Bounds</a>
  177. </div>
  178. <div>
  179. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_X">View.X</a>
  180. </div>
  181. <div>
  182. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Y">View.Y</a>
  183. </div>
  184. <div>
  185. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Width">View.Width</a>
  186. </div>
  187. <div>
  188. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Height">View.Height</a>
  189. </div>
  190. <div>
  191. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ForceValidatePosDim">View.ForceValidatePosDim</a>
  192. </div>
  193. <div>
  194. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetMinWidthHeight_Terminal_Gui_Size__">View.GetMinWidthHeight(out Size)</a>
  195. </div>
  196. <div>
  197. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetMinWidthHeight">View.SetMinWidthHeight()</a>
  198. </div>
  199. <div>
  200. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TextFormatter">View.TextFormatter</a>
  201. </div>
  202. <div>
  203. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SuperView">View.SuperView</a>
  204. </div>
  205. <div>
  206. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_UpdateTextFormatterText">View.UpdateTextFormatterText()</a>
  207. </div>
  208. <div>
  209. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ProcessResizeView">View.ProcessResizeView()</a>
  210. </div>
  211. <div>
  212. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetNeedsDisplay">View.SetNeedsDisplay()</a>
  213. </div>
  214. <div>
  215. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearLayoutNeeded">View.ClearLayoutNeeded()</a>
  216. </div>
  217. <div>
  218. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetNeedsDisplay_Terminal_Gui_Rect_">View.SetNeedsDisplay(Rect)</a>
  219. </div>
  220. <div>
  221. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetChildNeedsDisplay">View.SetChildNeedsDisplay()</a>
  222. </div>
  223. <div>
  224. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Add_Terminal_Gui_View_">View.Add(View)</a>
  225. </div>
  226. <div>
  227. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Add_Terminal_Gui_View___">View.Add(params View[])</a>
  228. </div>
  229. <div>
  230. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_RemoveAll">View.RemoveAll()</a>
  231. </div>
  232. <div>
  233. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Remove_Terminal_Gui_View_">View.Remove(View)</a>
  234. </div>
  235. <div>
  236. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_BringSubviewToFront_Terminal_Gui_View_">View.BringSubviewToFront(View)</a>
  237. </div>
  238. <div>
  239. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SendSubviewToBack_Terminal_Gui_View_">View.SendSubviewToBack(View)</a>
  240. </div>
  241. <div>
  242. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SendSubviewBackwards_Terminal_Gui_View_">View.SendSubviewBackwards(View)</a>
  243. </div>
  244. <div>
  245. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_BringSubviewForward_Terminal_Gui_View_">View.BringSubviewForward(View)</a>
  246. </div>
  247. <div>
  248. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Clear">View.Clear()</a>
  249. </div>
  250. <div>
  251. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Clear_Terminal_Gui_Rect_">View.Clear(Rect)</a>
  252. </div>
  253. <div>
  254. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ScreenToView_System_Int32_System_Int32_">View.ScreenToView(int, int)</a>
  255. </div>
  256. <div>
  257. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClipToBounds">View.ClipToBounds()</a>
  258. </div>
  259. <div>
  260. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetClip_Terminal_Gui_Rect_">View.SetClip(Rect)</a>
  261. </div>
  262. <div>
  263. <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>
  264. </div>
  265. <div>
  266. <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>
  267. </div>
  268. <div>
  269. <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>
  270. </div>
  271. <div>
  272. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Move_System_Int32_System_Int32_System_Boolean_">View.Move(int, int, bool)</a>
  273. </div>
  274. <div>
  275. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_HasFocus">View.HasFocus</a>
  276. </div>
  277. <div>
  278. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnAdded_Terminal_Gui_View_">View.OnAdded(View)</a>
  279. </div>
  280. <div>
  281. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnRemoved_Terminal_Gui_View_">View.OnRemoved(View)</a>
  282. </div>
  283. <div>
  284. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnLeave_Terminal_Gui_View_">View.OnLeave(View)</a>
  285. </div>
  286. <div>
  287. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Focused">View.Focused</a>
  288. </div>
  289. <div>
  290. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_MostFocused">View.MostFocused</a>
  291. </div>
  292. <div>
  293. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ColorScheme">View.ColorScheme</a>
  294. </div>
  295. <div>
  296. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_AddRune_System_Int32_System_Int32_System_Rune_">View.AddRune(int, int, Rune)</a>
  297. </div>
  298. <div>
  299. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearNeedsDisplay">View.ClearNeedsDisplay()</a>
  300. </div>
  301. <div>
  302. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_DrawContent">View.DrawContent</a>
  303. </div>
  304. <div>
  305. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnDrawContent_Terminal_Gui_Rect_">View.OnDrawContent(Rect)</a>
  306. </div>
  307. <div>
  308. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_DrawContentComplete">View.DrawContentComplete</a>
  309. </div>
  310. <div>
  311. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnDrawContentComplete_Terminal_Gui_Rect_">View.OnDrawContentComplete(Rect)</a>
  312. </div>
  313. <div>
  314. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetFocus">View.SetFocus()</a>
  315. </div>
  316. <div>
  317. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_KeyPress">View.KeyPress</a>
  318. </div>
  319. <div>
  320. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_InvokeKeybindings_Terminal_Gui_KeyEvent_">View.InvokeKeybindings(KeyEvent)</a>
  321. </div>
  322. <div>
  323. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_AddKeyBinding_Terminal_Gui_Key_Terminal_Gui_Command___">View.AddKeyBinding(Key, params Command[])</a>
  324. </div>
  325. <div>
  326. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ReplaceKeyBinding_Terminal_Gui_Key_Terminal_Gui_Key_">View.ReplaceKeyBinding(Key, Key)</a>
  327. </div>
  328. <div>
  329. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ContainsKeyBinding_Terminal_Gui_Key_">View.ContainsKeyBinding(Key)</a>
  330. </div>
  331. <div>
  332. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearKeybindings">View.ClearKeybindings()</a>
  333. </div>
  334. <div>
  335. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearKeybinding_Terminal_Gui_Key_">View.ClearKeybinding(Key)</a>
  336. </div>
  337. <div>
  338. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearKeybinding_Terminal_Gui_Command___">View.ClearKeybinding(params Command[])</a>
  339. </div>
  340. <div>
  341. <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>
  342. </div>
  343. <div>
  344. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetSupportedCommands">View.GetSupportedCommands()</a>
  345. </div>
  346. <div>
  347. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetKeyFromCommand_Terminal_Gui_Command___">View.GetKeyFromCommand(params Command[])</a>
  348. </div>
  349. <div>
  350. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ProcessHotKey_Terminal_Gui_KeyEvent_">View.ProcessHotKey(KeyEvent)</a>
  351. </div>
  352. <div>
  353. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ProcessColdKey_Terminal_Gui_KeyEvent_">View.ProcessColdKey(KeyEvent)</a>
  354. </div>
  355. <div>
  356. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_KeyDown">View.KeyDown</a>
  357. </div>
  358. <div>
  359. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnKeyDown_Terminal_Gui_KeyEvent_">View.OnKeyDown(KeyEvent)</a>
  360. </div>
  361. <div>
  362. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_KeyUp">View.KeyUp</a>
  363. </div>
  364. <div>
  365. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnKeyUp_Terminal_Gui_KeyEvent_">View.OnKeyUp(KeyEvent)</a>
  366. </div>
  367. <div>
  368. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_EnsureFocus">View.EnsureFocus()</a>
  369. </div>
  370. <div>
  371. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusFirst">View.FocusFirst()</a>
  372. </div>
  373. <div>
  374. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusLast">View.FocusLast()</a>
  375. </div>
  376. <div>
  377. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusPrev">View.FocusPrev()</a>
  378. </div>
  379. <div>
  380. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusNext">View.FocusNext()</a>
  381. </div>
  382. <div>
  383. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutStarted">View.LayoutStarted</a>
  384. </div>
  385. <div>
  386. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutComplete">View.LayoutComplete</a>
  387. </div>
  388. <div>
  389. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Initialized">View.Initialized</a>
  390. </div>
  391. <div>
  392. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutSubviews">View.LayoutSubviews()</a>
  393. </div>
  394. <div>
  395. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Text">View.Text</a>
  396. </div>
  397. <div>
  398. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_AutoSize">View.AutoSize</a>
  399. </div>
  400. <div>
  401. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_PreserveTrailingSpaces">View.PreserveTrailingSpaces</a>
  402. </div>
  403. <div>
  404. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TextAlignment">View.TextAlignment</a>
  405. </div>
  406. <div>
  407. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_VerticalTextAlignment">View.VerticalTextAlignment</a>
  408. </div>
  409. <div>
  410. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TextDirection">View.TextDirection</a>
  411. </div>
  412. <div>
  413. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_IsInitialized">View.IsInitialized</a>
  414. </div>
  415. <div>
  416. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_IsAdded">View.IsAdded</a>
  417. </div>
  418. <div>
  419. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Enabled">View.Enabled</a>
  420. </div>
  421. <div>
  422. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearOnVisibleFalse">View.ClearOnVisibleFalse</a>
  423. </div>
  424. <div>
  425. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Visible">View.Visible</a>
  426. </div>
  427. <div>
  428. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Border">View.Border</a>
  429. </div>
  430. <div>
  431. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_IgnoreBorderPropertyOnRedraw">View.IgnoreBorderPropertyOnRedraw</a>
  432. </div>
  433. <div>
  434. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ToString">View.ToString()</a>
  435. </div>
  436. <div>
  437. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetAutoSize">View.GetAutoSize()</a>
  438. </div>
  439. <div>
  440. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetHotKeySpecifierLength_System_Boolean_">View.GetHotKeySpecifierLength(bool)</a>
  441. </div>
  442. <div>
  443. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetTextFormatterBoundsSize">View.GetTextFormatterBoundsSize()</a>
  444. </div>
  445. <div>
  446. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetBoundsTextFormatterSize">View.GetBoundsTextFormatterSize()</a>
  447. </div>
  448. <div>
  449. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseEnter_Terminal_Gui_MouseEvent_">View.OnMouseEnter(MouseEvent)</a>
  450. </div>
  451. <div>
  452. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseLeave_Terminal_Gui_MouseEvent_">View.OnMouseLeave(MouseEvent)</a>
  453. </div>
  454. <div>
  455. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseEvent_Terminal_Gui_MouseEvent_">View.OnMouseEvent(MouseEvent)</a>
  456. </div>
  457. <div>
  458. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseClick_Terminal_Gui_View_MouseEventArgs_">View.OnMouseClick(View.MouseEventArgs)</a>
  459. </div>
  460. <div>
  461. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnCanFocusChanged">View.OnCanFocusChanged()</a>
  462. </div>
  463. <div>
  464. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnEnabledChanged">View.OnEnabledChanged()</a>
  465. </div>
  466. <div>
  467. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnVisibleChanged">View.OnVisibleChanged()</a>
  468. </div>
  469. <div>
  470. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Dispose_System_Boolean_">View.Dispose(bool)</a>
  471. </div>
  472. <div>
  473. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_BeginInit">View.BeginInit()</a>
  474. </div>
  475. <div>
  476. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_EndInit">View.EndInit()</a>
  477. </div>
  478. <div>
  479. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetWidth_System_Int32_System_Int32__">View.SetWidth(int, out int)</a>
  480. </div>
  481. <div>
  482. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetHeight_System_Int32_System_Int32__">View.SetHeight(int, out int)</a>
  483. </div>
  484. <div>
  485. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetCurrentWidth_System_Int32__">View.GetCurrentWidth(out int)</a>
  486. </div>
  487. <div>
  488. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetCurrentHeight_System_Int32__">View.GetCurrentHeight(out int)</a>
  489. </div>
  490. <div>
  491. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetNormalColor">View.GetNormalColor()</a>
  492. </div>
  493. <div>
  494. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetFocusColor">View.GetFocusColor()</a>
  495. </div>
  496. <div>
  497. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetHotNormalColor">View.GetHotNormalColor()</a>
  498. </div>
  499. <div>
  500. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetTopSuperView">View.GetTopSuperView()</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. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">object.Equals(object)</a>
  507. </div>
  508. <div>
  509. <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>
  510. </div>
  511. <div>
  512. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gethashcode">object.GetHashCode()</a>
  513. </div>
  514. <div>
  515. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gettype">object.GetType()</a>
  516. </div>
  517. <div>
  518. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone">object.MemberwiseClone()</a>
  519. </div>
  520. <div>
  521. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.referenceequals">object.ReferenceEquals(object, object)</a>
  522. </div>
  523. </div>
  524. <h6><strong>Namespace</strong>: <a class="xref" href="Terminal.html">Terminal</a>.<a class="xref" href="Terminal.Gui.html">Gui</a></h6>
  525. <h6><strong>Assembly</strong>: Terminal.Gui.dll</h6>
  526. <h5 id="Terminal_Gui_HexView_syntax">Syntax</h5>
  527. <div class="codewrapper">
  528. <pre><code class="lang-csharp hljs">public class HexView : View, IDisposable, ISupportInitializeNotification, ISupportInitialize</code></pre>
  529. </div>
  530. <h5 id="Terminal_Gui_HexView_remarks"><strong>Remarks</strong></h5>
  531. <div class="markdown level0 remarks"><p>
  532. <a class="xref" href="Terminal.Gui.HexView.html">HexView</a> provides a hex editor on top of a seekable <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.stream">Stream</a> with the left side showing an hex
  533. dump of the values in the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.stream">Stream</a> and the right side showing the contents (filtered to
  534. non-control sequence ASCII characters).
  535. </p>
  536. <p>
  537. Users can switch from one side to the other by using the tab key.
  538. </p>
  539. <p>
  540. To enable editing, set <a class="xref" href="Terminal.Gui.HexView.html#Terminal_Gui_HexView_AllowEdits">AllowEdits</a> to true. When <a class="xref" href="Terminal.Gui.HexView.html#Terminal_Gui_HexView_AllowEdits">AllowEdits</a> is true
  541. the user can make changes to the hexadecimal values of the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.stream">Stream</a>. Any changes are tracked
  542. in the <a class="xref" href="Terminal.Gui.HexView.html#Terminal_Gui_HexView_Edits">Edits</a> property (a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.sorteddictionary-2">SortedDictionary&lt;TKey, TValue&gt;</a>) indicating
  543. the position where the changes were made and the new values. A convenience method, <a class="xref" href="Terminal.Gui.HexView.html#Terminal_Gui_HexView_ApplyEdits_System_IO_Stream_">ApplyEdits(Stream)</a>
  544. will apply the edits to the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.stream">Stream</a>.
  545. </p>
  546. <p>
  547. Control the first byte shown by setting the <a class="xref" href="Terminal.Gui.HexView.html#Terminal_Gui_HexView_DisplayStart">DisplayStart</a> property
  548. to an offset in the stream.
  549. </p></div>
  550. <h3 id="constructors">Constructors
  551. </h3>
  552. <span class="small pull-right mobile-hide">
  553. <span class="divider">|</span>
  554. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_HexView__ctor.md&amp;value=---%0Auid%3A%20Terminal.Gui.HexView.%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>
  555. </span>
  556. <span class="small pull-right mobile-hide">
  557. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Views/HexView.cs/#L101">View Source</a>
  558. </span>
  559. <a id="Terminal_Gui_HexView__ctor_" data-uid="Terminal.Gui.HexView.#ctor*"></a>
  560. <h4 id="Terminal_Gui_HexView__ctor" data-uid="Terminal.Gui.HexView.#ctor">HexView()</h4>
  561. <div class="markdown level1 summary">Initializes a <a class="xref" href="Terminal.Gui.HexView.html">HexView</a> class using <a class="xref" href="Terminal.Gui.LayoutStyle.html#Terminal_Gui_LayoutStyle_Computed">Computed</a> layout.</div>
  562. <div class="markdown level1 conceptual"></div>
  563. <h5 class="declaration">Declaration</h5>
  564. <div class="codewrapper">
  565. <pre><code class="lang-csharp hljs">public HexView()</code></pre>
  566. </div>
  567. <span class="small pull-right mobile-hide">
  568. <span class="divider">|</span>
  569. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_HexView__ctor_System_IO_Stream_.md&amp;value=---%0Auid%3A%20Terminal.Gui.HexView.%23ctor(System.IO.Stream)%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>
  570. </span>
  571. <span class="small pull-right mobile-hide">
  572. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Views/HexView.cs/#L55">View Source</a>
  573. </span>
  574. <a id="Terminal_Gui_HexView__ctor_" data-uid="Terminal.Gui.HexView.#ctor*"></a>
  575. <h4 id="Terminal_Gui_HexView__ctor_System_IO_Stream_" data-uid="Terminal.Gui.HexView.#ctor(System.IO.Stream)">HexView(Stream)</h4>
  576. <div class="markdown level1 summary">Initializes a <a class="xref" href="Terminal.Gui.HexView.html">HexView</a> class using <a class="xref" href="Terminal.Gui.LayoutStyle.html#Terminal_Gui_LayoutStyle_Computed">Computed</a> layout.</div>
  577. <div class="markdown level1 conceptual"></div>
  578. <h5 class="declaration">Declaration</h5>
  579. <div class="codewrapper">
  580. <pre><code class="lang-csharp hljs">public HexView(Stream source)</code></pre>
  581. </div>
  582. <h5 class="parameters">Parameters</h5>
  583. <table class="table table-bordered table-condensed">
  584. <thead>
  585. <tr>
  586. <th>Type</th>
  587. <th>Name</th>
  588. <th>Description</th>
  589. </tr>
  590. </thead>
  591. <tbody>
  592. <tr>
  593. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.stream">Stream</a></td>
  594. <td><span class="parametername">source</span></td>
  595. <td>The <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.stream">Stream</a> to view and edit as hex, this <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.stream">Stream</a> must support seeking, or an exception will be thrown.</td>
  596. </tr>
  597. </tbody>
  598. </table>
  599. <h3 id="properties">Properties
  600. </h3>
  601. <span class="small pull-right mobile-hide">
  602. <span class="divider">|</span>
  603. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_HexView_AllowEdits.md&amp;value=---%0Auid%3A%20Terminal.Gui.HexView.AllowEdits%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>
  604. </span>
  605. <span class="small pull-right mobile-hide">
  606. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Views/HexView.cs/#L549">View Source</a>
  607. </span>
  608. <a id="Terminal_Gui_HexView_AllowEdits_" data-uid="Terminal.Gui.HexView.AllowEdits*"></a>
  609. <h4 id="Terminal_Gui_HexView_AllowEdits" data-uid="Terminal.Gui.HexView.AllowEdits">AllowEdits</h4>
  610. <div class="markdown level1 summary">Gets or sets whether this <a class="xref" href="Terminal.Gui.HexView.html">HexView</a> allow editing of the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.stream">Stream</a>
  611. of the underlying <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.stream">Stream</a>.</div>
  612. <div class="markdown level1 conceptual"></div>
  613. <h5 class="declaration">Declaration</h5>
  614. <div class="codewrapper">
  615. <pre><code class="lang-csharp hljs">public bool AllowEdits { get; set; }</code></pre>
  616. </div>
  617. <h5 class="propertyValue">Property Value</h5>
  618. <table class="table table-bordered table-condensed">
  619. <thead>
  620. <tr>
  621. <th>Type</th>
  622. <th>Description</th>
  623. </tr>
  624. </thead>
  625. <tbody>
  626. <tr>
  627. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
  628. <td><code>true</code> if allow edits; otherwise, <code>false</code>.</td>
  629. </tr>
  630. </tbody>
  631. </table>
  632. <span class="small pull-right mobile-hide">
  633. <span class="divider">|</span>
  634. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_HexView_BytesPerLine.md&amp;value=---%0Auid%3A%20Terminal.Gui.HexView.BytesPerLine%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>
  635. </span>
  636. <span class="small pull-right mobile-hide">
  637. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Views/HexView.cs/#L579">View Source</a>
  638. </span>
  639. <a id="Terminal_Gui_HexView_BytesPerLine_" data-uid="Terminal.Gui.HexView.BytesPerLine*"></a>
  640. <h4 id="Terminal_Gui_HexView_BytesPerLine" data-uid="Terminal.Gui.HexView.BytesPerLine">BytesPerLine</h4>
  641. <div class="markdown level1 summary">The bytes length per line.</div>
  642. <div class="markdown level1 conceptual"></div>
  643. <h5 class="declaration">Declaration</h5>
  644. <div class="codewrapper">
  645. <pre><code class="lang-csharp hljs">public int BytesPerLine { get; }</code></pre>
  646. </div>
  647. <h5 class="propertyValue">Property Value</h5>
  648. <table class="table table-bordered table-condensed">
  649. <thead>
  650. <tr>
  651. <th>Type</th>
  652. <th>Description</th>
  653. </tr>
  654. </thead>
  655. <tbody>
  656. <tr>
  657. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
  658. <td></td>
  659. </tr>
  660. </tbody>
  661. </table>
  662. <span class="small pull-right mobile-hide">
  663. <span class="divider">|</span>
  664. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_HexView_CursorPosition.md&amp;value=---%0Auid%3A%20Terminal.Gui.HexView.CursorPosition%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>
  665. </span>
  666. <span class="small pull-right mobile-hide">
  667. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Views/HexView.cs/#L566">View Source</a>
  668. </span>
  669. <a id="Terminal_Gui_HexView_CursorPosition_" data-uid="Terminal.Gui.HexView.CursorPosition*"></a>
  670. <h4 id="Terminal_Gui_HexView_CursorPosition" data-uid="Terminal.Gui.HexView.CursorPosition">CursorPosition</h4>
  671. <div class="markdown level1 summary">Gets the current cursor position starting at one for both, line and column.</div>
  672. <div class="markdown level1 conceptual"></div>
  673. <h5 class="declaration">Declaration</h5>
  674. <div class="codewrapper">
  675. <pre><code class="lang-csharp hljs">public Point CursorPosition { get; }</code></pre>
  676. </div>
  677. <h5 class="propertyValue">Property Value</h5>
  678. <table class="table table-bordered table-condensed">
  679. <thead>
  680. <tr>
  681. <th>Type</th>
  682. <th>Description</th>
  683. </tr>
  684. </thead>
  685. <tbody>
  686. <tr>
  687. <td><a class="xref" href="Terminal.Gui.Point.html">Point</a></td>
  688. <td></td>
  689. </tr>
  690. </tbody>
  691. </table>
  692. <span class="small pull-right mobile-hide">
  693. <span class="divider">|</span>
  694. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_HexView_DesiredCursorVisibility.md&amp;value=---%0Auid%3A%20Terminal.Gui.HexView.DesiredCursorVisibility%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>
  695. </span>
  696. <span class="small pull-right mobile-hide">
  697. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Views/HexView.cs/#L616">View Source</a>
  698. </span>
  699. <a id="Terminal_Gui_HexView_DesiredCursorVisibility_" data-uid="Terminal.Gui.HexView.DesiredCursorVisibility*"></a>
  700. <h4 id="Terminal_Gui_HexView_DesiredCursorVisibility" data-uid="Terminal.Gui.HexView.DesiredCursorVisibility">DesiredCursorVisibility</h4>
  701. <div class="markdown level1 summary">Get / Set the wished cursor when the field is focused</div>
  702. <div class="markdown level1 conceptual"></div>
  703. <h5 class="declaration">Declaration</h5>
  704. <div class="codewrapper">
  705. <pre><code class="lang-csharp hljs">public CursorVisibility DesiredCursorVisibility { get; set; }</code></pre>
  706. </div>
  707. <h5 class="propertyValue">Property Value</h5>
  708. <table class="table table-bordered table-condensed">
  709. <thead>
  710. <tr>
  711. <th>Type</th>
  712. <th>Description</th>
  713. </tr>
  714. </thead>
  715. <tbody>
  716. <tr>
  717. <td><a class="xref" href="Terminal.Gui.CursorVisibility.html">CursorVisibility</a></td>
  718. <td></td>
  719. </tr>
  720. </tbody>
  721. </table>
  722. <span class="small pull-right mobile-hide">
  723. <span class="divider">|</span>
  724. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_HexView_DisplayStart.md&amp;value=---%0Auid%3A%20Terminal.Gui.HexView.DisplayStart%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>
  725. </span>
  726. <span class="small pull-right mobile-hide">
  727. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Views/HexView.cs/#L149">View Source</a>
  728. </span>
  729. <a id="Terminal_Gui_HexView_DisplayStart_" data-uid="Terminal.Gui.HexView.DisplayStart*"></a>
  730. <h4 id="Terminal_Gui_HexView_DisplayStart" data-uid="Terminal.Gui.HexView.DisplayStart">DisplayStart</h4>
  731. <div class="markdown level1 summary">Sets or gets the offset into the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.stream">Stream</a> that will displayed at the top of the <a class="xref" href="Terminal.Gui.HexView.html">HexView</a></div>
  732. <div class="markdown level1 conceptual"></div>
  733. <h5 class="declaration">Declaration</h5>
  734. <div class="codewrapper">
  735. <pre><code class="lang-csharp hljs">public long DisplayStart { get; set; }</code></pre>
  736. </div>
  737. <h5 class="propertyValue">Property Value</h5>
  738. <table class="table table-bordered table-condensed">
  739. <thead>
  740. <tr>
  741. <th>Type</th>
  742. <th>Description</th>
  743. </tr>
  744. </thead>
  745. <tbody>
  746. <tr>
  747. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int64">long</a></td>
  748. <td>The display start.</td>
  749. </tr>
  750. </tbody>
  751. </table>
  752. <span class="small pull-right mobile-hide">
  753. <span class="divider">|</span>
  754. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_HexView_Edits.md&amp;value=---%0Auid%3A%20Terminal.Gui.HexView.Edits%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>
  755. </span>
  756. <span class="small pull-right mobile-hide">
  757. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Views/HexView.cs/#L556">View Source</a>
  758. </span>
  759. <a id="Terminal_Gui_HexView_Edits_" data-uid="Terminal.Gui.HexView.Edits*"></a>
  760. <h4 id="Terminal_Gui_HexView_Edits" data-uid="Terminal.Gui.HexView.Edits">Edits</h4>
  761. <div class="markdown level1 summary">Gets a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.sorteddictionary-2">SortedDictionary&lt;TKey, TValue&gt;</a> describing the edits done to the <a class="xref" href="Terminal.Gui.HexView.html">HexView</a>.
  762. Each Key indicates an offset where an edit was made and the Value is the changed byte.</div>
  763. <div class="markdown level1 conceptual"></div>
  764. <h5 class="declaration">Declaration</h5>
  765. <div class="codewrapper">
  766. <pre><code class="lang-csharp hljs">public IReadOnlyDictionary&lt;long, byte&gt; Edits { get; }</code></pre>
  767. </div>
  768. <h5 class="propertyValue">Property Value</h5>
  769. <table class="table table-bordered table-condensed">
  770. <thead>
  771. <tr>
  772. <th>Type</th>
  773. <th>Description</th>
  774. </tr>
  775. </thead>
  776. <tbody>
  777. <tr>
  778. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlydictionary-2">IReadOnlyDictionary</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int64">long</a>, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.byte">byte</a>&gt;</td>
  779. <td>The edits.</td>
  780. </tr>
  781. </tbody>
  782. </table>
  783. <span class="small pull-right mobile-hide">
  784. <span class="divider">|</span>
  785. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_HexView_Frame.md&amp;value=---%0Auid%3A%20Terminal.Gui.HexView.Frame%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>
  786. </span>
  787. <span class="small pull-right mobile-hide">
  788. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Views/HexView.cs/#L170">View Source</a>
  789. </span>
  790. <a id="Terminal_Gui_HexView_Frame_" data-uid="Terminal.Gui.HexView.Frame*"></a>
  791. <h4 id="Terminal_Gui_HexView_Frame" data-uid="Terminal.Gui.HexView.Frame">Frame</h4>
  792. <div class="markdown level1 summary">Gets or sets the frame for the view. The frame is relative to the view's container (<a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SuperView">SuperView</a>).</div>
  793. <div class="markdown level1 conceptual"></div>
  794. <h5 class="declaration">Declaration</h5>
  795. <div class="codewrapper">
  796. <pre><code class="lang-csharp hljs">public override Rect Frame { get; set; }</code></pre>
  797. </div>
  798. <h5 class="propertyValue">Property Value</h5>
  799. <table class="table table-bordered table-condensed">
  800. <thead>
  801. <tr>
  802. <th>Type</th>
  803. <th>Description</th>
  804. </tr>
  805. </thead>
  806. <tbody>
  807. <tr>
  808. <td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
  809. <td>The frame.</td>
  810. </tr>
  811. </tbody>
  812. </table>
  813. <h5 class="overrides">Overrides</h5>
  814. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Frame">View.Frame</a></div>
  815. <h5 id="Terminal_Gui_HexView_Frame_remarks">Remarks</h5>
  816. <div class="markdown level1 remarks"><p>
  817. Change the Frame when using the <a class="xref" href="Terminal.Gui.LayoutStyle.html#Terminal_Gui_LayoutStyle_Absolute">Absolute</a> layout style to move or resize views.
  818. </p>
  819. <p>
  820. Altering the Frame of a view will trigger the redrawing of the
  821. view as well as the redrawing of the affected regions of the <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SuperView">SuperView</a>.
  822. </p></div>
  823. <span class="small pull-right mobile-hide">
  824. <span class="divider">|</span>
  825. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_HexView_Position.md&amp;value=---%0Auid%3A%20Terminal.Gui.HexView.Position%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>
  826. </span>
  827. <span class="small pull-right mobile-hide">
  828. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Views/HexView.cs/#L561">View Source</a>
  829. </span>
  830. <a id="Terminal_Gui_HexView_Position_" data-uid="Terminal.Gui.HexView.Position*"></a>
  831. <h4 id="Terminal_Gui_HexView_Position" data-uid="Terminal.Gui.HexView.Position">Position</h4>
  832. <div class="markdown level1 summary">Gets the current character position starting at one, related to the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.stream">Stream</a>.</div>
  833. <div class="markdown level1 conceptual"></div>
  834. <h5 class="declaration">Declaration</h5>
  835. <div class="codewrapper">
  836. <pre><code class="lang-csharp hljs">public long Position { get; }</code></pre>
  837. </div>
  838. <h5 class="propertyValue">Property Value</h5>
  839. <table class="table table-bordered table-condensed">
  840. <thead>
  841. <tr>
  842. <th>Type</th>
  843. <th>Description</th>
  844. </tr>
  845. </thead>
  846. <tbody>
  847. <tr>
  848. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int64">long</a></td>
  849. <td></td>
  850. </tr>
  851. </tbody>
  852. </table>
  853. <span class="small pull-right mobile-hide">
  854. <span class="divider">|</span>
  855. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_HexView_Source.md&amp;value=---%0Auid%3A%20Terminal.Gui.HexView.Source%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>
  856. </span>
  857. <span class="small pull-right mobile-hide">
  858. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Views/HexView.cs/#L117">View Source</a>
  859. </span>
  860. <a id="Terminal_Gui_HexView_Source_" data-uid="Terminal.Gui.HexView.Source*"></a>
  861. <h4 id="Terminal_Gui_HexView_Source" data-uid="Terminal.Gui.HexView.Source">Source</h4>
  862. <div class="markdown level1 summary">Sets or gets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.stream">Stream</a> the <a class="xref" href="Terminal.Gui.HexView.html">HexView</a> is operating on; the stream must support seeking (<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.stream.canseek">CanSeek</a> == true).</div>
  863. <div class="markdown level1 conceptual"></div>
  864. <h5 class="declaration">Declaration</h5>
  865. <div class="codewrapper">
  866. <pre><code class="lang-csharp hljs">public Stream Source { get; set; }</code></pre>
  867. </div>
  868. <h5 class="propertyValue">Property Value</h5>
  869. <table class="table table-bordered table-condensed">
  870. <thead>
  871. <tr>
  872. <th>Type</th>
  873. <th>Description</th>
  874. </tr>
  875. </thead>
  876. <tbody>
  877. <tr>
  878. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.stream">Stream</a></td>
  879. <td>The source.</td>
  880. </tr>
  881. </tbody>
  882. </table>
  883. <h3 id="methods">Methods
  884. </h3>
  885. <span class="small pull-right mobile-hide">
  886. <span class="divider">|</span>
  887. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_HexView_ApplyEdits_System_IO_Stream_.md&amp;value=---%0Auid%3A%20Terminal.Gui.HexView.ApplyEdits(System.IO.Stream)%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>
  888. </span>
  889. <span class="small pull-right mobile-hide">
  890. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Views/HexView.cs/#L586">View Source</a>
  891. </span>
  892. <a id="Terminal_Gui_HexView_ApplyEdits_" data-uid="Terminal.Gui.HexView.ApplyEdits*"></a>
  893. <h4 id="Terminal_Gui_HexView_ApplyEdits_System_IO_Stream_" data-uid="Terminal.Gui.HexView.ApplyEdits(System.IO.Stream)">ApplyEdits(Stream)</h4>
  894. <div class="markdown level1 summary">This method applies and edits made to the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.stream">Stream</a> and resets the
  895. contents of the <a class="xref" href="Terminal.Gui.HexView.html#Terminal_Gui_HexView_Edits">Edits</a> property.</div>
  896. <div class="markdown level1 conceptual"></div>
  897. <h5 class="declaration">Declaration</h5>
  898. <div class="codewrapper">
  899. <pre><code class="lang-csharp hljs">public void ApplyEdits(Stream stream = null)</code></pre>
  900. </div>
  901. <h5 class="parameters">Parameters</h5>
  902. <table class="table table-bordered table-condensed">
  903. <thead>
  904. <tr>
  905. <th>Type</th>
  906. <th>Name</th>
  907. <th>Description</th>
  908. </tr>
  909. </thead>
  910. <tbody>
  911. <tr>
  912. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.stream">Stream</a></td>
  913. <td><span class="parametername">stream</span></td>
  914. <td>If provided also applies the changes to the passed <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.stream">Stream</a></td>
  915. </tr>
  916. </tbody>
  917. </table>
  918. <span class="small pull-right mobile-hide">
  919. <span class="divider">|</span>
  920. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_HexView_DiscardEdits.md&amp;value=---%0Auid%3A%20Terminal.Gui.HexView.DiscardEdits%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>
  921. </span>
  922. <span class="small pull-right mobile-hide">
  923. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Views/HexView.cs/#L606">View Source</a>
  924. </span>
  925. <a id="Terminal_Gui_HexView_DiscardEdits_" data-uid="Terminal.Gui.HexView.DiscardEdits*"></a>
  926. <h4 id="Terminal_Gui_HexView_DiscardEdits" data-uid="Terminal.Gui.HexView.DiscardEdits">DiscardEdits()</h4>
  927. <div class="markdown level1 summary">This method discards the edits made to the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.stream">Stream</a> by resetting the
  928. contents of the <a class="xref" href="Terminal.Gui.HexView.html#Terminal_Gui_HexView_Edits">Edits</a> property.</div>
  929. <div class="markdown level1 conceptual"></div>
  930. <h5 class="declaration">Declaration</h5>
  931. <div class="codewrapper">
  932. <pre><code class="lang-csharp hljs">public void DiscardEdits()</code></pre>
  933. </div>
  934. <span class="small pull-right mobile-hide">
  935. <span class="divider">|</span>
  936. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_HexView_MouseEvent_Terminal_Gui_MouseEvent_.md&amp;value=---%0Auid%3A%20Terminal.Gui.HexView.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>
  937. </span>
  938. <span class="small pull-right mobile-hide">
  939. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Views/HexView.cs/#L491">View Source</a>
  940. </span>
  941. <a id="Terminal_Gui_HexView_MouseEvent_" data-uid="Terminal.Gui.HexView.MouseEvent*"></a>
  942. <h4 id="Terminal_Gui_HexView_MouseEvent_Terminal_Gui_MouseEvent_" data-uid="Terminal.Gui.HexView.MouseEvent(Terminal.Gui.MouseEvent)">MouseEvent(MouseEvent)</h4>
  943. <div class="markdown level1 summary">Method invoked when a mouse event is generated</div>
  944. <div class="markdown level1 conceptual"></div>
  945. <h5 class="declaration">Declaration</h5>
  946. <div class="codewrapper">
  947. <pre><code class="lang-csharp hljs">public override bool MouseEvent(MouseEvent me)</code></pre>
  948. </div>
  949. <h5 class="parameters">Parameters</h5>
  950. <table class="table table-bordered table-condensed">
  951. <thead>
  952. <tr>
  953. <th>Type</th>
  954. <th>Name</th>
  955. <th>Description</th>
  956. </tr>
  957. </thead>
  958. <tbody>
  959. <tr>
  960. <td><a class="xref" href="Terminal.Gui.MouseEvent.html">MouseEvent</a></td>
  961. <td><span class="parametername">me</span></td>
  962. <td></td>
  963. </tr>
  964. </tbody>
  965. </table>
  966. <h5 class="returns">Returns</h5>
  967. <table class="table table-bordered table-condensed">
  968. <thead>
  969. <tr>
  970. <th>Type</th>
  971. <th>Description</th>
  972. </tr>
  973. </thead>
  974. <tbody>
  975. <tr>
  976. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
  977. <td><code>true</code>, if the event was handled, <code>false</code> otherwise.</td>
  978. </tr>
  979. </tbody>
  980. </table>
  981. <h5 class="overrides">Overrides</h5>
  982. <div><a class="xref" href="Terminal.Gui.Responder.html#Terminal_Gui_Responder_MouseEvent_Terminal_Gui_MouseEvent_">Responder.MouseEvent(MouseEvent)</a></div>
  983. <span class="small pull-right mobile-hide">
  984. <span class="divider">|</span>
  985. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_HexView_OnEdited_System_Collections_Generic_KeyValuePair_System_Int64_System_Byte__.md&amp;value=---%0Auid%3A%20Terminal.Gui.HexView.OnEdited(System.Collections.Generic.KeyValuePair%7BSystem.Int64%2CSystem.Byte%7D)%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>
  986. </span>
  987. <span class="small pull-right mobile-hide">
  988. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Views/HexView.cs/#L477">View Source</a>
  989. </span>
  990. <a id="Terminal_Gui_HexView_OnEdited_" data-uid="Terminal.Gui.HexView.OnEdited*"></a>
  991. <h4 id="Terminal_Gui_HexView_OnEdited_System_Collections_Generic_KeyValuePair_System_Int64_System_Byte__" data-uid="Terminal.Gui.HexView.OnEdited(System.Collections.Generic.KeyValuePair{System.Int64,System.Byte})">OnEdited(KeyValuePair&lt;long, byte&gt;)</h4>
  992. <div class="markdown level1 summary">Method used to invoke the <a class="xref" href="Terminal.Gui.HexView.html#Terminal_Gui_HexView_Edited">Edited</a> event passing the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.keyvaluepair-2">KeyValuePair&lt;TKey, TValue&gt;</a>.</div>
  993. <div class="markdown level1 conceptual"></div>
  994. <h5 class="declaration">Declaration</h5>
  995. <div class="codewrapper">
  996. <pre><code class="lang-csharp hljs">public virtual void OnEdited(KeyValuePair&lt;long, byte&gt; keyValuePair)</code></pre>
  997. </div>
  998. <h5 class="parameters">Parameters</h5>
  999. <table class="table table-bordered table-condensed">
  1000. <thead>
  1001. <tr>
  1002. <th>Type</th>
  1003. <th>Name</th>
  1004. <th>Description</th>
  1005. </tr>
  1006. </thead>
  1007. <tbody>
  1008. <tr>
  1009. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.keyvaluepair-2">KeyValuePair</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int64">long</a>, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.byte">byte</a>&gt;</td>
  1010. <td><span class="parametername">keyValuePair</span></td>
  1011. <td>The key value pair.</td>
  1012. </tr>
  1013. </tbody>
  1014. </table>
  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_HexView_OnEnter_Terminal_Gui_View_.md&amp;value=---%0Auid%3A%20Terminal.Gui.HexView.OnEnter(Terminal.Gui.View)%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/HexView.cs/#L628">View Source</a>
  1021. </span>
  1022. <a id="Terminal_Gui_HexView_OnEnter_" data-uid="Terminal.Gui.HexView.OnEnter*"></a>
  1023. <h4 id="Terminal_Gui_HexView_OnEnter_Terminal_Gui_View_" data-uid="Terminal.Gui.HexView.OnEnter(Terminal.Gui.View)">OnEnter(View)</h4>
  1024. <div class="markdown level1 summary">Method invoked when a view gets focus.</div>
  1025. <div class="markdown level1 conceptual"></div>
  1026. <h5 class="declaration">Declaration</h5>
  1027. <div class="codewrapper">
  1028. <pre><code class="lang-csharp hljs">public override bool OnEnter(View view)</code></pre>
  1029. </div>
  1030. <h5 class="parameters">Parameters</h5>
  1031. <table class="table table-bordered table-condensed">
  1032. <thead>
  1033. <tr>
  1034. <th>Type</th>
  1035. <th>Name</th>
  1036. <th>Description</th>
  1037. </tr>
  1038. </thead>
  1039. <tbody>
  1040. <tr>
  1041. <td><a class="xref" href="Terminal.Gui.View.html">View</a></td>
  1042. <td><span class="parametername">view</span></td>
  1043. <td>The view that is losing focus.</td>
  1044. </tr>
  1045. </tbody>
  1046. </table>
  1047. <h5 class="returns">Returns</h5>
  1048. <table class="table table-bordered table-condensed">
  1049. <thead>
  1050. <tr>
  1051. <th>Type</th>
  1052. <th>Description</th>
  1053. </tr>
  1054. </thead>
  1055. <tbody>
  1056. <tr>
  1057. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
  1058. <td><code>true</code>, if the event was handled, <code>false</code> otherwise.</td>
  1059. </tr>
  1060. </tbody>
  1061. </table>
  1062. <h5 class="overrides">Overrides</h5>
  1063. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnEnter_Terminal_Gui_View_">View.OnEnter(View)</a></div>
  1064. <span class="small pull-right mobile-hide">
  1065. <span class="divider">|</span>
  1066. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_HexView_OnPositionChanged.md&amp;value=---%0Auid%3A%20Terminal.Gui.HexView.OnPositionChanged%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>
  1067. </span>
  1068. <span class="small pull-right mobile-hide">
  1069. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Views/HexView.cs/#L485">View Source</a>
  1070. </span>
  1071. <a id="Terminal_Gui_HexView_OnPositionChanged_" data-uid="Terminal.Gui.HexView.OnPositionChanged*"></a>
  1072. <h4 id="Terminal_Gui_HexView_OnPositionChanged" data-uid="Terminal.Gui.HexView.OnPositionChanged">OnPositionChanged()</h4>
  1073. <div class="markdown level1 summary">Method used to invoke the <a class="xref" href="Terminal.Gui.HexView.html#Terminal_Gui_HexView_PositionChanged">PositionChanged</a> event passing the <a class="xref" href="Terminal.Gui.HexView.HexViewEventArgs.html">HexView.HexViewEventArgs</a> arguments.</div>
  1074. <div class="markdown level1 conceptual"></div>
  1075. <h5 class="declaration">Declaration</h5>
  1076. <div class="codewrapper">
  1077. <pre><code class="lang-csharp hljs">public virtual void OnPositionChanged()</code></pre>
  1078. </div>
  1079. <span class="small pull-right mobile-hide">
  1080. <span class="divider">|</span>
  1081. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_HexView_PositionCursor.md&amp;value=---%0Auid%3A%20Terminal.Gui.HexView.PositionCursor%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>
  1082. </span>
  1083. <span class="small pull-right mobile-hide">
  1084. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Views/HexView.cs/#L279">View Source</a>
  1085. </span>
  1086. <a id="Terminal_Gui_HexView_PositionCursor_" data-uid="Terminal.Gui.HexView.PositionCursor*"></a>
  1087. <h4 id="Terminal_Gui_HexView_PositionCursor" data-uid="Terminal.Gui.HexView.PositionCursor">PositionCursor()</h4>
  1088. <div class="markdown level1 summary">Positions the cursor in the right position based on the currently focused view in the chain.</div>
  1089. <div class="markdown level1 conceptual"></div>
  1090. <h5 class="declaration">Declaration</h5>
  1091. <div class="codewrapper">
  1092. <pre><code class="lang-csharp hljs">public override void PositionCursor()</code></pre>
  1093. </div>
  1094. <h5 class="overrides">Overrides</h5>
  1095. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_PositionCursor">View.PositionCursor()</a></div>
  1096. <span class="small pull-right mobile-hide">
  1097. <span class="divider">|</span>
  1098. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_HexView_ProcessKey_Terminal_Gui_KeyEvent_.md&amp;value=---%0Auid%3A%20Terminal.Gui.HexView.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>
  1099. </span>
  1100. <span class="small pull-right mobile-hide">
  1101. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Views/HexView.cs/#L426">View Source</a>
  1102. </span>
  1103. <a id="Terminal_Gui_HexView_ProcessKey_" data-uid="Terminal.Gui.HexView.ProcessKey*"></a>
  1104. <h4 id="Terminal_Gui_HexView_ProcessKey_Terminal_Gui_KeyEvent_" data-uid="Terminal.Gui.HexView.ProcessKey(Terminal.Gui.KeyEvent)">ProcessKey(KeyEvent)</h4>
  1105. <div class="markdown level1 summary">If the view is focused, gives the view a
  1106. chance to process the keystroke.</div>
  1107. <div class="markdown level1 conceptual"></div>
  1108. <h5 class="declaration">Declaration</h5>
  1109. <div class="codewrapper">
  1110. <pre><code class="lang-csharp hljs">public override bool ProcessKey(KeyEvent keyEvent)</code></pre>
  1111. </div>
  1112. <h5 class="parameters">Parameters</h5>
  1113. <table class="table table-bordered table-condensed">
  1114. <thead>
  1115. <tr>
  1116. <th>Type</th>
  1117. <th>Name</th>
  1118. <th>Description</th>
  1119. </tr>
  1120. </thead>
  1121. <tbody>
  1122. <tr>
  1123. <td><a class="xref" href="Terminal.Gui.KeyEvent.html">KeyEvent</a></td>
  1124. <td><span class="parametername">keyEvent</span></td>
  1125. <td>Contains the details about the key that produced the event.</td>
  1126. </tr>
  1127. </tbody>
  1128. </table>
  1129. <h5 class="returns">Returns</h5>
  1130. <table class="table table-bordered table-condensed">
  1131. <thead>
  1132. <tr>
  1133. <th>Type</th>
  1134. <th>Description</th>
  1135. </tr>
  1136. </thead>
  1137. <tbody>
  1138. <tr>
  1139. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
  1140. <td></td>
  1141. </tr>
  1142. </tbody>
  1143. </table>
  1144. <h5 class="overrides">Overrides</h5>
  1145. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ProcessKey_Terminal_Gui_KeyEvent_">View.ProcessKey(KeyEvent)</a></div>
  1146. <h5 id="Terminal_Gui_HexView_ProcessKey_Terminal_Gui_KeyEvent__remarks">Remarks</h5>
  1147. <div class="markdown level1 remarks"><p>
  1148. Views can override this method if they are
  1149. interested in processing the given keystroke.
  1150. If they consume the keystroke, they must
  1151. return true to stop the keystroke from being
  1152. processed by other widgets or consumed by the
  1153. widget engine. If they return false, the
  1154. keystroke will be passed using the ProcessColdKey
  1155. method to other views to process.
  1156. </p>
  1157. <p>
  1158. The View implementation does nothing but return false,
  1159. so it is not necessary to call base.ProcessKey if you
  1160. derive directly from View, but you should if you derive
  1161. other View subclasses.
  1162. </p></div>
  1163. <span class="small pull-right mobile-hide">
  1164. <span class="divider">|</span>
  1165. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_HexView_Redraw_Terminal_Gui_Rect_.md&amp;value=---%0Auid%3A%20Terminal.Gui.HexView.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>
  1166. </span>
  1167. <span class="small pull-right mobile-hide">
  1168. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Views/HexView.cs/#L201">View Source</a>
  1169. </span>
  1170. <a id="Terminal_Gui_HexView_Redraw_" data-uid="Terminal.Gui.HexView.Redraw*"></a>
  1171. <h4 id="Terminal_Gui_HexView_Redraw_Terminal_Gui_Rect_" data-uid="Terminal.Gui.HexView.Redraw(Terminal.Gui.Rect)">Redraw(Rect)</h4>
  1172. <div class="markdown level1 summary">Redraws this view and its subviews; only redraws the views that have been flagged for a re-display.</div>
  1173. <div class="markdown level1 conceptual"></div>
  1174. <h5 class="declaration">Declaration</h5>
  1175. <div class="codewrapper">
  1176. <pre><code class="lang-csharp hljs">public override void Redraw(Rect bounds)</code></pre>
  1177. </div>
  1178. <h5 class="parameters">Parameters</h5>
  1179. <table class="table table-bordered table-condensed">
  1180. <thead>
  1181. <tr>
  1182. <th>Type</th>
  1183. <th>Name</th>
  1184. <th>Description</th>
  1185. </tr>
  1186. </thead>
  1187. <tbody>
  1188. <tr>
  1189. <td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
  1190. <td><span class="parametername">bounds</span></td>
  1191. <td>The bounds (view-relative region) to redraw.</td>
  1192. </tr>
  1193. </tbody>
  1194. </table>
  1195. <h5 class="overrides">Overrides</h5>
  1196. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Redraw_Terminal_Gui_Rect_">View.Redraw(Rect)</a></div>
  1197. <h5 id="Terminal_Gui_HexView_Redraw_Terminal_Gui_Rect__remarks">Remarks</h5>
  1198. <div class="markdown level1 remarks"><p>
  1199. 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).
  1200. </p>
  1201. <p>
  1202. Views should set the color that they want to use on entry, as otherwise this will inherit
  1203. the last color that was set globally on the driver.
  1204. </p>
  1205. <p>
  1206. 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
  1207. larger than the <ref name="bounds"></ref> parameter, as this will cause the driver to clip the entire region.
  1208. </p></div>
  1209. <h3 id="events">Events
  1210. </h3>
  1211. <span class="small pull-right mobile-hide">
  1212. <span class="divider">|</span>
  1213. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_HexView_Edited.md&amp;value=---%0Auid%3A%20Terminal.Gui.HexView.Edited%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>
  1214. </span>
  1215. <span class="small pull-right mobile-hide">
  1216. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Views/HexView.cs/#L106">View Source</a>
  1217. </span>
  1218. <h4 id="Terminal_Gui_HexView_Edited" data-uid="Terminal.Gui.HexView.Edited">Edited</h4>
  1219. <div class="markdown level1 summary">Event to be invoked when an edit is made on the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.stream">Stream</a>.</div>
  1220. <div class="markdown level1 conceptual"></div>
  1221. <h5 class="declaration">Declaration</h5>
  1222. <div class="codewrapper">
  1223. <pre><code class="lang-csharp hljs">public event Action&lt;KeyValuePair&lt;long, byte&gt;&gt; Edited</code></pre>
  1224. </div>
  1225. <h5 class="eventType">Event Type</h5>
  1226. <table class="table table-bordered table-condensed">
  1227. <thead>
  1228. <tr>
  1229. <th>Type</th>
  1230. <th>Description</th>
  1231. </tr>
  1232. </thead>
  1233. <tbody>
  1234. <tr>
  1235. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.action-1">Action</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.keyvaluepair-2">KeyValuePair</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int64">long</a>, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.byte">byte</a>&gt;&gt;</td>
  1236. <td></td>
  1237. </tr>
  1238. </tbody>
  1239. </table>
  1240. <span class="small pull-right mobile-hide">
  1241. <span class="divider">|</span>
  1242. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_HexView_PositionChanged.md&amp;value=---%0Auid%3A%20Terminal.Gui.HexView.PositionChanged%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>
  1243. </span>
  1244. <span class="small pull-right mobile-hide">
  1245. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Views/HexView.cs/#L111">View Source</a>
  1246. </span>
  1247. <h4 id="Terminal_Gui_HexView_PositionChanged" data-uid="Terminal.Gui.HexView.PositionChanged">PositionChanged</h4>
  1248. <div class="markdown level1 summary">Event to be invoked when the position and cursor position changes.</div>
  1249. <div class="markdown level1 conceptual"></div>
  1250. <h5 class="declaration">Declaration</h5>
  1251. <div class="codewrapper">
  1252. <pre><code class="lang-csharp hljs">public event Action&lt;HexView.HexViewEventArgs&gt; PositionChanged</code></pre>
  1253. </div>
  1254. <h5 class="eventType">Event Type</h5>
  1255. <table class="table table-bordered table-condensed">
  1256. <thead>
  1257. <tr>
  1258. <th>Type</th>
  1259. <th>Description</th>
  1260. </tr>
  1261. </thead>
  1262. <tbody>
  1263. <tr>
  1264. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.action-1">Action</a>&lt;<a class="xref" href="Terminal.Gui.HexView.html">HexView</a>.<a class="xref" href="Terminal.Gui.HexView.HexViewEventArgs.html">HexViewEventArgs</a>&gt;</td>
  1265. <td></td>
  1266. </tr>
  1267. </tbody>
  1268. </table>
  1269. <h3 id="implements">Implements</h3>
  1270. <div>
  1271. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a>
  1272. </div>
  1273. <div>
  1274. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.isupportinitializenotification">ISupportInitializeNotification</a>
  1275. </div>
  1276. <div>
  1277. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.isupportinitialize">ISupportInitialize</a>
  1278. </div>
  1279. </article>
  1280. </div>
  1281. <div class="hidden-sm col-md-2" role="complementary">
  1282. <div class="sideaffix">
  1283. <div class="contribution">
  1284. <ul class="nav">
  1285. <li>
  1286. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_HexView.md&amp;value=---%0Auid%3A%20Terminal.Gui.HexView%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>
  1287. </li>
  1288. <li>
  1289. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Views/HexView.cs/#L37" class="contribution-link">View Source</a>
  1290. </li>
  1291. </ul>
  1292. </div>
  1293. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  1294. <h5>In this article</h5>
  1295. <div></div>
  1296. </nav>
  1297. </div>
  1298. </div>
  1299. </div>
  1300. </div>
  1301. <footer>
  1302. <div class="grad-bottom"></div>
  1303. <div class="footer">
  1304. <div class="container">
  1305. <span class="pull-right">
  1306. <a href="#top">Back to top</a>
  1307. </span>
  1308. <span>Generated by <strong>DocFX</strong></span>
  1309. </div>
  1310. </div>
  1311. </footer>
  1312. </div>
  1313. <script type="text/javascript" src="../../styles/docfx.vendor.min.js"></script>
  1314. <script type="text/javascript" src="../../styles/docfx.js"></script>
  1315. <script type="text/javascript" src="../../styles/main.js"></script>
  1316. </body>
  1317. </html>