Terminal.Gui.MouseEvent.html 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381
  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>Struct MouseEvent
  8. </title>
  9. <meta name="viewport" content="width=device-width">
  10. <meta name="title" content="Struct MouseEvent
  11. ">
  12. <meta name="generator" content="docfx 2.59.4.0">
  13. <link rel="shortcut icon" href="../../favicon.ico">
  14. <link rel="stylesheet" href="../../styles/docfx.vendor.css">
  15. <link rel="stylesheet" href="../../styles/docfx.css">
  16. <link rel="stylesheet" href="../../styles/main.css">
  17. <link href="https://fonts.googleapis.com/css?family=Source Sans Pro" rel="stylesheet">
  18. <link href="https://fonts.googleapis.com/css?family=Source Code Pro" rel="stylesheet">
  19. <meta property="docfx:navrel" content="../../toc.html">
  20. <meta property="docfx:tocrel" content="toc.html">
  21. <meta property="docfx:rel" content="../../">
  22. </head> <body data-spy="scroll" data-target="#affix" data-offset="120">
  23. <div id="wrapper">
  24. <header>
  25. <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
  26. <div class="container">
  27. <div class="navbar-header">
  28. <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
  29. <span class="sr-only">Toggle navigation</span>
  30. <span class="icon-bar"></span>
  31. <span class="icon-bar"></span>
  32. <span class="icon-bar"></span>
  33. </button>
  34. <a class="navbar-brand" href="../../index.html">
  35. <img id="logo" class="svg" src="../../images/logo48.png" alt="">
  36. </a>
  37. </div>
  38. <div class="collapse navbar-collapse" id="navbar">
  39. <form class="navbar-form navbar-right" role="search" id="search">
  40. <div class="form-group">
  41. <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
  42. </div>
  43. </form>
  44. </div>
  45. </div>
  46. </nav>
  47. <div class="subnav navbar navbar-default">
  48. <div class="container hide-when-search" id="breadcrumb">
  49. <ul class="breadcrumb">
  50. <li></li>
  51. </ul>
  52. </div>
  53. </div>
  54. </header>
  55. <div class="container body-content">
  56. <div id="search-results">
  57. <div class="search-list">Search Results for <span></span></div>
  58. <div class="sr-items">
  59. <p><i class="glyphicon glyphicon-refresh index-loading"></i></p>
  60. </div>
  61. <ul id="pagination" data-first="First" data-prev="Previous" data-next="Next" data-last="Last"></ul>
  62. </div>
  63. </div>
  64. <div role="main" class="container body-content hide-when-search">
  65. <div class="sidenav hide-when-search">
  66. <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
  67. <div class="sidetoggle collapse" id="sidetoggle">
  68. <div id="sidetoc"></div>
  69. </div>
  70. </div>
  71. <div class="article row grid-right">
  72. <div class="col-md-10">
  73. <article class="content wrap" id="_content" data-uid="Terminal.Gui.MouseEvent">
  74. <h1 id="Terminal_Gui_MouseEvent" data-uid="Terminal.Gui.MouseEvent" class="text-break">Struct MouseEvent
  75. </h1>
  76. <div class="markdown level0 summary">
  77. Describes a mouse event
  78. </div>
  79. <div class="markdown level0 conceptual"></div>
  80. <div class="inheritedMembers">
  81. <h5>Inherited Members</h5>
  82. <div>
  83. <span class="xref">System.ValueType.Equals(System.Object)</span>
  84. </div>
  85. <div>
  86. <span class="xref">System.ValueType.GetHashCode()</span>
  87. </div>
  88. <div>
  89. <span class="xref">System.Object.Equals(System.Object, System.Object)</span>
  90. </div>
  91. <div>
  92. <span class="xref">System.Object.GetType()</span>
  93. </div>
  94. <div>
  95. <span class="xref">System.Object.ReferenceEquals(System.Object, System.Object)</span>
  96. </div>
  97. </div>
  98. <h6><strong>Namespace</strong>: <a class="xref" href="Terminal.Gui.html">Terminal.Gui</a></h6>
  99. <h6><strong>Assembly</strong>: Terminal.Gui.dll</h6>
  100. <h5 id="Terminal_Gui_MouseEvent_syntax">Syntax</h5>
  101. <div class="codewrapper">
  102. <pre><code class="lang-csharp hljs">public struct MouseEvent</code></pre>
  103. </div>
  104. <h3 id="fields">Fields
  105. </h3>
  106. <span class="small pull-right mobile-hide">
  107. <span class="divider">|</span>
  108. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_MouseEvent_Flags.md&amp;value=---%0Auid%3A%20Terminal.Gui.MouseEvent.Flags%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  109. </span>
  110. <span class="small pull-right mobile-hide">
  111. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Event.cs/#L725">View Source</a>
  112. </span>
  113. <h4 id="Terminal_Gui_MouseEvent_Flags" data-uid="Terminal.Gui.MouseEvent.Flags">Flags</h4>
  114. <div class="markdown level1 summary">
  115. Flags indicating the kind of mouse event that is being posted.
  116. </div>
  117. <div class="markdown level1 conceptual"></div>
  118. <h5 class="decalaration">Declaration</h5>
  119. <div class="codewrapper">
  120. <pre><code class="lang-csharp hljs">public MouseFlags Flags</code></pre>
  121. </div>
  122. <h5 class="fieldValue">Field Value</h5>
  123. <table class="table table-bordered table-striped table-condensed">
  124. <thead>
  125. <tr>
  126. <th>Type</th>
  127. <th>Description</th>
  128. </tr>
  129. </thead>
  130. <tbody>
  131. <tr>
  132. <td><a class="xref" href="Terminal.Gui.MouseFlags.html">MouseFlags</a></td>
  133. <td></td>
  134. </tr>
  135. </tbody>
  136. </table>
  137. <span class="small pull-right mobile-hide">
  138. <span class="divider">|</span>
  139. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_MouseEvent_OfX.md&amp;value=---%0Auid%3A%20Terminal.Gui.MouseEvent.OfX%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  140. </span>
  141. <span class="small pull-right mobile-hide">
  142. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Event.cs/#L730">View Source</a>
  143. </span>
  144. <h4 id="Terminal_Gui_MouseEvent_OfX" data-uid="Terminal.Gui.MouseEvent.OfX">OfX</h4>
  145. <div class="markdown level1 summary">
  146. The offset X (column) location for the mouse event.
  147. </div>
  148. <div class="markdown level1 conceptual"></div>
  149. <h5 class="decalaration">Declaration</h5>
  150. <div class="codewrapper">
  151. <pre><code class="lang-csharp hljs">public int OfX</code></pre>
  152. </div>
  153. <h5 class="fieldValue">Field Value</h5>
  154. <table class="table table-bordered table-striped table-condensed">
  155. <thead>
  156. <tr>
  157. <th>Type</th>
  158. <th>Description</th>
  159. </tr>
  160. </thead>
  161. <tbody>
  162. <tr>
  163. <td><span class="xref">System.Int32</span></td>
  164. <td></td>
  165. </tr>
  166. </tbody>
  167. </table>
  168. <span class="small pull-right mobile-hide">
  169. <span class="divider">|</span>
  170. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_MouseEvent_OfY.md&amp;value=---%0Auid%3A%20Terminal.Gui.MouseEvent.OfY%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  171. </span>
  172. <span class="small pull-right mobile-hide">
  173. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Event.cs/#L735">View Source</a>
  174. </span>
  175. <h4 id="Terminal_Gui_MouseEvent_OfY" data-uid="Terminal.Gui.MouseEvent.OfY">OfY</h4>
  176. <div class="markdown level1 summary">
  177. The offset Y (column) location for the mouse event.
  178. </div>
  179. <div class="markdown level1 conceptual"></div>
  180. <h5 class="decalaration">Declaration</h5>
  181. <div class="codewrapper">
  182. <pre><code class="lang-csharp hljs">public int OfY</code></pre>
  183. </div>
  184. <h5 class="fieldValue">Field Value</h5>
  185. <table class="table table-bordered table-striped table-condensed">
  186. <thead>
  187. <tr>
  188. <th>Type</th>
  189. <th>Description</th>
  190. </tr>
  191. </thead>
  192. <tbody>
  193. <tr>
  194. <td><span class="xref">System.Int32</span></td>
  195. <td></td>
  196. </tr>
  197. </tbody>
  198. </table>
  199. <span class="small pull-right mobile-hide">
  200. <span class="divider">|</span>
  201. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_MouseEvent_View.md&amp;value=---%0Auid%3A%20Terminal.Gui.MouseEvent.View%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  202. </span>
  203. <span class="small pull-right mobile-hide">
  204. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Event.cs/#L740">View Source</a>
  205. </span>
  206. <h4 id="Terminal_Gui_MouseEvent_View" data-uid="Terminal.Gui.MouseEvent.View">View</h4>
  207. <div class="markdown level1 summary">
  208. The current view at the location for the mouse event.
  209. </div>
  210. <div class="markdown level1 conceptual"></div>
  211. <h5 class="decalaration">Declaration</h5>
  212. <div class="codewrapper">
  213. <pre><code class="lang-csharp hljs">public View View</code></pre>
  214. </div>
  215. <h5 class="fieldValue">Field Value</h5>
  216. <table class="table table-bordered table-striped table-condensed">
  217. <thead>
  218. <tr>
  219. <th>Type</th>
  220. <th>Description</th>
  221. </tr>
  222. </thead>
  223. <tbody>
  224. <tr>
  225. <td><a class="xref" href="Terminal.Gui.View.html">View</a></td>
  226. <td></td>
  227. </tr>
  228. </tbody>
  229. </table>
  230. <span class="small pull-right mobile-hide">
  231. <span class="divider">|</span>
  232. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_MouseEvent_X.md&amp;value=---%0Auid%3A%20Terminal.Gui.MouseEvent.X%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  233. </span>
  234. <span class="small pull-right mobile-hide">
  235. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Event.cs/#L715">View Source</a>
  236. </span>
  237. <h4 id="Terminal_Gui_MouseEvent_X" data-uid="Terminal.Gui.MouseEvent.X">X</h4>
  238. <div class="markdown level1 summary">
  239. The X (column) location for the mouse event.
  240. </div>
  241. <div class="markdown level1 conceptual"></div>
  242. <h5 class="decalaration">Declaration</h5>
  243. <div class="codewrapper">
  244. <pre><code class="lang-csharp hljs">public int X</code></pre>
  245. </div>
  246. <h5 class="fieldValue">Field Value</h5>
  247. <table class="table table-bordered table-striped table-condensed">
  248. <thead>
  249. <tr>
  250. <th>Type</th>
  251. <th>Description</th>
  252. </tr>
  253. </thead>
  254. <tbody>
  255. <tr>
  256. <td><span class="xref">System.Int32</span></td>
  257. <td></td>
  258. </tr>
  259. </tbody>
  260. </table>
  261. <span class="small pull-right mobile-hide">
  262. <span class="divider">|</span>
  263. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_MouseEvent_Y.md&amp;value=---%0Auid%3A%20Terminal.Gui.MouseEvent.Y%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  264. </span>
  265. <span class="small pull-right mobile-hide">
  266. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Event.cs/#L720">View Source</a>
  267. </span>
  268. <h4 id="Terminal_Gui_MouseEvent_Y" data-uid="Terminal.Gui.MouseEvent.Y">Y</h4>
  269. <div class="markdown level1 summary">
  270. The Y (column) location for the mouse event.
  271. </div>
  272. <div class="markdown level1 conceptual"></div>
  273. <h5 class="decalaration">Declaration</h5>
  274. <div class="codewrapper">
  275. <pre><code class="lang-csharp hljs">public int Y</code></pre>
  276. </div>
  277. <h5 class="fieldValue">Field Value</h5>
  278. <table class="table table-bordered table-striped table-condensed">
  279. <thead>
  280. <tr>
  281. <th>Type</th>
  282. <th>Description</th>
  283. </tr>
  284. </thead>
  285. <tbody>
  286. <tr>
  287. <td><span class="xref">System.Int32</span></td>
  288. <td></td>
  289. </tr>
  290. </tbody>
  291. </table>
  292. <h3 id="methods">Methods
  293. </h3>
  294. <span class="small pull-right mobile-hide">
  295. <span class="divider">|</span>
  296. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_MouseEvent_ToString.md&amp;value=---%0Auid%3A%20Terminal.Gui.MouseEvent.ToString%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  297. </span>
  298. <span class="small pull-right mobile-hide">
  299. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Event.cs/#L746">View Source</a>
  300. </span>
  301. <a id="Terminal_Gui_MouseEvent_ToString_" data-uid="Terminal.Gui.MouseEvent.ToString*"></a>
  302. <h4 id="Terminal_Gui_MouseEvent_ToString" data-uid="Terminal.Gui.MouseEvent.ToString">ToString()</h4>
  303. <div class="markdown level1 summary">
  304. Returns a <span class="xref">System.String</span> that represents the current <a class="xref" href="Terminal.Gui.MouseEvent.html">MouseEvent</a>.
  305. </div>
  306. <div class="markdown level1 conceptual"></div>
  307. <h5 class="decalaration">Declaration</h5>
  308. <div class="codewrapper">
  309. <pre><code class="lang-csharp hljs">public override string ToString()</code></pre>
  310. </div>
  311. <h5 class="returns">Returns</h5>
  312. <table class="table table-bordered table-striped table-condensed">
  313. <thead>
  314. <tr>
  315. <th>Type</th>
  316. <th>Description</th>
  317. </tr>
  318. </thead>
  319. <tbody>
  320. <tr>
  321. <td><span class="xref">System.String</span></td>
  322. <td>A <span class="xref">System.String</span> that represents the current <a class="xref" href="Terminal.Gui.MouseEvent.html">MouseEvent</a>.</td>
  323. </tr>
  324. </tbody>
  325. </table>
  326. <h5 class="overrides">Overrides</h5>
  327. <div><span class="xref">System.ValueType.ToString()</span></div>
  328. </article>
  329. </div>
  330. <div class="hidden-sm col-md-2" role="complementary">
  331. <div class="sideaffix">
  332. <div class="contribution">
  333. <ul class="nav">
  334. <li>
  335. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_MouseEvent.md&amp;value=---%0Auid%3A%20Terminal.Gui.MouseEvent%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" class="contribution-link">Improve this Doc</a>
  336. </li>
  337. <li>
  338. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Event.cs/#L711" class="contribution-link">View Source</a>
  339. </li>
  340. </ul>
  341. </div>
  342. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  343. <h5>In This Article</h5>
  344. <div></div>
  345. </nav>
  346. </div>
  347. </div>
  348. </div>
  349. </div>
  350. <footer>
  351. <div class="grad-bottom"></div>
  352. <div class="footer">
  353. <div class="container">
  354. <span class="pull-right">
  355. <a href="#top">Back to top</a>
  356. </span>
  357. <span>Generated by <strong>DocFX</strong></span>
  358. </div>
  359. </div>
  360. </footer>
  361. </div>
  362. <script type="text/javascript" src="../../styles/docfx.vendor.js"></script>
  363. <script type="text/javascript" src="../../styles/docfx.js"></script>
  364. <script type="text/javascript" src="../../styles/main.js"></script>
  365. </body>
  366. </html>