Terminal.Gui.RadioGroup.html 42 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061
  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 RadioGroup
  8. </title>
  9. <meta name="viewport" content="width=device-width">
  10. <meta name="title" content="Class RadioGroup
  11. ">
  12. <meta name="generator" content="docfx 2.56.7.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.RadioGroup">
  73. <h1 id="Terminal_Gui_RadioGroup" data-uid="Terminal.Gui.RadioGroup" class="text-break">Class RadioGroup
  74. </h1>
  75. <div class="markdown level0 summary">
  76. <a class="xref" href="Terminal.Gui.RadioGroup.html">RadioGroup</a> shows a group of radio labels, only one of those can be selected at a given time
  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"><a class="xref" href="Terminal.Gui.Responder.html">Responder</a></div>
  83. <div class="level2"><a class="xref" href="Terminal.Gui.View.html">View</a></div>
  84. <div class="level3"><span class="xref">RadioGroup</span></div>
  85. </div>
  86. <div classs="implements">
  87. <h5>Implements</h5>
  88. <div><span class="xref">System.IDisposable</span></div>
  89. <div><span class="xref">System.ComponentModel.ISupportInitializeNotification</span></div>
  90. <div><span class="xref">System.ComponentModel.ISupportInitialize</span></div>
  91. </div>
  92. <div class="inheritedMembers">
  93. <h5>Inherited Members</h5>
  94. <div>
  95. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Added">View.Added</a>
  96. </div>
  97. <div>
  98. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Removed">View.Removed</a>
  99. </div>
  100. <div>
  101. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Enter">View.Enter</a>
  102. </div>
  103. <div>
  104. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Leave">View.Leave</a>
  105. </div>
  106. <div>
  107. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_MouseEnter">View.MouseEnter</a>
  108. </div>
  109. <div>
  110. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_MouseLeave">View.MouseLeave</a>
  111. </div>
  112. <div>
  113. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_MouseClick">View.MouseClick</a>
  114. </div>
  115. <div>
  116. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_HotKey">View.HotKey</a>
  117. </div>
  118. <div>
  119. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_HotKeySpecifier">View.HotKeySpecifier</a>
  120. </div>
  121. <div>
  122. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Shortcut">View.Shortcut</a>
  123. </div>
  124. <div>
  125. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ShortcutTag">View.ShortcutTag</a>
  126. </div>
  127. <div>
  128. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ShortcutAction">View.ShortcutAction</a>
  129. </div>
  130. <div>
  131. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Data">View.Data</a>
  132. </div>
  133. <div>
  134. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Driver">View.Driver</a>
  135. </div>
  136. <div>
  137. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Subviews">View.Subviews</a>
  138. </div>
  139. <div>
  140. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TabIndexes">View.TabIndexes</a>
  141. </div>
  142. <div>
  143. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TabIndex">View.TabIndex</a>
  144. </div>
  145. <div>
  146. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TabStop">View.TabStop</a>
  147. </div>
  148. <div>
  149. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_CanFocus">View.CanFocus</a>
  150. </div>
  151. <div>
  152. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Id">View.Id</a>
  153. </div>
  154. <div>
  155. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_IsCurrentTop">View.IsCurrentTop</a>
  156. </div>
  157. <div>
  158. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_WantMousePositionReports">View.WantMousePositionReports</a>
  159. </div>
  160. <div>
  161. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_WantContinuousButtonPressed">View.WantContinuousButtonPressed</a>
  162. </div>
  163. <div>
  164. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Frame">View.Frame</a>
  165. </div>
  166. <div>
  167. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutStyle">View.LayoutStyle</a>
  168. </div>
  169. <div>
  170. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Bounds">View.Bounds</a>
  171. </div>
  172. <div>
  173. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_X">View.X</a>
  174. </div>
  175. <div>
  176. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Y">View.Y</a>
  177. </div>
  178. <div>
  179. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Width">View.Width</a>
  180. </div>
  181. <div>
  182. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Height">View.Height</a>
  183. </div>
  184. <div>
  185. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SuperView">View.SuperView</a>
  186. </div>
  187. <div>
  188. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetNeedsDisplay">View.SetNeedsDisplay()</a>
  189. </div>
  190. <div>
  191. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearLayoutNeeded">View.ClearLayoutNeeded()</a>
  192. </div>
  193. <div>
  194. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetNeedsDisplay_Terminal_Gui_Rect_">View.SetNeedsDisplay(Rect)</a>
  195. </div>
  196. <div>
  197. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetChildNeedsDisplay">View.SetChildNeedsDisplay()</a>
  198. </div>
  199. <div>
  200. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Add_Terminal_Gui_View_">View.Add(View)</a>
  201. </div>
  202. <div>
  203. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Add_Terminal_Gui_View___">View.Add(View[])</a>
  204. </div>
  205. <div>
  206. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_RemoveAll">View.RemoveAll()</a>
  207. </div>
  208. <div>
  209. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Remove_Terminal_Gui_View_">View.Remove(View)</a>
  210. </div>
  211. <div>
  212. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_BringSubviewToFront_Terminal_Gui_View_">View.BringSubviewToFront(View)</a>
  213. </div>
  214. <div>
  215. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SendSubviewToBack_Terminal_Gui_View_">View.SendSubviewToBack(View)</a>
  216. </div>
  217. <div>
  218. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SendSubviewBackwards_Terminal_Gui_View_">View.SendSubviewBackwards(View)</a>
  219. </div>
  220. <div>
  221. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_BringSubviewForward_Terminal_Gui_View_">View.BringSubviewForward(View)</a>
  222. </div>
  223. <div>
  224. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Clear">View.Clear()</a>
  225. </div>
  226. <div>
  227. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Clear_Terminal_Gui_Rect_">View.Clear(Rect)</a>
  228. </div>
  229. <div>
  230. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ScreenToView_System_Int32_System_Int32_">View.ScreenToView(Int32, Int32)</a>
  231. </div>
  232. <div>
  233. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClipToBounds">View.ClipToBounds()</a>
  234. </div>
  235. <div>
  236. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetClip_Terminal_Gui_Rect_">View.SetClip(Rect)</a>
  237. </div>
  238. <div>
  239. <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>
  240. </div>
  241. <div>
  242. <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>
  243. </div>
  244. <div>
  245. <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>
  246. </div>
  247. <div>
  248. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Move_System_Int32_System_Int32_">View.Move(Int32, Int32)</a>
  249. </div>
  250. <div>
  251. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_HasFocus">View.HasFocus</a>
  252. </div>
  253. <div>
  254. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnAdded_Terminal_Gui_View_">View.OnAdded(View)</a>
  255. </div>
  256. <div>
  257. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnRemoved_Terminal_Gui_View_">View.OnRemoved(View)</a>
  258. </div>
  259. <div>
  260. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnLeave_Terminal_Gui_View_">View.OnLeave(View)</a>
  261. </div>
  262. <div>
  263. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Focused">View.Focused</a>
  264. </div>
  265. <div>
  266. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_MostFocused">View.MostFocused</a>
  267. </div>
  268. <div>
  269. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ColorScheme">View.ColorScheme</a>
  270. </div>
  271. <div>
  272. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_AddRune_System_Int32_System_Int32_System_Rune_">View.AddRune(Int32, Int32, Rune)</a>
  273. </div>
  274. <div>
  275. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearNeedsDisplay">View.ClearNeedsDisplay()</a>
  276. </div>
  277. <div>
  278. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_DrawContent">View.DrawContent</a>
  279. </div>
  280. <div>
  281. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnDrawContent_Terminal_Gui_Rect_">View.OnDrawContent(Rect)</a>
  282. </div>
  283. <div>
  284. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetFocus">View.SetFocus()</a>
  285. </div>
  286. <div>
  287. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_KeyPress">View.KeyPress</a>
  288. </div>
  289. <div>
  290. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ProcessHotKey_Terminal_Gui_KeyEvent_">View.ProcessHotKey(KeyEvent)</a>
  291. </div>
  292. <div>
  293. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_KeyDown">View.KeyDown</a>
  294. </div>
  295. <div>
  296. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnKeyDown_Terminal_Gui_KeyEvent_">View.OnKeyDown(KeyEvent)</a>
  297. </div>
  298. <div>
  299. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_KeyUp">View.KeyUp</a>
  300. </div>
  301. <div>
  302. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnKeyUp_Terminal_Gui_KeyEvent_">View.OnKeyUp(KeyEvent)</a>
  303. </div>
  304. <div>
  305. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_EnsureFocus">View.EnsureFocus()</a>
  306. </div>
  307. <div>
  308. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusFirst">View.FocusFirst()</a>
  309. </div>
  310. <div>
  311. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusLast">View.FocusLast()</a>
  312. </div>
  313. <div>
  314. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusPrev">View.FocusPrev()</a>
  315. </div>
  316. <div>
  317. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusNext">View.FocusNext()</a>
  318. </div>
  319. <div>
  320. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutStarted">View.LayoutStarted</a>
  321. </div>
  322. <div>
  323. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutComplete">View.LayoutComplete</a>
  324. </div>
  325. <div>
  326. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Initialized">View.Initialized</a>
  327. </div>
  328. <div>
  329. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutSubviews">View.LayoutSubviews()</a>
  330. </div>
  331. <div>
  332. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Text">View.Text</a>
  333. </div>
  334. <div>
  335. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_AutoSize">View.AutoSize</a>
  336. </div>
  337. <div>
  338. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TextAlignment">View.TextAlignment</a>
  339. </div>
  340. <div>
  341. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_IsInitialized">View.IsInitialized</a>
  342. </div>
  343. <div>
  344. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ToString">View.ToString()</a>
  345. </div>
  346. <div>
  347. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseEnter_Terminal_Gui_MouseEvent_">View.OnMouseEnter(MouseEvent)</a>
  348. </div>
  349. <div>
  350. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseLeave_Terminal_Gui_MouseEvent_">View.OnMouseLeave(MouseEvent)</a>
  351. </div>
  352. <div>
  353. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseEvent_Terminal_Gui_MouseEvent_">View.OnMouseEvent(MouseEvent)</a>
  354. </div>
  355. <div>
  356. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseClick_Terminal_Gui_View_MouseEventArgs_">View.OnMouseClick(View.MouseEventArgs)</a>
  357. </div>
  358. <div>
  359. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Dispose_System_Boolean_">View.Dispose(Boolean)</a>
  360. </div>
  361. <div>
  362. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_BeginInit">View.BeginInit()</a>
  363. </div>
  364. <div>
  365. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_EndInit">View.EndInit()</a>
  366. </div>
  367. <div>
  368. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Visible">View.Visible</a>
  369. </div>
  370. <div>
  371. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetWidth_System_Int32_System_Int32__">View.SetWidth(Int32, Int32)</a>
  372. </div>
  373. <div>
  374. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetHeight_System_Int32_System_Int32__">View.SetHeight(Int32, Int32)</a>
  375. </div>
  376. <div>
  377. <a class="xref" href="Terminal.Gui.Responder.html#Terminal_Gui_Responder_Dispose">Responder.Dispose()</a>
  378. </div>
  379. <div>
  380. <span class="xref">System.Object.Equals(System.Object)</span>
  381. </div>
  382. <div>
  383. <span class="xref">System.Object.Equals(System.Object, System.Object)</span>
  384. </div>
  385. <div>
  386. <span class="xref">System.Object.GetHashCode()</span>
  387. </div>
  388. <div>
  389. <span class="xref">System.Object.GetType()</span>
  390. </div>
  391. <div>
  392. <span class="xref">System.Object.MemberwiseClone()</span>
  393. </div>
  394. <div>
  395. <span class="xref">System.Object.ReferenceEquals(System.Object, System.Object)</span>
  396. </div>
  397. </div>
  398. <h6><strong>Namespace</strong>: <a class="xref" href="Terminal.Gui.html">Terminal.Gui</a></h6>
  399. <h6><strong>Assembly</strong>: Terminal.Gui.dll</h6>
  400. <h5 id="Terminal_Gui_RadioGroup_syntax">Syntax</h5>
  401. <div class="codewrapper">
  402. <pre><code class="lang-csharp hljs">public class RadioGroup : View, IDisposable, ISupportInitializeNotification, ISupportInitialize</code></pre>
  403. </div>
  404. <h3 id="constructors">Constructors
  405. </h3>
  406. <a id="Terminal_Gui_RadioGroup__ctor_" data-uid="Terminal.Gui.RadioGroup.#ctor*"></a>
  407. <h4 id="Terminal_Gui_RadioGroup__ctor" data-uid="Terminal.Gui.RadioGroup.#ctor">RadioGroup()</h4>
  408. <div class="markdown level1 summary">
  409. Initializes a new instance of the <a class="xref" href="Terminal.Gui.RadioGroup.html">RadioGroup</a> class using <a class="xref" href="Terminal.Gui.LayoutStyle.html#Terminal_Gui_LayoutStyle_Computed">Computed</a> layout.
  410. </div>
  411. <div class="markdown level1 conceptual"></div>
  412. <h5 class="decalaration">Declaration</h5>
  413. <div class="codewrapper">
  414. <pre><code class="lang-csharp hljs">public RadioGroup()</code></pre>
  415. </div>
  416. <a id="Terminal_Gui_RadioGroup__ctor_" data-uid="Terminal.Gui.RadioGroup.#ctor*"></a>
  417. <h4 id="Terminal_Gui_RadioGroup__ctor_NStack_ustring___System_Int32_" data-uid="Terminal.Gui.RadioGroup.#ctor(NStack.ustring[],System.Int32)">RadioGroup(ustring[], Int32)</h4>
  418. <div class="markdown level1 summary">
  419. Initializes a new instance of the <a class="xref" href="Terminal.Gui.RadioGroup.html">RadioGroup</a> class using <a class="xref" href="Terminal.Gui.LayoutStyle.html#Terminal_Gui_LayoutStyle_Computed">Computed</a> layout.
  420. </div>
  421. <div class="markdown level1 conceptual"></div>
  422. <h5 class="decalaration">Declaration</h5>
  423. <div class="codewrapper">
  424. <pre><code class="lang-csharp hljs">public RadioGroup(ustring[] radioLabels, int selected = 0)</code></pre>
  425. </div>
  426. <h5 class="parameters">Parameters</h5>
  427. <table class="table table-bordered table-striped table-condensed">
  428. <thead>
  429. <tr>
  430. <th>Type</th>
  431. <th>Name</th>
  432. <th>Description</th>
  433. </tr>
  434. </thead>
  435. <tbody>
  436. <tr>
  437. <td><span class="xref">NStack.ustring</span>[]</td>
  438. <td><span class="parametername">radioLabels</span></td>
  439. <td>The radio labels; an array of strings that can contain hotkeys using an underscore before the letter.</td>
  440. </tr>
  441. <tr>
  442. <td><span class="xref">System.Int32</span></td>
  443. <td><span class="parametername">selected</span></td>
  444. <td>The index of the item to be selected, the value is clamped to the number of items.</td>
  445. </tr>
  446. </tbody>
  447. </table>
  448. <a id="Terminal_Gui_RadioGroup__ctor_" data-uid="Terminal.Gui.RadioGroup.#ctor*"></a>
  449. <h4 id="Terminal_Gui_RadioGroup__ctor_System_Int32_System_Int32_NStack_ustring___System_Int32_" data-uid="Terminal.Gui.RadioGroup.#ctor(System.Int32,System.Int32,NStack.ustring[],System.Int32)">RadioGroup(Int32, Int32, ustring[], Int32)</h4>
  450. <div class="markdown level1 summary">
  451. Initializes a new instance of the <a class="xref" href="Terminal.Gui.RadioGroup.html">RadioGroup</a> class using <a class="xref" href="Terminal.Gui.LayoutStyle.html#Terminal_Gui_LayoutStyle_Absolute">Absolute</a> layout.
  452. The <a class="xref" href="Terminal.Gui.View.html">View</a> frame is computed from the provided radio labels.
  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 RadioGroup(int x, int y, ustring[] radioLabels, int selected = 0)</code></pre>
  458. </div>
  459. <h5 class="parameters">Parameters</h5>
  460. <table class="table table-bordered table-striped table-condensed">
  461. <thead>
  462. <tr>
  463. <th>Type</th>
  464. <th>Name</th>
  465. <th>Description</th>
  466. </tr>
  467. </thead>
  468. <tbody>
  469. <tr>
  470. <td><span class="xref">System.Int32</span></td>
  471. <td><span class="parametername">x</span></td>
  472. <td>The x coordinate.</td>
  473. </tr>
  474. <tr>
  475. <td><span class="xref">System.Int32</span></td>
  476. <td><span class="parametername">y</span></td>
  477. <td>The y coordinate.</td>
  478. </tr>
  479. <tr>
  480. <td><span class="xref">NStack.ustring</span>[]</td>
  481. <td><span class="parametername">radioLabels</span></td>
  482. <td>The radio labels; an array of strings that can contain hotkeys using an underscore before the letter.</td>
  483. </tr>
  484. <tr>
  485. <td><span class="xref">System.Int32</span></td>
  486. <td><span class="parametername">selected</span></td>
  487. <td>The item to be selected, the value is clamped to the number of items.</td>
  488. </tr>
  489. </tbody>
  490. </table>
  491. <a id="Terminal_Gui_RadioGroup__ctor_" data-uid="Terminal.Gui.RadioGroup.#ctor*"></a>
  492. <h4 id="Terminal_Gui_RadioGroup__ctor_Terminal_Gui_Rect_NStack_ustring___System_Int32_" data-uid="Terminal.Gui.RadioGroup.#ctor(Terminal.Gui.Rect,NStack.ustring[],System.Int32)">RadioGroup(Rect, ustring[], Int32)</h4>
  493. <div class="markdown level1 summary">
  494. Initializes a new instance of the <a class="xref" href="Terminal.Gui.RadioGroup.html">RadioGroup</a> class using <a class="xref" href="Terminal.Gui.LayoutStyle.html#Terminal_Gui_LayoutStyle_Absolute">Absolute</a> layout.
  495. </div>
  496. <div class="markdown level1 conceptual"></div>
  497. <h5 class="decalaration">Declaration</h5>
  498. <div class="codewrapper">
  499. <pre><code class="lang-csharp hljs">public RadioGroup(Rect rect, ustring[] radioLabels, int selected = 0)</code></pre>
  500. </div>
  501. <h5 class="parameters">Parameters</h5>
  502. <table class="table table-bordered table-striped table-condensed">
  503. <thead>
  504. <tr>
  505. <th>Type</th>
  506. <th>Name</th>
  507. <th>Description</th>
  508. </tr>
  509. </thead>
  510. <tbody>
  511. <tr>
  512. <td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
  513. <td><span class="parametername">rect</span></td>
  514. <td>Boundaries for the radio group.</td>
  515. </tr>
  516. <tr>
  517. <td><span class="xref">NStack.ustring</span>[]</td>
  518. <td><span class="parametername">radioLabels</span></td>
  519. <td>The radio labels; an array of strings that can contain hotkeys using an underscore before the letter.</td>
  520. </tr>
  521. <tr>
  522. <td><span class="xref">System.Int32</span></td>
  523. <td><span class="parametername">selected</span></td>
  524. <td>The index of item to be selected, the value is clamped to the number of items.</td>
  525. </tr>
  526. </tbody>
  527. </table>
  528. <h3 id="properties">Properties
  529. </h3>
  530. <a id="Terminal_Gui_RadioGroup_DisplayMode_" data-uid="Terminal.Gui.RadioGroup.DisplayMode*"></a>
  531. <h4 id="Terminal_Gui_RadioGroup_DisplayMode" data-uid="Terminal.Gui.RadioGroup.DisplayMode">DisplayMode</h4>
  532. <div class="markdown level1 summary">
  533. Gets or sets the <a class="xref" href="Terminal.Gui.DisplayModeLayout.html">DisplayModeLayout</a> for this <a class="xref" href="Terminal.Gui.RadioGroup.html">RadioGroup</a>.
  534. </div>
  535. <div class="markdown level1 conceptual"></div>
  536. <h5 class="decalaration">Declaration</h5>
  537. <div class="codewrapper">
  538. <pre><code class="lang-csharp hljs">public DisplayModeLayout DisplayMode { get; set; }</code></pre>
  539. </div>
  540. <h5 class="propertyValue">Property Value</h5>
  541. <table class="table table-bordered table-striped table-condensed">
  542. <thead>
  543. <tr>
  544. <th>Type</th>
  545. <th>Description</th>
  546. </tr>
  547. </thead>
  548. <tbody>
  549. <tr>
  550. <td><a class="xref" href="Terminal.Gui.DisplayModeLayout.html">DisplayModeLayout</a></td>
  551. <td></td>
  552. </tr>
  553. </tbody>
  554. </table>
  555. <a id="Terminal_Gui_RadioGroup_HorizontalSpace_" data-uid="Terminal.Gui.RadioGroup.HorizontalSpace*"></a>
  556. <h4 id="Terminal_Gui_RadioGroup_HorizontalSpace" data-uid="Terminal.Gui.RadioGroup.HorizontalSpace">HorizontalSpace</h4>
  557. <div class="markdown level1 summary">
  558. Gets or sets the horizontal space for this <a class="xref" href="Terminal.Gui.RadioGroup.html">RadioGroup</a> if the <a class="xref" href="Terminal.Gui.RadioGroup.html#Terminal_Gui_RadioGroup_DisplayMode">DisplayMode</a> is <a class="xref" href="Terminal.Gui.DisplayModeLayout.html#Terminal_Gui_DisplayModeLayout_Horizontal">Horizontal</a>
  559. </div>
  560. <div class="markdown level1 conceptual"></div>
  561. <h5 class="decalaration">Declaration</h5>
  562. <div class="codewrapper">
  563. <pre><code class="lang-csharp hljs">public int HorizontalSpace { get; set; }</code></pre>
  564. </div>
  565. <h5 class="propertyValue">Property Value</h5>
  566. <table class="table table-bordered table-striped table-condensed">
  567. <thead>
  568. <tr>
  569. <th>Type</th>
  570. <th>Description</th>
  571. </tr>
  572. </thead>
  573. <tbody>
  574. <tr>
  575. <td><span class="xref">System.Int32</span></td>
  576. <td></td>
  577. </tr>
  578. </tbody>
  579. </table>
  580. <a id="Terminal_Gui_RadioGroup_RadioLabels_" data-uid="Terminal.Gui.RadioGroup.RadioLabels*"></a>
  581. <h4 id="Terminal_Gui_RadioGroup_RadioLabels" data-uid="Terminal.Gui.RadioGroup.RadioLabels">RadioLabels</h4>
  582. <div class="markdown level1 summary">
  583. The radio labels to display
  584. </div>
  585. <div class="markdown level1 conceptual"></div>
  586. <h5 class="decalaration">Declaration</h5>
  587. <div class="codewrapper">
  588. <pre><code class="lang-csharp hljs">public ustring[] RadioLabels { get; set; }</code></pre>
  589. </div>
  590. <h5 class="propertyValue">Property Value</h5>
  591. <table class="table table-bordered table-striped table-condensed">
  592. <thead>
  593. <tr>
  594. <th>Type</th>
  595. <th>Description</th>
  596. </tr>
  597. </thead>
  598. <tbody>
  599. <tr>
  600. <td><span class="xref">NStack.ustring</span>[]</td>
  601. <td>The radio labels.</td>
  602. </tr>
  603. </tbody>
  604. </table>
  605. <a id="Terminal_Gui_RadioGroup_SelectedItem_" data-uid="Terminal.Gui.RadioGroup.SelectedItem*"></a>
  606. <h4 id="Terminal_Gui_RadioGroup_SelectedItem" data-uid="Terminal.Gui.RadioGroup.SelectedItem">SelectedItem</h4>
  607. <div class="markdown level1 summary">
  608. The currently selected item from the list of radio labels
  609. </div>
  610. <div class="markdown level1 conceptual"></div>
  611. <h5 class="decalaration">Declaration</h5>
  612. <div class="codewrapper">
  613. <pre><code class="lang-csharp hljs">public int SelectedItem { get; set; }</code></pre>
  614. </div>
  615. <h5 class="propertyValue">Property Value</h5>
  616. <table class="table table-bordered table-striped table-condensed">
  617. <thead>
  618. <tr>
  619. <th>Type</th>
  620. <th>Description</th>
  621. </tr>
  622. </thead>
  623. <tbody>
  624. <tr>
  625. <td><span class="xref">System.Int32</span></td>
  626. <td>The selected.</td>
  627. </tr>
  628. </tbody>
  629. </table>
  630. <h3 id="methods">Methods
  631. </h3>
  632. <a id="Terminal_Gui_RadioGroup_MouseEvent_" data-uid="Terminal.Gui.RadioGroup.MouseEvent*"></a>
  633. <h4 id="Terminal_Gui_RadioGroup_MouseEvent_Terminal_Gui_MouseEvent_" data-uid="Terminal.Gui.RadioGroup.MouseEvent(Terminal.Gui.MouseEvent)">MouseEvent(MouseEvent)</h4>
  634. <div class="markdown level1 summary">
  635. Method invoked when a mouse event is generated
  636. </div>
  637. <div class="markdown level1 conceptual"></div>
  638. <h5 class="decalaration">Declaration</h5>
  639. <div class="codewrapper">
  640. <pre><code class="lang-csharp hljs">public override bool MouseEvent(MouseEvent me)</code></pre>
  641. </div>
  642. <h5 class="parameters">Parameters</h5>
  643. <table class="table table-bordered table-striped table-condensed">
  644. <thead>
  645. <tr>
  646. <th>Type</th>
  647. <th>Name</th>
  648. <th>Description</th>
  649. </tr>
  650. </thead>
  651. <tbody>
  652. <tr>
  653. <td><a class="xref" href="Terminal.Gui.MouseEvent.html">MouseEvent</a></td>
  654. <td><span class="parametername">me</span></td>
  655. <td></td>
  656. </tr>
  657. </tbody>
  658. </table>
  659. <h5 class="returns">Returns</h5>
  660. <table class="table table-bordered table-striped table-condensed">
  661. <thead>
  662. <tr>
  663. <th>Type</th>
  664. <th>Description</th>
  665. </tr>
  666. </thead>
  667. <tbody>
  668. <tr>
  669. <td><span class="xref">System.Boolean</span></td>
  670. <td><code>true</code>, if the event was handled, <code>false</code> otherwise.</td>
  671. </tr>
  672. </tbody>
  673. </table>
  674. <h5 class="overrides">Overrides</h5>
  675. <div><a class="xref" href="Terminal.Gui.Responder.html#Terminal_Gui_Responder_MouseEvent_Terminal_Gui_MouseEvent_">Responder.MouseEvent(MouseEvent)</a></div>
  676. <a id="Terminal_Gui_RadioGroup_OnEnter_" data-uid="Terminal.Gui.RadioGroup.OnEnter*"></a>
  677. <h4 id="Terminal_Gui_RadioGroup_OnEnter_Terminal_Gui_View_" data-uid="Terminal.Gui.RadioGroup.OnEnter(Terminal.Gui.View)">OnEnter(View)</h4>
  678. <div class="markdown level1 summary">
  679. Method invoked when a view gets focus.
  680. </div>
  681. <div class="markdown level1 conceptual"></div>
  682. <h5 class="decalaration">Declaration</h5>
  683. <div class="codewrapper">
  684. <pre><code class="lang-csharp hljs">public override bool OnEnter(View view)</code></pre>
  685. </div>
  686. <h5 class="parameters">Parameters</h5>
  687. <table class="table table-bordered table-striped table-condensed">
  688. <thead>
  689. <tr>
  690. <th>Type</th>
  691. <th>Name</th>
  692. <th>Description</th>
  693. </tr>
  694. </thead>
  695. <tbody>
  696. <tr>
  697. <td><a class="xref" href="Terminal.Gui.View.html">View</a></td>
  698. <td><span class="parametername">view</span></td>
  699. <td>The view that is losing focus.</td>
  700. </tr>
  701. </tbody>
  702. </table>
  703. <h5 class="returns">Returns</h5>
  704. <table class="table table-bordered table-striped table-condensed">
  705. <thead>
  706. <tr>
  707. <th>Type</th>
  708. <th>Description</th>
  709. </tr>
  710. </thead>
  711. <tbody>
  712. <tr>
  713. <td><span class="xref">System.Boolean</span></td>
  714. <td><code>true</code>, if the event was handled, <code>false</code> otherwise.</td>
  715. </tr>
  716. </tbody>
  717. </table>
  718. <h5 class="overrides">Overrides</h5>
  719. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnEnter_Terminal_Gui_View_">View.OnEnter(View)</a></div>
  720. <a id="Terminal_Gui_RadioGroup_OnSelectedItemChanged_" data-uid="Terminal.Gui.RadioGroup.OnSelectedItemChanged*"></a>
  721. <h4 id="Terminal_Gui_RadioGroup_OnSelectedItemChanged_System_Int32_System_Int32_" data-uid="Terminal.Gui.RadioGroup.OnSelectedItemChanged(System.Int32,System.Int32)">OnSelectedItemChanged(Int32, Int32)</h4>
  722. <div class="markdown level1 summary">
  723. Called whenever the current selected item changes. Invokes the <a class="xref" href="Terminal.Gui.RadioGroup.html#Terminal_Gui_RadioGroup_SelectedItemChanged">SelectedItemChanged</a> event.
  724. </div>
  725. <div class="markdown level1 conceptual"></div>
  726. <h5 class="decalaration">Declaration</h5>
  727. <div class="codewrapper">
  728. <pre><code class="lang-csharp hljs">public virtual void OnSelectedItemChanged(int selectedItem, int previousSelectedItem)</code></pre>
  729. </div>
  730. <h5 class="parameters">Parameters</h5>
  731. <table class="table table-bordered table-striped table-condensed">
  732. <thead>
  733. <tr>
  734. <th>Type</th>
  735. <th>Name</th>
  736. <th>Description</th>
  737. </tr>
  738. </thead>
  739. <tbody>
  740. <tr>
  741. <td><span class="xref">System.Int32</span></td>
  742. <td><span class="parametername">selectedItem</span></td>
  743. <td></td>
  744. </tr>
  745. <tr>
  746. <td><span class="xref">System.Int32</span></td>
  747. <td><span class="parametername">previousSelectedItem</span></td>
  748. <td></td>
  749. </tr>
  750. </tbody>
  751. </table>
  752. <a id="Terminal_Gui_RadioGroup_PositionCursor_" data-uid="Terminal.Gui.RadioGroup.PositionCursor*"></a>
  753. <h4 id="Terminal_Gui_RadioGroup_PositionCursor" data-uid="Terminal.Gui.RadioGroup.PositionCursor">PositionCursor()</h4>
  754. <div class="markdown level1 summary">
  755. Positions the cursor in the right position based on the currently focused view in the chain.
  756. </div>
  757. <div class="markdown level1 conceptual"></div>
  758. <h5 class="decalaration">Declaration</h5>
  759. <div class="codewrapper">
  760. <pre><code class="lang-csharp hljs">public override void PositionCursor()</code></pre>
  761. </div>
  762. <h5 class="overrides">Overrides</h5>
  763. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_PositionCursor">View.PositionCursor()</a></div>
  764. <a id="Terminal_Gui_RadioGroup_ProcessColdKey_" data-uid="Terminal.Gui.RadioGroup.ProcessColdKey*"></a>
  765. <h4 id="Terminal_Gui_RadioGroup_ProcessColdKey_Terminal_Gui_KeyEvent_" data-uid="Terminal.Gui.RadioGroup.ProcessColdKey(Terminal.Gui.KeyEvent)">ProcessColdKey(KeyEvent)</h4>
  766. <div class="markdown level1 summary">
  767. This method can be overwritten by views that
  768. want to provide accelerator functionality
  769. (Alt-key for example), but without
  770. interefering with normal ProcessKey behavior.
  771. </div>
  772. <div class="markdown level1 conceptual"></div>
  773. <h5 class="decalaration">Declaration</h5>
  774. <div class="codewrapper">
  775. <pre><code class="lang-csharp hljs">public override bool ProcessColdKey(KeyEvent kb)</code></pre>
  776. </div>
  777. <h5 class="parameters">Parameters</h5>
  778. <table class="table table-bordered table-striped table-condensed">
  779. <thead>
  780. <tr>
  781. <th>Type</th>
  782. <th>Name</th>
  783. <th>Description</th>
  784. </tr>
  785. </thead>
  786. <tbody>
  787. <tr>
  788. <td><a class="xref" href="Terminal.Gui.KeyEvent.html">KeyEvent</a></td>
  789. <td><span class="parametername">kb</span></td>
  790. <td></td>
  791. </tr>
  792. </tbody>
  793. </table>
  794. <h5 class="returns">Returns</h5>
  795. <table class="table table-bordered table-striped table-condensed">
  796. <thead>
  797. <tr>
  798. <th>Type</th>
  799. <th>Description</th>
  800. </tr>
  801. </thead>
  802. <tbody>
  803. <tr>
  804. <td><span class="xref">System.Boolean</span></td>
  805. <td></td>
  806. </tr>
  807. </tbody>
  808. </table>
  809. <h5 class="overrides">Overrides</h5>
  810. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ProcessColdKey_Terminal_Gui_KeyEvent_">View.ProcessColdKey(KeyEvent)</a></div>
  811. <h5 id="Terminal_Gui_RadioGroup_ProcessColdKey_Terminal_Gui_KeyEvent__remarks">Remarks</h5>
  812. <div class="markdown level1 remarks">
  813. <p>
  814. After keys are sent to the subviews on the
  815. current view, all the view are
  816. processed and the key is passed to the views
  817. to allow some of them to process the keystroke
  818. as a cold-key. </p>
  819. <p>
  820. This functionality is used, for example, by
  821. default buttons to act on the enter key.
  822. Processing this as a hot-key would prevent
  823. non-default buttons from consuming the enter
  824. keypress when they have the focus.
  825. </p>
  826. </div>
  827. <a id="Terminal_Gui_RadioGroup_ProcessKey_" data-uid="Terminal.Gui.RadioGroup.ProcessKey*"></a>
  828. <h4 id="Terminal_Gui_RadioGroup_ProcessKey_Terminal_Gui_KeyEvent_" data-uid="Terminal.Gui.RadioGroup.ProcessKey(Terminal.Gui.KeyEvent)">ProcessKey(KeyEvent)</h4>
  829. <div class="markdown level1 summary">
  830. If the view is focused, gives the view a
  831. chance to process the keystroke.
  832. </div>
  833. <div class="markdown level1 conceptual"></div>
  834. <h5 class="decalaration">Declaration</h5>
  835. <div class="codewrapper">
  836. <pre><code class="lang-csharp hljs">public override bool ProcessKey(KeyEvent kb)</code></pre>
  837. </div>
  838. <h5 class="parameters">Parameters</h5>
  839. <table class="table table-bordered table-striped table-condensed">
  840. <thead>
  841. <tr>
  842. <th>Type</th>
  843. <th>Name</th>
  844. <th>Description</th>
  845. </tr>
  846. </thead>
  847. <tbody>
  848. <tr>
  849. <td><a class="xref" href="Terminal.Gui.KeyEvent.html">KeyEvent</a></td>
  850. <td><span class="parametername">kb</span></td>
  851. <td></td>
  852. </tr>
  853. </tbody>
  854. </table>
  855. <h5 class="returns">Returns</h5>
  856. <table class="table table-bordered table-striped table-condensed">
  857. <thead>
  858. <tr>
  859. <th>Type</th>
  860. <th>Description</th>
  861. </tr>
  862. </thead>
  863. <tbody>
  864. <tr>
  865. <td><span class="xref">System.Boolean</span></td>
  866. <td></td>
  867. </tr>
  868. </tbody>
  869. </table>
  870. <h5 class="overrides">Overrides</h5>
  871. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ProcessKey_Terminal_Gui_KeyEvent_">View.ProcessKey(KeyEvent)</a></div>
  872. <h5 id="Terminal_Gui_RadioGroup_ProcessKey_Terminal_Gui_KeyEvent__remarks">Remarks</h5>
  873. <div class="markdown level1 remarks">
  874. <p>
  875. Views can override this method if they are
  876. interested in processing the given keystroke.
  877. If they consume the keystroke, they must
  878. return true to stop the keystroke from being
  879. processed by other widgets or consumed by the
  880. widget engine. If they return false, the
  881. keystroke will be passed using the ProcessColdKey
  882. method to other views to process.
  883. </p>
  884. <p>
  885. The View implementation does nothing but return false,
  886. so it is not necessary to call base.ProcessKey if you
  887. derive directly from View, but you should if you derive
  888. other View subclasses.
  889. </p>
  890. </div>
  891. <a id="Terminal_Gui_RadioGroup_Redraw_" data-uid="Terminal.Gui.RadioGroup.Redraw*"></a>
  892. <h4 id="Terminal_Gui_RadioGroup_Redraw_Terminal_Gui_Rect_" data-uid="Terminal.Gui.RadioGroup.Redraw(Terminal.Gui.Rect)">Redraw(Rect)</h4>
  893. <div class="markdown level1 summary">
  894. Redraws this view and its subviews; only redraws the views that have been flagged for a re-display.
  895. </div>
  896. <div class="markdown level1 conceptual"></div>
  897. <h5 class="decalaration">Declaration</h5>
  898. <div class="codewrapper">
  899. <pre><code class="lang-csharp hljs">public override void Redraw(Rect bounds)</code></pre>
  900. </div>
  901. <h5 class="parameters">Parameters</h5>
  902. <table class="table table-bordered table-striped table-condensed">
  903. <thead>
  904. <tr>
  905. <th>Type</th>
  906. <th>Name</th>
  907. <th>Description</th>
  908. </tr>
  909. </thead>
  910. <tbody>
  911. <tr>
  912. <td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
  913. <td><span class="parametername">bounds</span></td>
  914. <td>The bounds (view-relative region) to redraw.</td>
  915. </tr>
  916. </tbody>
  917. </table>
  918. <h5 class="overrides">Overrides</h5>
  919. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Redraw_Terminal_Gui_Rect_">View.Redraw(Rect)</a></div>
  920. <h5 id="Terminal_Gui_RadioGroup_Redraw_Terminal_Gui_Rect__remarks">Remarks</h5>
  921. <div class="markdown level1 remarks">
  922. <p>
  923. Always use <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Bounds">Bounds</a> (view-relative) when calling <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Redraw_Terminal_Gui_Rect_">Redraw(Rect)</a>, NOT <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Frame">Frame</a> (superview-relative).
  924. </p>
  925. <p>
  926. Views should set the color that they want to use on entry, as otherwise this will inherit
  927. the last color that was set globally on the driver.
  928. </p>
  929. <p>
  930. Overrides of <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Redraw_Terminal_Gui_Rect_">Redraw(Rect)</a> must ensure they do not set <code>Driver.Clip</code> to a clip region
  931. larger than the <code>region</code> parameter.
  932. </p>
  933. </div>
  934. <a id="Terminal_Gui_RadioGroup_Refresh_" data-uid="Terminal.Gui.RadioGroup.Refresh*"></a>
  935. <h4 id="Terminal_Gui_RadioGroup_Refresh" data-uid="Terminal.Gui.RadioGroup.Refresh">Refresh()</h4>
  936. <div class="markdown level1 summary">
  937. Allow to invoke the <a class="xref" href="Terminal.Gui.RadioGroup.html#Terminal_Gui_RadioGroup_SelectedItemChanged">SelectedItemChanged</a> after their creation.
  938. </div>
  939. <div class="markdown level1 conceptual"></div>
  940. <h5 class="decalaration">Declaration</h5>
  941. <div class="codewrapper">
  942. <pre><code class="lang-csharp hljs">public void Refresh()</code></pre>
  943. </div>
  944. <h3 id="events">Events
  945. </h3>
  946. <h4 id="Terminal_Gui_RadioGroup_SelectedItemChanged" data-uid="Terminal.Gui.RadioGroup.SelectedItemChanged">SelectedItemChanged</h4>
  947. <div class="markdown level1 summary">
  948. Invoked when the selected radio label has changed.
  949. </div>
  950. <div class="markdown level1 conceptual"></div>
  951. <h5 class="decalaration">Declaration</h5>
  952. <div class="codewrapper">
  953. <pre><code class="lang-csharp hljs">public event Action&lt;RadioGroup.SelectedItemChangedArgs&gt; SelectedItemChanged</code></pre>
  954. </div>
  955. <h5 class="eventType">Event Type</h5>
  956. <table class="table table-bordered table-striped table-condensed">
  957. <thead>
  958. <tr>
  959. <th>Type</th>
  960. <th>Description</th>
  961. </tr>
  962. </thead>
  963. <tbody>
  964. <tr>
  965. <td><span class="xref">System.Action</span>&lt;<a class="xref" href="Terminal.Gui.RadioGroup.SelectedItemChangedArgs.html">RadioGroup.SelectedItemChangedArgs</a>&gt;</td>
  966. <td></td>
  967. </tr>
  968. </tbody>
  969. </table>
  970. <h3 id="implements">Implements</h3>
  971. <div>
  972. <span class="xref">System.IDisposable</span>
  973. </div>
  974. <div>
  975. <span class="xref">System.ComponentModel.ISupportInitializeNotification</span>
  976. </div>
  977. <div>
  978. <span class="xref">System.ComponentModel.ISupportInitialize</span>
  979. </div>
  980. </article>
  981. </div>
  982. <div class="hidden-sm col-md-2" role="complementary">
  983. <div class="sideaffix">
  984. <div class="contribution">
  985. <ul class="nav">
  986. </ul>
  987. </div>
  988. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  989. <h5>In This Article</h5>
  990. <div></div>
  991. </nav>
  992. </div>
  993. </div>
  994. </div>
  995. </div>
  996. <footer>
  997. <div class="grad-bottom"></div>
  998. <div class="footer">
  999. <div class="container">
  1000. <span class="pull-right">
  1001. <a href="#top">Back to top</a>
  1002. </span>
  1003. <span>Generated by <strong>DocFX</strong></span>
  1004. </div>
  1005. </div>
  1006. </footer>
  1007. </div>
  1008. <script type="text/javascript" src="../../styles/docfx.vendor.js"></script>
  1009. <script type="text/javascript" src="../../styles/docfx.js"></script>
  1010. <script type="text/javascript" src="../../styles/main.js"></script>
  1011. </body>
  1012. </html>