Terminal.Gui.Button.html 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750
  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 Button
  8. </title>
  9. <meta name="viewport" content="width=device-width">
  10. <meta name="title" content="Class Button
  11. ">
  12. <meta name="generator" content="docfx 2.18.2.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="">
  18. <meta property="docfx:tocrel" content="../toc.html">
  19. </head>
  20. <body data-spy="scroll" data-target="#affix">
  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="../../logo.svg" 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 role="main" class="container body-content hide-when-search">
  54. <div class="sidenav hide-when-search">
  55. <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
  56. <div class="sidetoggle collapse" id="sidetoggle">
  57. <div id="sidetoc"></div>
  58. </div>
  59. </div>
  60. <div class="article row grid-right">
  61. <div class="col-md-10">
  62. <article class="content wrap" id="_content" data-uid="Terminal.Gui.Button">
  63. <h1 id="Terminal_Gui_Button" data-uid="Terminal.Gui.Button">Class Button
  64. </h1>
  65. <div class="markdown level0 summary"><p>Button is a view that provides an item that invokes a callback when activated.</p>
  66. </div>
  67. <div class="markdown level0 conceptual"></div>
  68. <div class="inheritance">
  69. <h5>Inheritance</h5>
  70. <div class="level0"><span class="xref">System.Object</span></div>
  71. <div class="level1"><a class="xref" href="Terminal.Gui.Responder.html">Responder</a></div>
  72. <div class="level2"><a class="xref" href="Terminal.Gui.View.html">View</a></div>
  73. <div class="level3"><span class="xref">Button</span></div>
  74. </div>
  75. <div class="inheritedMembers">
  76. <h5>Inherited Members</h5>
  77. <div>
  78. <a class="xref" href="Terminal.Gui.Responder.html#Terminal_Gui_Responder_CanFocus">Responder.CanFocus</a>
  79. </div>
  80. <div>
  81. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Add_Terminal_Gui_View_">View.Add(View)</a>
  82. </div>
  83. <div>
  84. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Add_Terminal_Gui_View___">View.Add(View[])</a>
  85. </div>
  86. <div>
  87. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_AddCh_System_Int32_System_Int32_System_Int32_">View.AddCh(Int32, Int32, Int32)</a>
  88. </div>
  89. <div>
  90. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_AddRune_System_Int32_System_Int32_System_Rune_">View.AddRune(Int32, Int32, Rune)</a>
  91. </div>
  92. <div>
  93. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Bounds">View.Bounds</a>
  94. </div>
  95. <div>
  96. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ChildNeedsDisplay">View.ChildNeedsDisplay()</a>
  97. </div>
  98. <div>
  99. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Clear">View.Clear()</a>
  100. </div>
  101. <div>
  102. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Clear_Terminal_Gui_Rect_">View.Clear(Rect)</a>
  103. </div>
  104. <div>
  105. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearNeedsDisplay">View.ClearNeedsDisplay()</a>
  106. </div>
  107. <div>
  108. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClipToBounds">View.ClipToBounds()</a>
  109. </div>
  110. <div>
  111. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ColorScheme">View.ColorScheme</a>
  112. </div>
  113. <div>
  114. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_DrawFrame_Terminal_Gui_Rect_System_Boolean_">View.DrawFrame(Rect, Boolean)</a>
  115. </div>
  116. <div>
  117. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_DrawFrame_Terminal_Gui_Rect_System_Int32_System_Boolean_">View.DrawFrame(Rect, Int32, Boolean)</a>
  118. </div>
  119. <div>
  120. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_DrawHotString_NStack_ustring_System_Boolean_Terminal_Gui_ColorScheme_">View.DrawHotString(ustring, Boolean, ColorScheme)</a>
  121. </div>
  122. <div>
  123. <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>
  124. </div>
  125. <div>
  126. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_DrawHotString_System_String_System_Boolean_Terminal_Gui_ColorScheme_">View.DrawHotString(String, Boolean, ColorScheme)</a>
  127. </div>
  128. <div>
  129. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_DrawHotString_System_String_Terminal_Gui_Attribute_Terminal_Gui_Attribute_">View.DrawHotString(String, Attribute, Attribute)</a>
  130. </div>
  131. <div>
  132. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Driver">View.Driver</a>
  133. </div>
  134. <div>
  135. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_EnsureFocus">View.EnsureFocus()</a>
  136. </div>
  137. <div>
  138. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Focused">View.Focused</a>
  139. </div>
  140. <div>
  141. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusFirst">View.FocusFirst()</a>
  142. </div>
  143. <div>
  144. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusLast">View.FocusLast()</a>
  145. </div>
  146. <div>
  147. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusNext">View.FocusNext()</a>
  148. </div>
  149. <div>
  150. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusPrev">View.FocusPrev()</a>
  151. </div>
  152. <div>
  153. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Frame">View.Frame</a>
  154. </div>
  155. <div>
  156. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetEnumerator">View.GetEnumerator()</a>
  157. </div>
  158. <div>
  159. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_HasFocus">View.HasFocus</a>
  160. </div>
  161. <div>
  162. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Id">View.Id</a>
  163. </div>
  164. <div>
  165. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutSubviews">View.LayoutSubviews()</a>
  166. </div>
  167. <div>
  168. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_MostFocused">View.MostFocused</a>
  169. </div>
  170. <div>
  171. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Move_System_Int32_System_Int32_">View.Move(Int32, Int32)</a>
  172. </div>
  173. <div>
  174. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Remove_Terminal_Gui_View_">View.Remove(View)</a>
  175. </div>
  176. <div>
  177. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_RemoveAll">View.RemoveAll()</a>
  178. </div>
  179. <div>
  180. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ScreenToView_System_Int32_System_Int32_">View.ScreenToView(Int32, Int32)</a>
  181. </div>
  182. <div>
  183. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetClip_Terminal_Gui_Rect_">View.SetClip(Rect)</a>
  184. </div>
  185. <div>
  186. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetFocus_Terminal_Gui_View_">View.SetFocus(View)</a>
  187. </div>
  188. <div>
  189. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetNeedsDisplay">View.SetNeedsDisplay()</a>
  190. </div>
  191. <div>
  192. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetNeedsDisplay_Terminal_Gui_Rect_">View.SetNeedsDisplay(Rect)</a>
  193. </div>
  194. <div>
  195. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Subviews">View.Subviews</a>
  196. </div>
  197. <div>
  198. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SuperView">View.SuperView</a>
  199. </div>
  200. <div>
  201. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ToString">View.ToString()</a>
  202. </div>
  203. <div>
  204. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_WantMousePositionReports">View.WantMousePositionReports</a>
  205. </div>
  206. </div>
  207. <h6><strong>Namespace</strong>: <a class="xref" href="../Terminal.Gui.html">Terminal.Gui</a></h6>
  208. <h6><strong>Assembly</strong>: Terminal.Gui.dll</h6>
  209. <h5 id="Terminal_Gui_Button_syntax">Syntax</h5>
  210. <div class="codewrapper">
  211. <pre><code class="lang-csharp hljs">public class Button : Terminal.Gui.View</code></pre>
  212. </div>
  213. <h5 id="Terminal_Gui_Button_remarks"><strong>Remarks</strong></h5>
  214. <div class="markdown level0 remarks"><p>
  215. Provides a button that can be clicked, or pressed with
  216. the enter key and processes hotkeys (the first uppercase
  217. letter in the button becomes the hotkey).
  218. </p>
  219. <p>
  220. If the button is configured as the default (IsDefault) the button
  221. will respond to the return key is no other view processes it, and
  222. turns this into a clicked event.
  223. </p></div>
  224. <h3 id="constructors">Constructors
  225. </h3>
  226. <a id="Terminal_Gui_Button__ctor_" data-uid="Terminal.Gui.Button.#ctor*"></a>
  227. <h4 id="Terminal_Gui_Button__ctor_System_String_" data-uid="Terminal.Gui.Button.#ctor(System.String)">Button(String)</h4>
  228. <div class="markdown level1 summary"><p>Public constructor, creates a button based on
  229. the given text at position 0,0</p>
  230. </div>
  231. <div class="markdown level1 conceptual"></div>
  232. <h5 class="decalaration">Declaration</h5>
  233. <div class="codewrapper">
  234. <pre><code class="lang-csharp hljs">public Button (string s);</code></pre>
  235. </div>
  236. <h5 class="parameters">Parameters</h5>
  237. <table class="table table-bordered table-striped table-condensed">
  238. <thead>
  239. <tr>
  240. <th>Type</th>
  241. <th>Name</th>
  242. <th>Description</th>
  243. </tr>
  244. </thead>
  245. <tbody>
  246. <tr>
  247. <td><span class="xref">System.String</span></td>
  248. <td><span class="parametername">s</span></td>
  249. <td><p>To be added.</p>
  250. </td>
  251. </tr>
  252. </tbody>
  253. </table>
  254. <h5 id="Terminal_Gui_Button__ctor_System_String__remarks">Remarks</h5>
  255. <div class="markdown level1 remarks"><p>The size of the button is computed based on the
  256. text length. This button is not a default button.</p>
  257. </div>
  258. <a id="Terminal_Gui_Button__ctor_" data-uid="Terminal.Gui.Button.#ctor*"></a>
  259. <h4 id="Terminal_Gui_Button__ctor_System_String_System_Boolean_" data-uid="Terminal.Gui.Button.#ctor(System.String,System.Boolean)">Button(String, Boolean)</h4>
  260. <div class="markdown level1 summary"><p>Public constructor, creates a button based on
  261. the given text.</p>
  262. </div>
  263. <div class="markdown level1 conceptual"></div>
  264. <h5 class="decalaration">Declaration</h5>
  265. <div class="codewrapper">
  266. <pre><code class="lang-csharp hljs">public Button (string s, bool is_default);</code></pre>
  267. </div>
  268. <h5 class="parameters">Parameters</h5>
  269. <table class="table table-bordered table-striped table-condensed">
  270. <thead>
  271. <tr>
  272. <th>Type</th>
  273. <th>Name</th>
  274. <th>Description</th>
  275. </tr>
  276. </thead>
  277. <tbody>
  278. <tr>
  279. <td><span class="xref">System.String</span></td>
  280. <td><span class="parametername">s</span></td>
  281. <td><p>To be added.</p>
  282. </td>
  283. </tr>
  284. <tr>
  285. <td><span class="xref">System.Boolean</span></td>
  286. <td><span class="parametername">is_default</span></td>
  287. <td><p>To be added.</p>
  288. </td>
  289. </tr>
  290. </tbody>
  291. </table>
  292. <h5 id="Terminal_Gui_Button__ctor_System_String_System_Boolean__remarks">Remarks</h5>
  293. <div class="markdown level1 remarks"><p>If the value for is_default is true, a special
  294. decoration is used, and the enter key on a
  295. dialog would implicitly activate this button.</p>
  296. </div>
  297. <a id="Terminal_Gui_Button__ctor_" data-uid="Terminal.Gui.Button.#ctor*"></a>
  298. <h4 id="Terminal_Gui_Button__ctor_System_Int32_System_Int32_System_String_" data-uid="Terminal.Gui.Button.#ctor(System.Int32,System.Int32,System.String)">Button(Int32, Int32, String)</h4>
  299. <div class="markdown level1 summary"><p>Public constructor, creates a button based on
  300. the given text at the given position.</p>
  301. </div>
  302. <div class="markdown level1 conceptual"></div>
  303. <h5 class="decalaration">Declaration</h5>
  304. <div class="codewrapper">
  305. <pre><code class="lang-csharp hljs">public Button (int x, int y, string s);</code></pre>
  306. </div>
  307. <h5 class="parameters">Parameters</h5>
  308. <table class="table table-bordered table-striped table-condensed">
  309. <thead>
  310. <tr>
  311. <th>Type</th>
  312. <th>Name</th>
  313. <th>Description</th>
  314. </tr>
  315. </thead>
  316. <tbody>
  317. <tr>
  318. <td><span class="xref">System.Int32</span></td>
  319. <td><span class="parametername">x</span></td>
  320. <td><p>To be added.</p>
  321. </td>
  322. </tr>
  323. <tr>
  324. <td><span class="xref">System.Int32</span></td>
  325. <td><span class="parametername">y</span></td>
  326. <td><p>To be added.</p>
  327. </td>
  328. </tr>
  329. <tr>
  330. <td><span class="xref">System.String</span></td>
  331. <td><span class="parametername">s</span></td>
  332. <td><p>To be added.</p>
  333. </td>
  334. </tr>
  335. </tbody>
  336. </table>
  337. <h5 id="Terminal_Gui_Button__ctor_System_Int32_System_Int32_System_String__remarks">Remarks</h5>
  338. <div class="markdown level1 remarks"><p>The size of the button is computed based on the
  339. text length. This button is not a default button.</p>
  340. </div>
  341. <a id="Terminal_Gui_Button__ctor_" data-uid="Terminal.Gui.Button.#ctor*"></a>
  342. <h4 id="Terminal_Gui_Button__ctor_System_Int32_System_Int32_System_String_System_Boolean_" data-uid="Terminal.Gui.Button.#ctor(System.Int32,System.Int32,System.String,System.Boolean)">Button(Int32, Int32, String, Boolean)</h4>
  343. <div class="markdown level1 summary"><p>Public constructor, creates a button based on
  344. the given text at the given position.</p>
  345. </div>
  346. <div class="markdown level1 conceptual"></div>
  347. <h5 class="decalaration">Declaration</h5>
  348. <div class="codewrapper">
  349. <pre><code class="lang-csharp hljs">public Button (int x, int y, string s, bool is_default);</code></pre>
  350. </div>
  351. <h5 class="parameters">Parameters</h5>
  352. <table class="table table-bordered table-striped table-condensed">
  353. <thead>
  354. <tr>
  355. <th>Type</th>
  356. <th>Name</th>
  357. <th>Description</th>
  358. </tr>
  359. </thead>
  360. <tbody>
  361. <tr>
  362. <td><span class="xref">System.Int32</span></td>
  363. <td><span class="parametername">x</span></td>
  364. <td><p>To be added.</p>
  365. </td>
  366. </tr>
  367. <tr>
  368. <td><span class="xref">System.Int32</span></td>
  369. <td><span class="parametername">y</span></td>
  370. <td><p>To be added.</p>
  371. </td>
  372. </tr>
  373. <tr>
  374. <td><span class="xref">System.String</span></td>
  375. <td><span class="parametername">s</span></td>
  376. <td><p>To be added.</p>
  377. </td>
  378. </tr>
  379. <tr>
  380. <td><span class="xref">System.Boolean</span></td>
  381. <td><span class="parametername">is_default</span></td>
  382. <td><p>To be added.</p>
  383. </td>
  384. </tr>
  385. </tbody>
  386. </table>
  387. <h5 id="Terminal_Gui_Button__ctor_System_Int32_System_Int32_System_String_System_Boolean__remarks">Remarks</h5>
  388. <div class="markdown level1 remarks"><p>If the value for is_default is true, a special
  389. decoration is used, and the enter key on a
  390. dialog would implicitly activate this button.</p>
  391. </div>
  392. <h3 id="fields">Fields
  393. </h3>
  394. <h4 id="Terminal_Gui_Button_Clicked" data-uid="Terminal.Gui.Button.Clicked">Clicked</h4>
  395. <div class="markdown level1 summary"><p>Clicked event, raised when the button is clicked.</p>
  396. </div>
  397. <div class="markdown level1 conceptual"></div>
  398. <h5 class="decalaration">Declaration</h5>
  399. <div class="codewrapper">
  400. <pre><code class="lang-csharp hljs">public Action Clicked;</code></pre>
  401. </div>
  402. <h5 class="fieldValue">Field Value</h5>
  403. <table class="table table-bordered table-striped table-condensed">
  404. <thead>
  405. <tr>
  406. <th>Type</th>
  407. <th>Description</th>
  408. </tr>
  409. </thead>
  410. <tbody>
  411. <tr>
  412. <td><span class="xref">System.Action</span></td>
  413. <td><p>To be added.</p>
  414. </td>
  415. </tr>
  416. </tbody>
  417. </table>
  418. <h5 id="Terminal_Gui_Button_Clicked_remarks">Remarks</h5>
  419. <div class="markdown level1 remarks"><p>Client code can hook up to this event, it is
  420. raised when the button is activated either with
  421. the mouse or the keyboard.</p>
  422. </div>
  423. <h3 id="properties">Properties
  424. </h3>
  425. <a id="Terminal_Gui_Button_IsDefault_" data-uid="Terminal.Gui.Button.IsDefault*"></a>
  426. <h4 id="Terminal_Gui_Button_IsDefault" data-uid="Terminal.Gui.Button.IsDefault">IsDefault</h4>
  427. <div class="markdown level1 summary"><p>Gets or sets a value indicating whether this <a class="xref" href="Terminal.Gui.Button.html">Button</a> is the default action to activate on return on a dialog.</p>
  428. </div>
  429. <div class="markdown level1 conceptual"></div>
  430. <h5 class="decalaration">Declaration</h5>
  431. <div class="codewrapper">
  432. <pre><code class="lang-csharp hljs">public bool IsDefault { get; set; }</code></pre>
  433. </div>
  434. <h5 class="propertyValue">Property Value</h5>
  435. <table class="table table-bordered table-striped table-condensed">
  436. <thead>
  437. <tr>
  438. <th>Type</th>
  439. <th>Description</th>
  440. </tr>
  441. </thead>
  442. <tbody>
  443. <tr>
  444. <td><span class="xref">System.Boolean</span></td>
  445. <td><p><code>true</code> if is default; otherwise, <code>false</code>.</p>
  446. </td>
  447. </tr>
  448. </tbody>
  449. </table>
  450. <a id="Terminal_Gui_Button_Text_" data-uid="Terminal.Gui.Button.Text*"></a>
  451. <h4 id="Terminal_Gui_Button_Text" data-uid="Terminal.Gui.Button.Text">Text</h4>
  452. <div class="markdown level1 summary"><p>The text displayed by this widget.</p>
  453. </div>
  454. <div class="markdown level1 conceptual"></div>
  455. <h5 class="decalaration">Declaration</h5>
  456. <div class="codewrapper">
  457. <pre><code class="lang-csharp hljs">public NStack.ustring Text { get; set; }</code></pre>
  458. </div>
  459. <h5 class="propertyValue">Property Value</h5>
  460. <table class="table table-bordered table-striped table-condensed">
  461. <thead>
  462. <tr>
  463. <th>Type</th>
  464. <th>Description</th>
  465. </tr>
  466. </thead>
  467. <tbody>
  468. <tr>
  469. <td><span class="xref">NStack.ustring</span></td>
  470. <td><p>To be added.</p>
  471. </td>
  472. </tr>
  473. </tbody>
  474. </table>
  475. <h3 id="methods">Methods
  476. </h3>
  477. <a id="Terminal_Gui_Button_MouseEvent_" data-uid="Terminal.Gui.Button.MouseEvent*"></a>
  478. <h4 id="Terminal_Gui_Button_MouseEvent_Terminal_Gui_MouseEvent_" data-uid="Terminal.Gui.Button.MouseEvent(Terminal.Gui.MouseEvent)">MouseEvent(MouseEvent)</h4>
  479. <div class="markdown level1 summary"></div>
  480. <div class="markdown level1 conceptual"></div>
  481. <h5 class="decalaration">Declaration</h5>
  482. <div class="codewrapper">
  483. <pre><code class="lang-csharp hljs">public override bool MouseEvent (Terminal.Gui.MouseEvent me);</code></pre>
  484. </div>
  485. <h5 class="parameters">Parameters</h5>
  486. <table class="table table-bordered table-striped table-condensed">
  487. <thead>
  488. <tr>
  489. <th>Type</th>
  490. <th>Name</th>
  491. <th>Description</th>
  492. </tr>
  493. </thead>
  494. <tbody>
  495. <tr>
  496. <td><a class="xref" href="Terminal.Gui.MouseEvent.html">MouseEvent</a></td>
  497. <td><span class="parametername">me</span></td>
  498. <td><p>To be added.</p>
  499. </td>
  500. </tr>
  501. </tbody>
  502. </table>
  503. <h5 class="returns">Returns</h5>
  504. <table class="table table-bordered table-striped table-condensed">
  505. <thead>
  506. <tr>
  507. <th>Type</th>
  508. <th>Description</th>
  509. </tr>
  510. </thead>
  511. <tbody>
  512. <tr>
  513. <td><span class="xref">System.Boolean</span></td>
  514. <td><p>To be added.</p>
  515. </td>
  516. </tr>
  517. </tbody>
  518. </table>
  519. <a id="Terminal_Gui_Button_PositionCursor_" data-uid="Terminal.Gui.Button.PositionCursor*"></a>
  520. <h4 id="Terminal_Gui_Button_PositionCursor" data-uid="Terminal.Gui.Button.PositionCursor">PositionCursor()</h4>
  521. <div class="markdown level1 summary"></div>
  522. <div class="markdown level1 conceptual"></div>
  523. <h5 class="decalaration">Declaration</h5>
  524. <div class="codewrapper">
  525. <pre><code class="lang-csharp hljs">public override void PositionCursor ();</code></pre>
  526. </div>
  527. <a id="Terminal_Gui_Button_ProcessColdKey_" data-uid="Terminal.Gui.Button.ProcessColdKey*"></a>
  528. <h4 id="Terminal_Gui_Button_ProcessColdKey_Terminal_Gui_KeyEvent_" data-uid="Terminal.Gui.Button.ProcessColdKey(Terminal.Gui.KeyEvent)">ProcessColdKey(KeyEvent)</h4>
  529. <div class="markdown level1 summary"></div>
  530. <div class="markdown level1 conceptual"></div>
  531. <h5 class="decalaration">Declaration</h5>
  532. <div class="codewrapper">
  533. <pre><code class="lang-csharp hljs">public override bool ProcessColdKey (Terminal.Gui.KeyEvent kb);</code></pre>
  534. </div>
  535. <h5 class="parameters">Parameters</h5>
  536. <table class="table table-bordered table-striped table-condensed">
  537. <thead>
  538. <tr>
  539. <th>Type</th>
  540. <th>Name</th>
  541. <th>Description</th>
  542. </tr>
  543. </thead>
  544. <tbody>
  545. <tr>
  546. <td><a class="xref" href="Terminal.Gui.KeyEvent.html">KeyEvent</a></td>
  547. <td><span class="parametername">kb</span></td>
  548. <td><p>To be added.</p>
  549. </td>
  550. </tr>
  551. </tbody>
  552. </table>
  553. <h5 class="returns">Returns</h5>
  554. <table class="table table-bordered table-striped table-condensed">
  555. <thead>
  556. <tr>
  557. <th>Type</th>
  558. <th>Description</th>
  559. </tr>
  560. </thead>
  561. <tbody>
  562. <tr>
  563. <td><span class="xref">System.Boolean</span></td>
  564. <td><p>To be added.</p>
  565. </td>
  566. </tr>
  567. </tbody>
  568. </table>
  569. <a id="Terminal_Gui_Button_ProcessHotKey_" data-uid="Terminal.Gui.Button.ProcessHotKey*"></a>
  570. <h4 id="Terminal_Gui_Button_ProcessHotKey_Terminal_Gui_KeyEvent_" data-uid="Terminal.Gui.Button.ProcessHotKey(Terminal.Gui.KeyEvent)">ProcessHotKey(KeyEvent)</h4>
  571. <div class="markdown level1 summary"></div>
  572. <div class="markdown level1 conceptual"></div>
  573. <h5 class="decalaration">Declaration</h5>
  574. <div class="codewrapper">
  575. <pre><code class="lang-csharp hljs">public override bool ProcessHotKey (Terminal.Gui.KeyEvent kb);</code></pre>
  576. </div>
  577. <h5 class="parameters">Parameters</h5>
  578. <table class="table table-bordered table-striped table-condensed">
  579. <thead>
  580. <tr>
  581. <th>Type</th>
  582. <th>Name</th>
  583. <th>Description</th>
  584. </tr>
  585. </thead>
  586. <tbody>
  587. <tr>
  588. <td><a class="xref" href="Terminal.Gui.KeyEvent.html">KeyEvent</a></td>
  589. <td><span class="parametername">kb</span></td>
  590. <td><p>To be added.</p>
  591. </td>
  592. </tr>
  593. </tbody>
  594. </table>
  595. <h5 class="returns">Returns</h5>
  596. <table class="table table-bordered table-striped table-condensed">
  597. <thead>
  598. <tr>
  599. <th>Type</th>
  600. <th>Description</th>
  601. </tr>
  602. </thead>
  603. <tbody>
  604. <tr>
  605. <td><span class="xref">System.Boolean</span></td>
  606. <td><p>To be added.</p>
  607. </td>
  608. </tr>
  609. </tbody>
  610. </table>
  611. <a id="Terminal_Gui_Button_ProcessKey_" data-uid="Terminal.Gui.Button.ProcessKey*"></a>
  612. <h4 id="Terminal_Gui_Button_ProcessKey_Terminal_Gui_KeyEvent_" data-uid="Terminal.Gui.Button.ProcessKey(Terminal.Gui.KeyEvent)">ProcessKey(KeyEvent)</h4>
  613. <div class="markdown level1 summary"></div>
  614. <div class="markdown level1 conceptual"></div>
  615. <h5 class="decalaration">Declaration</h5>
  616. <div class="codewrapper">
  617. <pre><code class="lang-csharp hljs">public override bool ProcessKey (Terminal.Gui.KeyEvent kb);</code></pre>
  618. </div>
  619. <h5 class="parameters">Parameters</h5>
  620. <table class="table table-bordered table-striped table-condensed">
  621. <thead>
  622. <tr>
  623. <th>Type</th>
  624. <th>Name</th>
  625. <th>Description</th>
  626. </tr>
  627. </thead>
  628. <tbody>
  629. <tr>
  630. <td><a class="xref" href="Terminal.Gui.KeyEvent.html">KeyEvent</a></td>
  631. <td><span class="parametername">kb</span></td>
  632. <td><p>To be added.</p>
  633. </td>
  634. </tr>
  635. </tbody>
  636. </table>
  637. <h5 class="returns">Returns</h5>
  638. <table class="table table-bordered table-striped table-condensed">
  639. <thead>
  640. <tr>
  641. <th>Type</th>
  642. <th>Description</th>
  643. </tr>
  644. </thead>
  645. <tbody>
  646. <tr>
  647. <td><span class="xref">System.Boolean</span></td>
  648. <td><p>To be added.</p>
  649. </td>
  650. </tr>
  651. </tbody>
  652. </table>
  653. <a id="Terminal_Gui_Button_Redraw_" data-uid="Terminal.Gui.Button.Redraw*"></a>
  654. <h4 id="Terminal_Gui_Button_Redraw_Terminal_Gui_Rect_" data-uid="Terminal.Gui.Button.Redraw(Terminal.Gui.Rect)">Redraw(Rect)</h4>
  655. <div class="markdown level1 summary"></div>
  656. <div class="markdown level1 conceptual"></div>
  657. <h5 class="decalaration">Declaration</h5>
  658. <div class="codewrapper">
  659. <pre><code class="lang-csharp hljs">public override void Redraw (Terminal.Gui.Rect region);</code></pre>
  660. </div>
  661. <h5 class="parameters">Parameters</h5>
  662. <table class="table table-bordered table-striped table-condensed">
  663. <thead>
  664. <tr>
  665. <th>Type</th>
  666. <th>Name</th>
  667. <th>Description</th>
  668. </tr>
  669. </thead>
  670. <tbody>
  671. <tr>
  672. <td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
  673. <td><span class="parametername">region</span></td>
  674. <td><p>To be added.</p>
  675. </td>
  676. </tr>
  677. </tbody>
  678. </table>
  679. </article>
  680. </div>
  681. <div class="hidden-sm col-md-2" role="complementary">
  682. <div class="sideaffix">
  683. <div class="contribution">
  684. <ul class="nav">
  685. </ul>
  686. </div>
  687. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  688. <!-- <p><a class="back-to-top" href="#top">Back to top</a><p> -->
  689. </nav>
  690. </div>
  691. </div>
  692. </div>
  693. </div>
  694. <footer>
  695. <div class="grad-bottom"></div>
  696. <div class="footer">
  697. <div class="container">
  698. <span class="pull-right">
  699. <a href="#top">Back to top</a>
  700. </span>
  701. <span>Copyright © 2015-2017 Microsoft<br>Generated by <strong>DocFX</strong></span>
  702. </div>
  703. </div>
  704. </footer>
  705. </div>
  706. <script type="text/javascript" src="../../styles/docfx.vendor.js"></script>
  707. <script type="text/javascript" src="../../styles/docfx.js"></script>
  708. <script type="text/javascript" src="../../styles/main.js"></script>
  709. </body>
  710. </html>