Terminal.Gui.KeyModifiers.html 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289
  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. <meta property="docfx:navrel" content="../../toc.html">
  18. <meta property="docfx:tocrel" content="toc.html">
  19. <meta property="docfx:rel" content="../../">
  20. </head>
  21. <body data-spy="scroll" data-target="#affix" data-offset="120">
  22. <div id="wrapper">
  23. <header>
  24. <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
  25. <div class="container">
  26. <div class="navbar-header">
  27. <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
  28. <span class="sr-only">Toggle navigation</span>
  29. <span class="icon-bar"></span>
  30. <span class="icon-bar"></span>
  31. <span class="icon-bar"></span>
  32. </button>
  33. <a class="navbar-brand" href="../../index.html">
  34. <img id="logo" class="svg" src="../../images/logo48.png" alt="">
  35. </a>
  36. </div>
  37. <div class="collapse navbar-collapse" id="navbar">
  38. <form class="navbar-form navbar-right" role="search" id="search">
  39. <div class="form-group">
  40. <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
  41. </div>
  42. </form>
  43. </div>
  44. </div>
  45. </nav>
  46. <div class="subnav navbar navbar-default">
  47. <div class="container hide-when-search" id="breadcrumb">
  48. <ul class="breadcrumb">
  49. <li></li>
  50. </ul>
  51. </div>
  52. </div>
  53. </header>
  54. <div class="container body-content">
  55. <div id="search-results">
  56. <div class="search-list">Search Results for <span></span></div>
  57. <div class="sr-items">
  58. <p><i class="glyphicon glyphicon-refresh index-loading"></i></p>
  59. </div>
  60. <ul id="pagination" data-first="First" data-prev="Previous" data-next="Next" data-last="Last"></ul>
  61. </div>
  62. </div>
  63. <div role="main" class="container body-content hide-when-search">
  64. <div class="sidenav hide-when-search">
  65. <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
  66. <div class="sidetoggle collapse" id="sidetoggle">
  67. <div id="sidetoc"></div>
  68. </div>
  69. </div>
  70. <div class="article row grid-right">
  71. <div class="col-md-10">
  72. <article class="content wrap" id="_content" data-uid="Terminal.Gui.KeyModifiers">
  73. <h1 id="Terminal_Gui_KeyModifiers" data-uid="Terminal.Gui.KeyModifiers" class="text-break">Class KeyModifiers
  74. </h1>
  75. <div class="markdown level0 summary">
  76. Identifies the state of the &quot;shift&quot;-keys within a event.
  77. </div>
  78. <div class="markdown level0 conceptual"></div>
  79. <div class="inheritance">
  80. <h5>Inheritance</h5>
  81. <div class="level0"><span class="xref">System.Object</span></div>
  82. <div class="level1"><span class="xref">KeyModifiers</span></div>
  83. </div>
  84. <h6><strong>Namespace</strong>: <a class="xref" href="Terminal.Gui.html">Terminal.Gui</a></h6>
  85. <h6><strong>Assembly</strong>: Terminal.Gui.dll</h6>
  86. <h5 id="Terminal_Gui_KeyModifiers_syntax">Syntax</h5>
  87. <div class="codewrapper">
  88. <pre><code class="lang-csharp hljs">public class KeyModifiers : Object</code></pre>
  89. </div>
  90. <h3 id="constructors">Constructors
  91. </h3>
  92. <a id="Terminal_Gui_KeyModifiers__ctor_" data-uid="Terminal.Gui.KeyModifiers.#ctor*"></a>
  93. <h4 id="Terminal_Gui_KeyModifiers__ctor" data-uid="Terminal.Gui.KeyModifiers.#ctor">KeyModifiers()</h4>
  94. <div class="markdown level1 summary"></div>
  95. <div class="markdown level1 conceptual"></div>
  96. <h5 class="decalaration">Declaration</h5>
  97. <div class="codewrapper">
  98. <pre><code class="lang-csharp hljs">public KeyModifiers()</code></pre>
  99. </div>
  100. <h3 id="fields">Fields
  101. </h3>
  102. <h4 id="Terminal_Gui_KeyModifiers_Alt" data-uid="Terminal.Gui.KeyModifiers.Alt">Alt</h4>
  103. <div class="markdown level1 summary">
  104. Check if the Alt key was pressed or not.
  105. </div>
  106. <div class="markdown level1 conceptual"></div>
  107. <h5 class="decalaration">Declaration</h5>
  108. <div class="codewrapper">
  109. <pre><code class="lang-csharp hljs">public bool Alt</code></pre>
  110. </div>
  111. <h5 class="fieldValue">Field Value</h5>
  112. <table class="table table-bordered table-striped table-condensed">
  113. <thead>
  114. <tr>
  115. <th>Type</th>
  116. <th>Description</th>
  117. </tr>
  118. </thead>
  119. <tbody>
  120. <tr>
  121. <td><span class="xref">System.Boolean</span></td>
  122. <td></td>
  123. </tr>
  124. </tbody>
  125. </table>
  126. <h4 id="Terminal_Gui_KeyModifiers_Capslock" data-uid="Terminal.Gui.KeyModifiers.Capslock">Capslock</h4>
  127. <div class="markdown level1 summary">
  128. Check if the Caps lock key was pressed or not.
  129. </div>
  130. <div class="markdown level1 conceptual"></div>
  131. <h5 class="decalaration">Declaration</h5>
  132. <div class="codewrapper">
  133. <pre><code class="lang-csharp hljs">public bool Capslock</code></pre>
  134. </div>
  135. <h5 class="fieldValue">Field Value</h5>
  136. <table class="table table-bordered table-striped table-condensed">
  137. <thead>
  138. <tr>
  139. <th>Type</th>
  140. <th>Description</th>
  141. </tr>
  142. </thead>
  143. <tbody>
  144. <tr>
  145. <td><span class="xref">System.Boolean</span></td>
  146. <td></td>
  147. </tr>
  148. </tbody>
  149. </table>
  150. <h4 id="Terminal_Gui_KeyModifiers_Ctrl" data-uid="Terminal.Gui.KeyModifiers.Ctrl">Ctrl</h4>
  151. <div class="markdown level1 summary">
  152. Check if the Ctrl key was pressed or not.
  153. </div>
  154. <div class="markdown level1 conceptual"></div>
  155. <h5 class="decalaration">Declaration</h5>
  156. <div class="codewrapper">
  157. <pre><code class="lang-csharp hljs">public bool Ctrl</code></pre>
  158. </div>
  159. <h5 class="fieldValue">Field Value</h5>
  160. <table class="table table-bordered table-striped table-condensed">
  161. <thead>
  162. <tr>
  163. <th>Type</th>
  164. <th>Description</th>
  165. </tr>
  166. </thead>
  167. <tbody>
  168. <tr>
  169. <td><span class="xref">System.Boolean</span></td>
  170. <td></td>
  171. </tr>
  172. </tbody>
  173. </table>
  174. <h4 id="Terminal_Gui_KeyModifiers_Numlock" data-uid="Terminal.Gui.KeyModifiers.Numlock">Numlock</h4>
  175. <div class="markdown level1 summary">
  176. Check if the Num lock key was pressed or not.
  177. </div>
  178. <div class="markdown level1 conceptual"></div>
  179. <h5 class="decalaration">Declaration</h5>
  180. <div class="codewrapper">
  181. <pre><code class="lang-csharp hljs">public bool Numlock</code></pre>
  182. </div>
  183. <h5 class="fieldValue">Field Value</h5>
  184. <table class="table table-bordered table-striped table-condensed">
  185. <thead>
  186. <tr>
  187. <th>Type</th>
  188. <th>Description</th>
  189. </tr>
  190. </thead>
  191. <tbody>
  192. <tr>
  193. <td><span class="xref">System.Boolean</span></td>
  194. <td></td>
  195. </tr>
  196. </tbody>
  197. </table>
  198. <h4 id="Terminal_Gui_KeyModifiers_Scrolllock" data-uid="Terminal.Gui.KeyModifiers.Scrolllock">Scrolllock</h4>
  199. <div class="markdown level1 summary">
  200. Check if the Scroll lock key was pressed or not.
  201. </div>
  202. <div class="markdown level1 conceptual"></div>
  203. <h5 class="decalaration">Declaration</h5>
  204. <div class="codewrapper">
  205. <pre><code class="lang-csharp hljs">public bool Scrolllock</code></pre>
  206. </div>
  207. <h5 class="fieldValue">Field Value</h5>
  208. <table class="table table-bordered table-striped table-condensed">
  209. <thead>
  210. <tr>
  211. <th>Type</th>
  212. <th>Description</th>
  213. </tr>
  214. </thead>
  215. <tbody>
  216. <tr>
  217. <td><span class="xref">System.Boolean</span></td>
  218. <td></td>
  219. </tr>
  220. </tbody>
  221. </table>
  222. <h4 id="Terminal_Gui_KeyModifiers_Shift" data-uid="Terminal.Gui.KeyModifiers.Shift">Shift</h4>
  223. <div class="markdown level1 summary">
  224. Check if the Shift key was pressed or not.
  225. </div>
  226. <div class="markdown level1 conceptual"></div>
  227. <h5 class="decalaration">Declaration</h5>
  228. <div class="codewrapper">
  229. <pre><code class="lang-csharp hljs">public bool Shift</code></pre>
  230. </div>
  231. <h5 class="fieldValue">Field Value</h5>
  232. <table class="table table-bordered table-striped table-condensed">
  233. <thead>
  234. <tr>
  235. <th>Type</th>
  236. <th>Description</th>
  237. </tr>
  238. </thead>
  239. <tbody>
  240. <tr>
  241. <td><span class="xref">System.Boolean</span></td>
  242. <td></td>
  243. </tr>
  244. </tbody>
  245. </table>
  246. </article>
  247. </div>
  248. <div class="hidden-sm col-md-2" role="complementary">
  249. <div class="sideaffix">
  250. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  251. <h5>In This Article</h5>
  252. <div></div>
  253. </nav>
  254. </div>
  255. </div>
  256. </div>
  257. </div>
  258. <footer>
  259. <div class="grad-bottom"></div>
  260. <div class="footer">
  261. <div class="container">
  262. <span class="pull-right">
  263. <a href="#top">Back to top</a>
  264. </span>
  265. <span>Generated by <strong>DocFX</strong></span>
  266. </div>
  267. </div>
  268. </footer>
  269. </div>
  270. <script type="text/javascript" src="../../styles/docfx.vendor.js"></script>
  271. <script type="text/javascript" src="../../styles/docfx.js"></script>
  272. <script type="text/javascript" src="../../styles/main.js"></script>
  273. </body>
  274. </html>