Terminal.Gui.HexView.HexViewEventArgs.html 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306
  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.HexViewEventArgs
  8. </title>
  9. <meta name="viewport" content="width=device-width">
  10. <meta name="title" content="Class HexView.HexViewEventArgs
  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.HexViewEventArgs">
  72. <h1 id="Terminal_Gui_HexView_HexViewEventArgs" data-uid="Terminal.Gui.HexView.HexViewEventArgs" class="text-break">Class HexView.HexViewEventArgs
  73. </h1>
  74. <div class="markdown level0 summary">Defines the event arguments for <a class="xref" href="Terminal.Gui.HexView.html#Terminal_Gui_HexView_PositionChanged">PositionChanged</a> event.</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="https://learn.microsoft.com/dotnet/api/system.eventargs">EventArgs</a></div>
  80. <div class="level2"><span class="xref">HexView.HexViewEventArgs</span></div>
  81. </div>
  82. <div class="inheritedMembers">
  83. <h5>Inherited Members</h5>
  84. <div>
  85. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.eventargs.empty">EventArgs.Empty</a>
  86. </div>
  87. <div>
  88. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">object.Equals(object)</a>
  89. </div>
  90. <div>
  91. <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>
  92. </div>
  93. <div>
  94. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gethashcode">object.GetHashCode()</a>
  95. </div>
  96. <div>
  97. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gettype">object.GetType()</a>
  98. </div>
  99. <div>
  100. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone">object.MemberwiseClone()</a>
  101. </div>
  102. <div>
  103. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.referenceequals">object.ReferenceEquals(object, object)</a>
  104. </div>
  105. <div>
  106. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.tostring">object.ToString()</a>
  107. </div>
  108. </div>
  109. <h6><strong>Namespace</strong>: <a class="xref" href="Terminal.html">Terminal</a>.<a class="xref" href="Terminal.Gui.html">Gui</a></h6>
  110. <h6><strong>Assembly</strong>: Terminal.Gui.dll</h6>
  111. <h5 id="Terminal_Gui_HexView_HexViewEventArgs_syntax">Syntax</h5>
  112. <div class="codewrapper">
  113. <pre><code class="lang-csharp hljs">public class HexView.HexViewEventArgs : EventArgs</code></pre>
  114. </div>
  115. <h3 id="constructors">Constructors
  116. </h3>
  117. <span class="small pull-right mobile-hide">
  118. <span class="divider">|</span>
  119. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_HexView_HexViewEventArgs__ctor_System_Int64_Terminal_Gui_Point_System_Int32_.md&amp;value=---%0Auid%3A%20Terminal.Gui.HexView.HexViewEventArgs.%23ctor(System.Int64%2CTerminal.Gui.Point%2CSystem.Int32)%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>
  120. </span>
  121. <span class="small pull-right mobile-hide">
  122. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Views/HexView.cs/#L659">View Source</a>
  123. </span>
  124. <a id="Terminal_Gui_HexView_HexViewEventArgs__ctor_" data-uid="Terminal.Gui.HexView.HexViewEventArgs.#ctor*"></a>
  125. <h4 id="Terminal_Gui_HexView_HexViewEventArgs__ctor_System_Int64_Terminal_Gui_Point_System_Int32_" data-uid="Terminal.Gui.HexView.HexViewEventArgs.#ctor(System.Int64,Terminal.Gui.Point,System.Int32)">HexViewEventArgs(long, Point, int)</h4>
  126. <div class="markdown level1 summary">Initializes a new instance of <a class="xref" href="Terminal.Gui.HexView.HexViewEventArgs.html">HexView.HexViewEventArgs</a></div>
  127. <div class="markdown level1 conceptual"></div>
  128. <h5 class="declaration">Declaration</h5>
  129. <div class="codewrapper">
  130. <pre><code class="lang-csharp hljs">public HexViewEventArgs(long pos, Point cursor, int lineLength)</code></pre>
  131. </div>
  132. <h5 class="parameters">Parameters</h5>
  133. <table class="table table-bordered table-condensed">
  134. <thead>
  135. <tr>
  136. <th>Type</th>
  137. <th>Name</th>
  138. <th>Description</th>
  139. </tr>
  140. </thead>
  141. <tbody>
  142. <tr>
  143. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int64">long</a></td>
  144. <td><span class="parametername">pos</span></td>
  145. <td>The character position.</td>
  146. </tr>
  147. <tr>
  148. <td><a class="xref" href="Terminal.Gui.Point.html">Point</a></td>
  149. <td><span class="parametername">cursor</span></td>
  150. <td>The cursor position.</td>
  151. </tr>
  152. <tr>
  153. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
  154. <td><span class="parametername">lineLength</span></td>
  155. <td>Line bytes length.</td>
  156. </tr>
  157. </tbody>
  158. </table>
  159. <h3 id="properties">Properties
  160. </h3>
  161. <span class="small pull-right mobile-hide">
  162. <span class="divider">|</span>
  163. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_HexView_HexViewEventArgs_BytesPerLine.md&amp;value=---%0Auid%3A%20Terminal.Gui.HexView.HexViewEventArgs.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>
  164. </span>
  165. <span class="small pull-right mobile-hide">
  166. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Views/HexView.cs/#L651">View Source</a>
  167. </span>
  168. <a id="Terminal_Gui_HexView_HexViewEventArgs_BytesPerLine_" data-uid="Terminal.Gui.HexView.HexViewEventArgs.BytesPerLine*"></a>
  169. <h4 id="Terminal_Gui_HexView_HexViewEventArgs_BytesPerLine" data-uid="Terminal.Gui.HexView.HexViewEventArgs.BytesPerLine">BytesPerLine</h4>
  170. <div class="markdown level1 summary">The bytes length per line.</div>
  171. <div class="markdown level1 conceptual"></div>
  172. <h5 class="declaration">Declaration</h5>
  173. <div class="codewrapper">
  174. <pre><code class="lang-csharp hljs">public int BytesPerLine { get; }</code></pre>
  175. </div>
  176. <h5 class="propertyValue">Property Value</h5>
  177. <table class="table table-bordered table-condensed">
  178. <thead>
  179. <tr>
  180. <th>Type</th>
  181. <th>Description</th>
  182. </tr>
  183. </thead>
  184. <tbody>
  185. <tr>
  186. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
  187. <td></td>
  188. </tr>
  189. </tbody>
  190. </table>
  191. <span class="small pull-right mobile-hide">
  192. <span class="divider">|</span>
  193. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_HexView_HexViewEventArgs_CursorPosition.md&amp;value=---%0Auid%3A%20Terminal.Gui.HexView.HexViewEventArgs.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>
  194. </span>
  195. <span class="small pull-right mobile-hide">
  196. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Views/HexView.cs/#L646">View Source</a>
  197. </span>
  198. <a id="Terminal_Gui_HexView_HexViewEventArgs_CursorPosition_" data-uid="Terminal.Gui.HexView.HexViewEventArgs.CursorPosition*"></a>
  199. <h4 id="Terminal_Gui_HexView_HexViewEventArgs_CursorPosition" data-uid="Terminal.Gui.HexView.HexViewEventArgs.CursorPosition">CursorPosition</h4>
  200. <div class="markdown level1 summary">Gets the current cursor position starting at one for both, line and column.</div>
  201. <div class="markdown level1 conceptual"></div>
  202. <h5 class="declaration">Declaration</h5>
  203. <div class="codewrapper">
  204. <pre><code class="lang-csharp hljs">public Point CursorPosition { get; }</code></pre>
  205. </div>
  206. <h5 class="propertyValue">Property Value</h5>
  207. <table class="table table-bordered table-condensed">
  208. <thead>
  209. <tr>
  210. <th>Type</th>
  211. <th>Description</th>
  212. </tr>
  213. </thead>
  214. <tbody>
  215. <tr>
  216. <td><a class="xref" href="Terminal.Gui.Point.html">Point</a></td>
  217. <td></td>
  218. </tr>
  219. </tbody>
  220. </table>
  221. <span class="small pull-right mobile-hide">
  222. <span class="divider">|</span>
  223. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_HexView_HexViewEventArgs_Position.md&amp;value=---%0Auid%3A%20Terminal.Gui.HexView.HexViewEventArgs.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>
  224. </span>
  225. <span class="small pull-right mobile-hide">
  226. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Views/HexView.cs/#L642">View Source</a>
  227. </span>
  228. <a id="Terminal_Gui_HexView_HexViewEventArgs_Position_" data-uid="Terminal.Gui.HexView.HexViewEventArgs.Position*"></a>
  229. <h4 id="Terminal_Gui_HexView_HexViewEventArgs_Position" data-uid="Terminal.Gui.HexView.HexViewEventArgs.Position">Position</h4>
  230. <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>
  231. <div class="markdown level1 conceptual"></div>
  232. <h5 class="declaration">Declaration</h5>
  233. <div class="codewrapper">
  234. <pre><code class="lang-csharp hljs">public long Position { get; }</code></pre>
  235. </div>
  236. <h5 class="propertyValue">Property Value</h5>
  237. <table class="table table-bordered table-condensed">
  238. <thead>
  239. <tr>
  240. <th>Type</th>
  241. <th>Description</th>
  242. </tr>
  243. </thead>
  244. <tbody>
  245. <tr>
  246. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int64">long</a></td>
  247. <td></td>
  248. </tr>
  249. </tbody>
  250. </table>
  251. </article>
  252. </div>
  253. <div class="hidden-sm col-md-2" role="complementary">
  254. <div class="sideaffix">
  255. <div class="contribution">
  256. <ul class="nav">
  257. <li>
  258. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_HexView_HexViewEventArgs.md&amp;value=---%0Auid%3A%20Terminal.Gui.HexView.HexViewEventArgs%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>
  259. </li>
  260. <li>
  261. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Views/HexView.cs/#L638" class="contribution-link">View Source</a>
  262. </li>
  263. </ul>
  264. </div>
  265. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  266. <h5>In this article</h5>
  267. <div></div>
  268. </nav>
  269. </div>
  270. </div>
  271. </div>
  272. </div>
  273. <footer>
  274. <div class="grad-bottom"></div>
  275. <div class="footer">
  276. <div class="container">
  277. <span class="pull-right">
  278. <a href="#top">Back to top</a>
  279. </span>
  280. <span>Generated by <strong>DocFX</strong></span>
  281. </div>
  282. </div>
  283. </footer>
  284. </div>
  285. <script type="text/javascript" src="../../styles/docfx.vendor.min.js"></script>
  286. <script type="text/javascript" src="../../styles/docfx.js"></script>
  287. <script type="text/javascript" src="../../styles/main.js"></script>
  288. </body>
  289. </html>