Terminal.Gui.KeyModifiers.html 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308
  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 KeyModifiers
  8. </title>
  9. <meta name="viewport" content="width=device-width">
  10. <meta name="title" content="Class KeyModifiers
  11. ">
  12. <meta name="generator" content="docfx 2.59.3.0">
  13. <link rel="shortcut icon" href="../../favicon.ico">
  14. <link rel="stylesheet" href="../../styles/docfx.vendor.css">
  15. <link rel="stylesheet" href="../../styles/docfx.css">
  16. <link rel="stylesheet" href="../../styles/main.css">
  17. <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.KeyModifiers">
  74. <h1 id="Terminal_Gui_KeyModifiers" data-uid="Terminal.Gui.KeyModifiers" class="text-break">Class KeyModifiers
  75. </h1>
  76. <div class="markdown level0 summary">
  77. Identifies the state of the &quot;shift&quot;-keys within a event.
  78. </div>
  79. <div class="markdown level0 conceptual"></div>
  80. <div class="inheritance">
  81. <h5>Inheritance</h5>
  82. <div class="level0"><span class="xref">System.Object</span></div>
  83. <div class="level1"><span class="xref">KeyModifiers</span></div>
  84. </div>
  85. <h6><strong>Namespace</strong>: <a class="xref" href="Terminal.Gui.html">Terminal.Gui</a></h6>
  86. <h6><strong>Assembly</strong>: Terminal.Gui.dll</h6>
  87. <h5 id="Terminal_Gui_KeyModifiers_syntax">Syntax</h5>
  88. <div class="codewrapper">
  89. <pre><code class="lang-csharp hljs">public class KeyModifiers : Object</code></pre>
  90. </div>
  91. <h3 id="constructors">Constructors
  92. </h3>
  93. <a id="Terminal_Gui_KeyModifiers__ctor_" data-uid="Terminal.Gui.KeyModifiers.#ctor*"></a>
  94. <h4 id="Terminal_Gui_KeyModifiers__ctor" data-uid="Terminal.Gui.KeyModifiers.#ctor">KeyModifiers()</h4>
  95. <div class="markdown level1 summary"></div>
  96. <div class="markdown level1 conceptual"></div>
  97. <h5 class="decalaration">Declaration</h5>
  98. <div class="codewrapper">
  99. <pre><code class="lang-csharp hljs">public KeyModifiers()</code></pre>
  100. </div>
  101. <h3 id="fields">Fields
  102. </h3>
  103. <h4 id="Terminal_Gui_KeyModifiers_Alt" data-uid="Terminal.Gui.KeyModifiers.Alt">Alt</h4>
  104. <div class="markdown level1 summary">
  105. Check if the Alt key was pressed or not.
  106. </div>
  107. <div class="markdown level1 conceptual"></div>
  108. <h5 class="decalaration">Declaration</h5>
  109. <div class="codewrapper">
  110. <pre><code class="lang-csharp hljs">public bool Alt</code></pre>
  111. </div>
  112. <h5 class="fieldValue">Field Value</h5>
  113. <table class="table table-bordered table-striped table-condensed">
  114. <thead>
  115. <tr>
  116. <th>Type</th>
  117. <th>Description</th>
  118. </tr>
  119. </thead>
  120. <tbody>
  121. <tr>
  122. <td><span class="xref">System.Boolean</span></td>
  123. <td></td>
  124. </tr>
  125. </tbody>
  126. </table>
  127. <h4 id="Terminal_Gui_KeyModifiers_Capslock" data-uid="Terminal.Gui.KeyModifiers.Capslock">Capslock</h4>
  128. <div class="markdown level1 summary">
  129. Check if the Caps lock key was pressed or not.
  130. </div>
  131. <div class="markdown level1 conceptual"></div>
  132. <h5 class="decalaration">Declaration</h5>
  133. <div class="codewrapper">
  134. <pre><code class="lang-csharp hljs">public bool Capslock</code></pre>
  135. </div>
  136. <h5 class="fieldValue">Field Value</h5>
  137. <table class="table table-bordered table-striped table-condensed">
  138. <thead>
  139. <tr>
  140. <th>Type</th>
  141. <th>Description</th>
  142. </tr>
  143. </thead>
  144. <tbody>
  145. <tr>
  146. <td><span class="xref">System.Boolean</span></td>
  147. <td></td>
  148. </tr>
  149. </tbody>
  150. </table>
  151. <h4 id="Terminal_Gui_KeyModifiers_Ctrl" data-uid="Terminal.Gui.KeyModifiers.Ctrl">Ctrl</h4>
  152. <div class="markdown level1 summary">
  153. Check if the Ctrl key was pressed or not.
  154. </div>
  155. <div class="markdown level1 conceptual"></div>
  156. <h5 class="decalaration">Declaration</h5>
  157. <div class="codewrapper">
  158. <pre><code class="lang-csharp hljs">public bool Ctrl</code></pre>
  159. </div>
  160. <h5 class="fieldValue">Field Value</h5>
  161. <table class="table table-bordered table-striped table-condensed">
  162. <thead>
  163. <tr>
  164. <th>Type</th>
  165. <th>Description</th>
  166. </tr>
  167. </thead>
  168. <tbody>
  169. <tr>
  170. <td><span class="xref">System.Boolean</span></td>
  171. <td></td>
  172. </tr>
  173. </tbody>
  174. </table>
  175. <h4 id="Terminal_Gui_KeyModifiers_Numlock" data-uid="Terminal.Gui.KeyModifiers.Numlock">Numlock</h4>
  176. <div class="markdown level1 summary">
  177. Check if the Num lock key was pressed or not.
  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 bool Numlock</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.Boolean</span></td>
  195. <td></td>
  196. </tr>
  197. </tbody>
  198. </table>
  199. <h4 id="Terminal_Gui_KeyModifiers_Scrolllock" data-uid="Terminal.Gui.KeyModifiers.Scrolllock">Scrolllock</h4>
  200. <div class="markdown level1 summary">
  201. Check if the Scroll lock key was pressed or not.
  202. </div>
  203. <div class="markdown level1 conceptual"></div>
  204. <h5 class="decalaration">Declaration</h5>
  205. <div class="codewrapper">
  206. <pre><code class="lang-csharp hljs">public bool Scrolllock</code></pre>
  207. </div>
  208. <h5 class="fieldValue">Field Value</h5>
  209. <table class="table table-bordered table-striped table-condensed">
  210. <thead>
  211. <tr>
  212. <th>Type</th>
  213. <th>Description</th>
  214. </tr>
  215. </thead>
  216. <tbody>
  217. <tr>
  218. <td><span class="xref">System.Boolean</span></td>
  219. <td></td>
  220. </tr>
  221. </tbody>
  222. </table>
  223. <h4 id="Terminal_Gui_KeyModifiers_Shift" data-uid="Terminal.Gui.KeyModifiers.Shift">Shift</h4>
  224. <div class="markdown level1 summary">
  225. Check if the Shift key was pressed or not.
  226. </div>
  227. <div class="markdown level1 conceptual"></div>
  228. <h5 class="decalaration">Declaration</h5>
  229. <div class="codewrapper">
  230. <pre><code class="lang-csharp hljs">public bool Shift</code></pre>
  231. </div>
  232. <h5 class="fieldValue">Field Value</h5>
  233. <table class="table table-bordered table-striped table-condensed">
  234. <thead>
  235. <tr>
  236. <th>Type</th>
  237. <th>Description</th>
  238. </tr>
  239. </thead>
  240. <tbody>
  241. <tr>
  242. <td><span class="xref">System.Boolean</span></td>
  243. <td></td>
  244. </tr>
  245. </tbody>
  246. </table>
  247. </article>
  248. </div>
  249. <div class="hidden-sm col-md-2" role="complementary">
  250. <div class="sideaffix">
  251. <div class="contribution">
  252. <ul class="nav">
  253. </ul>
  254. </div>
  255. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  256. <h5>In This Article</h5>
  257. <div></div>
  258. </nav>
  259. </div>
  260. </div>
  261. </div>
  262. </div>
  263. <footer>
  264. <div class="grad-bottom"></div>
  265. <div class="footer">
  266. <div class="container">
  267. <span class="pull-right">
  268. <a href="#top">Back to top</a>
  269. </span>
  270. <span>Generated by <strong>DocFX</strong></span>
  271. </div>
  272. </div>
  273. </footer>
  274. </div>
  275. <script type="text/javascript" src="../../styles/docfx.vendor.js"></script>
  276. <script type="text/javascript" src="../../styles/docfx.js"></script>
  277. <script type="text/javascript" src="../../styles/main.js"></script>
  278. </body>
  279. </html>