Terminal.Gui.html 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525
  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>Namespace Terminal.Gui
  8. </title>
  9. <meta name="viewport" content="width=device-width">
  10. <meta name="title" content="Namespace Terminal.Gui
  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">
  73. <h1 id="Terminal_Gui" data-uid="Terminal.Gui" class="text-break">Namespace Terminal.Gui
  74. </h1>
  75. <div class="markdown level0 summary"></div>
  76. <div class="markdown level0 conceptual"></div>
  77. <div class="markdown level0 remarks"></div>
  78. <h3 id="classes">Classes
  79. </h3>
  80. <h4><a class="xref" href="Terminal.Gui.Application.html">Application</a></h4>
  81. <section>
  82. A static, singelton class provding the main application driver for Terminal.Gui apps.
  83. </section>
  84. <h4><a class="xref" href="Terminal.Gui.Application.ResizedEventArgs.html">Application.ResizedEventArgs</a></h4>
  85. <section>
  86. Event arguments for the <a class="xref" href="Terminal.Gui.Application.html#Terminal_Gui_Application_Resized">Resized</a> event.
  87. </section>
  88. <h4><a class="xref" href="Terminal.Gui.Application.RunState.html">Application.RunState</a></h4>
  89. <section>
  90. Captures the execution state for the provided <span class="xref">Terminal.Gui.Application.RunState.Toplevel</span> view.
  91. </section>
  92. <h4><a class="xref" href="Terminal.Gui.Button.html">Button</a></h4>
  93. <section>
  94. Button is a <a class="xref" href="Terminal.Gui.View.html">View</a> that provides an item that invokes an <span class="xref">System.Action</span> when activated by the user.
  95. </section>
  96. <h4><a class="xref" href="Terminal.Gui.CellActivatedEventArgs.html">CellActivatedEventArgs</a></h4>
  97. <section>
  98. Defines the event arguments for <a class="xref" href="Terminal.Gui.TableView.html#Terminal_Gui_TableView_CellActivated">CellActivated</a> event
  99. </section>
  100. <h4><a class="xref" href="Terminal.Gui.CheckBox.html">CheckBox</a></h4>
  101. <section>
  102. The <a class="xref" href="Terminal.Gui.CheckBox.html">CheckBox</a> <a class="xref" href="Terminal.Gui.View.html">View</a> shows an on/off toggle that the user can set
  103. </section>
  104. <h4><a class="xref" href="Terminal.Gui.Clipboard.html">Clipboard</a></h4>
  105. <section>
  106. Provides cut, copy, and paste support for the clipboard.
  107. NOTE: Currently not implemented.
  108. </section>
  109. <h4><a class="xref" href="Terminal.Gui.Colors.html">Colors</a></h4>
  110. <section>
  111. The default <a class="xref" href="Terminal.Gui.ColorScheme.html">ColorScheme</a>s for the application.
  112. </section>
  113. <h4><a class="xref" href="Terminal.Gui.ColorScheme.html">ColorScheme</a></h4>
  114. <section>
  115. Color scheme definitions, they cover some common scenarios and are used
  116. typically in containers such as <a class="xref" href="Terminal.Gui.Window.html">Window</a> and <a class="xref" href="Terminal.Gui.FrameView.html">FrameView</a> to set the scheme that is used by all the
  117. views contained inside.
  118. </section>
  119. <h4><a class="xref" href="Terminal.Gui.ColumnStyle.html">ColumnStyle</a></h4>
  120. <section>
  121. Describes how to render a given column in a <a class="xref" href="Terminal.Gui.TableView.html">TableView</a> including <a class="xref" href="Terminal.Gui.ColumnStyle.html#Terminal_Gui_ColumnStyle_Alignment">Alignment</a> and textual representation of cells (e.g. date formats)
  122. </section>
  123. <h4><a class="xref" href="Terminal.Gui.ComboBox.html">ComboBox</a></h4>
  124. <section>
  125. ComboBox control
  126. </section>
  127. <h4><a class="xref" href="Terminal.Gui.ConsoleDriver.html">ConsoleDriver</a></h4>
  128. <section>
  129. ConsoleDriver is an abstract class that defines the requirements for a console driver.
  130. There are currently three implementations: <span class="xref">Terminal.Gui.CursesDriver</span> (for Unix and Mac), <span class="xref">Terminal.Gui.WindowsDriver</span>, and <span class="xref">Terminal.Gui.NetDriver</span> that uses the .NET Console API.
  131. </section>
  132. <h4><a class="xref" href="Terminal.Gui.DateField.html">DateField</a></h4>
  133. <section>
  134. Simple Date editing <a class="xref" href="Terminal.Gui.View.html">View</a>
  135. </section>
  136. <h4><a class="xref" href="Terminal.Gui.DateTimeEventArgs-1.html">DateTimeEventArgs&lt;T&gt;</a></h4>
  137. <section>
  138. Defines the event arguments for <a class="xref" href="Terminal.Gui.DateField.html#Terminal_Gui_DateField_DateChanged">DateChanged</a> and <a class="xref" href="Terminal.Gui.TimeField.html#Terminal_Gui_TimeField_TimeChanged">TimeChanged</a> events.
  139. </section>
  140. <h4><a class="xref" href="Terminal.Gui.DelegateTreeBuilder-1.html">DelegateTreeBuilder&lt;T&gt;</a></h4>
  141. <section>
  142. Implementation of <a class="xref" href="Terminal.Gui.ITreeBuilder-1.html">ITreeBuilder&lt;T&gt;</a> that uses user defined functions
  143. </section>
  144. <h4><a class="xref" href="Terminal.Gui.Dialog.html">Dialog</a></h4>
  145. <section>
  146. The <a class="xref" href="Terminal.Gui.Dialog.html">Dialog</a> <a class="xref" href="Terminal.Gui.View.html">View</a> is a <a class="xref" href="Terminal.Gui.Window.html">Window</a> that by default is centered and contains one
  147. or more <a class="xref" href="Terminal.Gui.Button.html">Button</a>s. It defaults to the <a class="xref" href="Terminal.Gui.Colors.html#Terminal_Gui_Colors_Dialog">Dialog</a> color scheme and has a 1 cell padding around the edges.
  148. </section>
  149. <h4><a class="xref" href="Terminal.Gui.Dim.html">Dim</a></h4>
  150. <section>
  151. Dim properties of a <a class="xref" href="Terminal.Gui.View.html">View</a> to control the position.
  152. </section>
  153. <h4><a class="xref" href="Terminal.Gui.FakeConsole.html">FakeConsole</a></h4>
  154. <section>
  155. </section>
  156. <h4><a class="xref" href="Terminal.Gui.FakeDriver.html">FakeDriver</a></h4>
  157. <section>
  158. Implements a mock ConsoleDriver for unit testing
  159. </section>
  160. <h4><a class="xref" href="Terminal.Gui.FakeMainLoop.html">FakeMainLoop</a></h4>
  161. <section>
  162. Mainloop intended to be used with the .NET System.Console API, and can
  163. be used on Windows and Unix, it is cross platform but lacks things like
  164. file descriptor monitoring.
  165. </section>
  166. <h4><a class="xref" href="Terminal.Gui.FileDialog.html">FileDialog</a></h4>
  167. <section>
  168. Base class for the <a class="xref" href="Terminal.Gui.OpenDialog.html">OpenDialog</a> and the <a class="xref" href="Terminal.Gui.SaveDialog.html">SaveDialog</a>
  169. </section>
  170. <h4><a class="xref" href="Terminal.Gui.FrameView.html">FrameView</a></h4>
  171. <section>
  172. The FrameView is a container frame that draws a frame around the contents. It is similar to
  173. a GroupBox in Windows.
  174. </section>
  175. <h4><a class="xref" href="Terminal.Gui.HexView.html">HexView</a></h4>
  176. <section>
  177. An hex viewer and editor <a class="xref" href="Terminal.Gui.View.html">View</a> over a <span class="xref">System.IO.Stream</span>
  178. </section>
  179. <h4><a class="xref" href="Terminal.Gui.KeyEvent.html">KeyEvent</a></h4>
  180. <section>
  181. Describes a keyboard event.
  182. </section>
  183. <h4><a class="xref" href="Terminal.Gui.KeyModifiers.html">KeyModifiers</a></h4>
  184. <section>
  185. Identifies the state of the &quot;shift&quot;-keys within a event.
  186. </section>
  187. <h4><a class="xref" href="Terminal.Gui.Label.html">Label</a></h4>
  188. <section>
  189. The Label <a class="xref" href="Terminal.Gui.View.html">View</a> displays a string at a given position and supports multiple lines separted by newline characters. Multi-line Labels support word wrap.
  190. </section>
  191. <h4><a class="xref" href="Terminal.Gui.ListView.html">ListView</a></h4>
  192. <section>
  193. ListView <a class="xref" href="Terminal.Gui.View.html">View</a> renders a scrollable list of data where each item can be activated to perform an action.
  194. </section>
  195. <h4><a class="xref" href="Terminal.Gui.ListViewItemEventArgs.html">ListViewItemEventArgs</a></h4>
  196. <section>
  197. <span class="xref">System.EventArgs</span> for <a class="xref" href="Terminal.Gui.ListView.html">ListView</a> events.
  198. </section>
  199. <h4><a class="xref" href="Terminal.Gui.ListWrapper.html">ListWrapper</a></h4>
  200. <section>
  201. Implements an <a class="xref" href="Terminal.Gui.IListDataSource.html">IListDataSource</a> that renders arbitrary <span class="xref">System.Collections.IList</span> instances for <a class="xref" href="Terminal.Gui.ListView.html">ListView</a>.
  202. </section>
  203. <h4><a class="xref" href="Terminal.Gui.MainLoop.html">MainLoop</a></h4>
  204. <section>
  205. Simple main loop implementation that can be used to monitor
  206. file descriptor, run timers and idle handlers.
  207. </section>
  208. <h4><a class="xref" href="Terminal.Gui.MenuBar.html">MenuBar</a></h4>
  209. <section>
  210. The MenuBar provides a menu for Terminal.Gui applications.
  211. </section>
  212. <h4><a class="xref" href="Terminal.Gui.MenuBarItem.html">MenuBarItem</a></h4>
  213. <section>
  214. A <a class="xref" href="Terminal.Gui.MenuBarItem.html">MenuBarItem</a> contains <a class="xref" href="Terminal.Gui.MenuBarItem.html">MenuBarItem</a>s or <a class="xref" href="Terminal.Gui.MenuItem.html">MenuItem</a>s.
  215. </section>
  216. <h4><a class="xref" href="Terminal.Gui.MenuItem.html">MenuItem</a></h4>
  217. <section>
  218. A <a class="xref" href="Terminal.Gui.MenuItem.html">MenuItem</a> has a title, an associated help text, and an action to execute on activation.
  219. </section>
  220. <h4><a class="xref" href="Terminal.Gui.MessageBox.html">MessageBox</a></h4>
  221. <section>
  222. MessageBox displays a modal message to the user, with a title, a message and a series of options that the user can choose from.
  223. </section>
  224. <h4><a class="xref" href="Terminal.Gui.ObjectActivatedEventArgs-1.html">ObjectActivatedEventArgs&lt;T&gt;</a></h4>
  225. <section>
  226. Event args for the <a class="xref" href="Terminal.Gui.TreeView-1.html#Terminal_Gui_TreeView_1_ObjectActivated">ObjectActivated</a> event
  227. </section>
  228. <h4><a class="xref" href="Terminal.Gui.OpenDialog.html">OpenDialog</a></h4>
  229. <section>
  230. The <a class="xref" href="Terminal.Gui.OpenDialog.html">OpenDialog</a>provides an interactive dialog box for users to select files or directories.
  231. </section>
  232. <h4><a class="xref" href="Terminal.Gui.Pos.html">Pos</a></h4>
  233. <section>
  234. Describes the position of a <a class="xref" href="Terminal.Gui.View.html">View</a> which can be an absolute value, a percentage, centered, or
  235. relative to the ending dimension. Integer values are implicitly convertible to
  236. an absolute <a class="xref" href="Terminal.Gui.Pos.html">Pos</a>. These objects are created using the static methods Percent,
  237. AnchorEnd, and Center. The <a class="xref" href="Terminal.Gui.Pos.html">Pos</a> objects can be combined with the addition and
  238. subtraction operators.
  239. </section>
  240. <h4><a class="xref" href="Terminal.Gui.ProgressBar.html">ProgressBar</a></h4>
  241. <section>
  242. A Progress Bar view that can indicate progress of an activity visually.
  243. </section>
  244. <h4><a class="xref" href="Terminal.Gui.RadioGroup.html">RadioGroup</a></h4>
  245. <section>
  246. <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
  247. </section>
  248. <h4><a class="xref" href="Terminal.Gui.RadioGroup.SelectedItemChangedArgs.html">RadioGroup.SelectedItemChangedArgs</a></h4>
  249. <section>
  250. Event arguments for the SelectedItemChagned event.
  251. </section>
  252. <h4><a class="xref" href="Terminal.Gui.Responder.html">Responder</a></h4>
  253. <section>
  254. Responder base class implemented by objects that want to participate on keyboard and mouse input.
  255. </section>
  256. <h4><a class="xref" href="Terminal.Gui.SaveDialog.html">SaveDialog</a></h4>
  257. <section>
  258. The <a class="xref" href="Terminal.Gui.SaveDialog.html">SaveDialog</a> provides an interactive dialog box for users to pick a file to
  259. save.
  260. </section>
  261. <h4><a class="xref" href="Terminal.Gui.ScrollBarView.html">ScrollBarView</a></h4>
  262. <section>
  263. ScrollBarViews are views that display a 1-character scrollbar, either horizontal or vertical
  264. </section>
  265. <h4><a class="xref" href="Terminal.Gui.ScrollView.html">ScrollView</a></h4>
  266. <section>
  267. Scrollviews are views that present a window into a virtual space where subviews are added. Similar to the iOS UIScrollView.
  268. </section>
  269. <h4><a class="xref" href="Terminal.Gui.SelectedCellChangedEventArgs.html">SelectedCellChangedEventArgs</a></h4>
  270. <section>
  271. Defines the event arguments for <a class="xref" href="Terminal.Gui.TableView.html#Terminal_Gui_TableView_SelectedCellChanged">SelectedCellChanged</a>
  272. </section>
  273. <h4><a class="xref" href="Terminal.Gui.SelectionChangedEventArgs-1.html">SelectionChangedEventArgs&lt;T&gt;</a></h4>
  274. <section>
  275. Event arguments describing a change in selected object in a tree view
  276. </section>
  277. <h4><a class="xref" href="Terminal.Gui.ShortcutHelper.html">ShortcutHelper</a></h4>
  278. <section>
  279. Represents a helper to manipulate shortcut keys used on views.
  280. </section>
  281. <h4><a class="xref" href="Terminal.Gui.StatusBar.html">StatusBar</a></h4>
  282. <section>
  283. A status bar is a <a class="xref" href="Terminal.Gui.View.html">View</a> that snaps to the bottom of a <a class="xref" href="Terminal.Gui.Toplevel.html">Toplevel</a> displaying set of <a class="xref" href="Terminal.Gui.StatusItem.html">StatusItem</a>s.
  284. The <a class="xref" href="Terminal.Gui.StatusBar.html">StatusBar</a> should be context sensitive. This means, if the main menu and an open text editor are visible, the items probably shown will
  285. be ~F1~ Help ~F2~ Save ~F3~ Load. While a dialog to ask a file to load is executed, the remaining commands will probably be ~F1~ Help.
  286. So for each context must be a new instance of a statusbar.
  287. </section>
  288. <h4><a class="xref" href="Terminal.Gui.StatusItem.html">StatusItem</a></h4>
  289. <section>
  290. <a class="xref" href="Terminal.Gui.StatusItem.html">StatusItem</a> objects are contained by <a class="xref" href="Terminal.Gui.StatusBar.html">StatusBar</a> <a class="xref" href="Terminal.Gui.View.html">View</a>s.
  291. Each <a class="xref" href="Terminal.Gui.StatusItem.html">StatusItem</a> has a title, a shortcut (hotkey), and an <a class="xref" href="Terminal.Gui.StatusItem.html#Terminal_Gui_StatusItem_Action">Action</a> that will be invoked when the
  292. <a class="xref" href="Terminal.Gui.StatusItem.html#Terminal_Gui_StatusItem_Shortcut">Shortcut</a> is pressed.
  293. The <a class="xref" href="Terminal.Gui.StatusItem.html#Terminal_Gui_StatusItem_Shortcut">Shortcut</a> will be a global hotkey for the application in the current context of the screen.
  294. The colour of the <a class="xref" href="Terminal.Gui.StatusItem.html#Terminal_Gui_StatusItem_Title">Title</a> will be changed after each ~.
  295. A <a class="xref" href="Terminal.Gui.StatusItem.html#Terminal_Gui_StatusItem_Title">Title</a> set to `~F1~ Help` will render as *F1* using <a class="xref" href="Terminal.Gui.ColorScheme.html#Terminal_Gui_ColorScheme_HotNormal">HotNormal</a> and
  296. *Help* as <a class="xref" href="Terminal.Gui.ColorScheme.html#Terminal_Gui_ColorScheme_HotNormal">HotNormal</a>.
  297. </section>
  298. <h4><a class="xref" href="Terminal.Gui.TableSelection.html">TableSelection</a></h4>
  299. <section>
  300. Describes a selected region of the table
  301. </section>
  302. <h4><a class="xref" href="Terminal.Gui.TableStyle.html">TableStyle</a></h4>
  303. <section>
  304. Defines rendering options that affect how the table is displayed
  305. </section>
  306. <h4><a class="xref" href="Terminal.Gui.TableView.html">TableView</a></h4>
  307. <section>
  308. View for tabular data based on a <span class="xref">System.Data.DataTable</span>
  309. </section>
  310. <h4><a class="xref" href="Terminal.Gui.TextChangingEventArgs.html">TextChangingEventArgs</a></h4>
  311. <section>
  312. An <span class="xref">System.EventArgs</span> which allows passing a cancelable new text value event.
  313. </section>
  314. <h4><a class="xref" href="Terminal.Gui.TextField.html">TextField</a></h4>
  315. <section>
  316. Single-line text entry <a class="xref" href="Terminal.Gui.View.html">View</a>
  317. </section>
  318. <h4><a class="xref" href="Terminal.Gui.TextFormatter.html">TextFormatter</a></h4>
  319. <section>
  320. Provides text formatting capabilities for console apps. Supports, hotkeys, horizontal alignment, multiple lines, and word-based line wrap.
  321. </section>
  322. <h4><a class="xref" href="Terminal.Gui.TextView.html">TextView</a></h4>
  323. <section>
  324. Multi-line text editing <a class="xref" href="Terminal.Gui.View.html">View</a>
  325. </section>
  326. <h4><a class="xref" href="Terminal.Gui.TimeField.html">TimeField</a></h4>
  327. <section>
  328. Time editing <a class="xref" href="Terminal.Gui.View.html">View</a>
  329. </section>
  330. <h4><a class="xref" href="Terminal.Gui.Toplevel.html">Toplevel</a></h4>
  331. <section>
  332. Toplevel views can be modally executed.
  333. </section>
  334. <h4><a class="xref" href="Terminal.Gui.TreeBuilder-1.html">TreeBuilder&lt;T&gt;</a></h4>
  335. <section>
  336. Abstract implementation of <a class="xref" href="Terminal.Gui.ITreeBuilder-1.html">ITreeBuilder&lt;T&gt;</a>.
  337. </section>
  338. <h4><a class="xref" href="Terminal.Gui.TreeNode.html">TreeNode</a></h4>
  339. <section>
  340. Simple class for representing nodes, use with regular (non generic) <a class="xref" href="Terminal.Gui.TreeView.html">TreeView</a>.
  341. </section>
  342. <h4><a class="xref" href="Terminal.Gui.TreeNodeBuilder.html">TreeNodeBuilder</a></h4>
  343. <section>
  344. <a class="xref" href="Terminal.Gui.ITreeBuilder-1.html">ITreeBuilder&lt;T&gt;</a> implementation for <a class="xref" href="Terminal.Gui.ITreeNode.html">ITreeNode</a> objects
  345. </section>
  346. <h4><a class="xref" href="Terminal.Gui.TreeStyle.html">TreeStyle</a></h4>
  347. <section>
  348. Defines rendering options that affect how the tree is displayed
  349. </section>
  350. <h4><a class="xref" href="Terminal.Gui.TreeView.html">TreeView</a></h4>
  351. <section>
  352. Convenience implementation of generic <a class="xref" href="Terminal.Gui.TreeView-1.html">TreeView&lt;T&gt;</a> for any tree were all nodes
  353. implement <a class="xref" href="Terminal.Gui.ITreeNode.html">ITreeNode</a>
  354. </section>
  355. <h4><a class="xref" href="Terminal.Gui.TreeView-1.html">TreeView&lt;T&gt;</a></h4>
  356. <section>
  357. Hierarchical tree view with expandable branches. Branch objects are dynamically determined
  358. when expanded using a user defined <a class="xref" href="Terminal.Gui.ITreeBuilder-1.html">ITreeBuilder&lt;T&gt;</a>
  359. </section>
  360. <h4><a class="xref" href="Terminal.Gui.View.html">View</a></h4>
  361. <section>
  362. View is the base class for all views on the screen and represents a visible element that can render itself and contains zero or more nested views.
  363. </section>
  364. <h4><a class="xref" href="Terminal.Gui.View.FocusEventArgs.html">View.FocusEventArgs</a></h4>
  365. <section>
  366. Defines the event arguments for <span class="xref">Terminal.Gui.View.SetFocus(Terminal.Gui.View)</span>
  367. </section>
  368. <h4><a class="xref" href="Terminal.Gui.View.KeyEventEventArgs.html">View.KeyEventEventArgs</a></h4>
  369. <section>
  370. Defines the event arguments for <a class="xref" href="Terminal.Gui.View.KeyEventEventArgs.html#Terminal_Gui_View_KeyEventEventArgs_KeyEvent">KeyEvent</a>
  371. </section>
  372. <h4><a class="xref" href="Terminal.Gui.View.LayoutEventArgs.html">View.LayoutEventArgs</a></h4>
  373. <section>
  374. Event arguments for the <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutComplete">LayoutComplete</a> event.
  375. </section>
  376. <h4><a class="xref" href="Terminal.Gui.View.MouseEventArgs.html">View.MouseEventArgs</a></h4>
  377. <section>
  378. Specifies the event arguments for <a class="xref" href="Terminal.Gui.View.MouseEventArgs.html#Terminal_Gui_View_MouseEventArgs_MouseEvent">MouseEvent</a>
  379. </section>
  380. <h4><a class="xref" href="Terminal.Gui.Window.html">Window</a></h4>
  381. <section>
  382. A <a class="xref" href="Terminal.Gui.Toplevel.html">Toplevel</a> <a class="xref" href="Terminal.Gui.View.html">View</a> that draws a border around its <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Frame">Frame</a> with a <a class="xref" href="Terminal.Gui.Window.html#Terminal_Gui_Window_Title">Title</a> at the top.
  383. </section>
  384. <h3 id="structs">Structs
  385. </h3>
  386. <h4><a class="xref" href="Terminal.Gui.Attribute.html">Attribute</a></h4>
  387. <section>
  388. Attributes are used as elements that contain both a foreground and a background or platform specific features
  389. </section>
  390. <h4><a class="xref" href="Terminal.Gui.MouseEvent.html">MouseEvent</a></h4>
  391. <section>
  392. Describes a mouse event
  393. </section>
  394. <h4><a class="xref" href="Terminal.Gui.Point.html">Point</a></h4>
  395. <section>
  396. Represents an ordered pair of integer x- and y-coordinates that defines a point in a two-dimensional plane.
  397. </section>
  398. <h4><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></h4>
  399. <section>
  400. Stores a set of four integers that represent the location and size of a rectangle
  401. </section>
  402. <h4><a class="xref" href="Terminal.Gui.Size.html">Size</a></h4>
  403. <section>
  404. Stores an ordered pair of integers, which specify a Height and Width.
  405. </section>
  406. <h3 id="interfaces">Interfaces
  407. </h3>
  408. <h4><a class="xref" href="Terminal.Gui.IListDataSource.html">IListDataSource</a></h4>
  409. <section>
  410. Implement <a class="xref" href="Terminal.Gui.IListDataSource.html">IListDataSource</a> to provide custom rendering for a <a class="xref" href="Terminal.Gui.ListView.html">ListView</a>.
  411. </section>
  412. <h4><a class="xref" href="Terminal.Gui.IMainLoopDriver.html">IMainLoopDriver</a></h4>
  413. <section>
  414. Public interface to create your own platform specific main loop driver.
  415. </section>
  416. <h4><a class="xref" href="Terminal.Gui.ITreeBuilder-1.html">ITreeBuilder&lt;T&gt;</a></h4>
  417. <section>
  418. Interface for supplying data to a <a class="xref" href="Terminal.Gui.TreeView-1.html">TreeView&lt;T&gt;</a> on demand as root level nodes
  419. are expanded by the user
  420. </section>
  421. <h4><a class="xref" href="Terminal.Gui.ITreeNode.html">ITreeNode</a></h4>
  422. <section>
  423. Interface to implement when you want the regular (non generic) <a class="xref" href="Terminal.Gui.TreeView.html">TreeView</a>
  424. to automatically determine children for your class (without having to specify
  425. an <a class="xref" href="Terminal.Gui.ITreeBuilder-1.html">ITreeBuilder&lt;T&gt;</a>)
  426. </section>
  427. <h4><a class="xref" href="Terminal.Gui.ITreeView.html">ITreeView</a></h4>
  428. <section>
  429. Interface for all non generic members of <a class="xref" href="Terminal.Gui.TreeView-1.html">TreeView&lt;T&gt;</a>
  430. </section>
  431. <h3 id="enums">Enums
  432. </h3>
  433. <h4><a class="xref" href="Terminal.Gui.Color.html">Color</a></h4>
  434. <section>
  435. Basic colors that can be used to set the foreground and background colors in console applications.
  436. </section>
  437. <h4><a class="xref" href="Terminal.Gui.ConsoleDriver.DiagnosticFlags.html">ConsoleDriver.DiagnosticFlags</a></h4>
  438. <section>
  439. Enables diagnostic functions
  440. </section>
  441. <h4><a class="xref" href="Terminal.Gui.CursorVisibility.html">CursorVisibility</a></h4>
  442. <section>
  443. Cursors Visibility that are displayed
  444. </section>
  445. <h4><a class="xref" href="Terminal.Gui.DisplayModeLayout.html">DisplayModeLayout</a></h4>
  446. <section>
  447. Used for choose the display mode of this <a class="xref" href="Terminal.Gui.RadioGroup.html">RadioGroup</a>
  448. </section>
  449. <h4><a class="xref" href="Terminal.Gui.Key.html">Key</a></h4>
  450. <section>
  451. The <a class="xref" href="Terminal.Gui.Key.html">Key</a> enumeration contains special encoding for some keys, but can also
  452. encode all the unicode values that can be passed.
  453. </section>
  454. <h4><a class="xref" href="Terminal.Gui.LayoutStyle.html">LayoutStyle</a></h4>
  455. <section>
  456. Determines the LayoutStyle for a view, if Absolute, during LayoutSubviews, the
  457. value from the Frame will be used, if the value is Computed, then the Frame
  458. will be updated from the X, Y Pos objects and the Width and Height Dim objects.
  459. </section>
  460. <h4><a class="xref" href="Terminal.Gui.MenuItemCheckStyle.html">MenuItemCheckStyle</a></h4>
  461. <section>
  462. Specifies how a <a class="xref" href="Terminal.Gui.MenuItem.html">MenuItem</a> shows selection state.
  463. </section>
  464. <h4><a class="xref" href="Terminal.Gui.MouseFlags.html">MouseFlags</a></h4>
  465. <section>
  466. Mouse flags reported in <a class="xref" href="Terminal.Gui.MouseEvent.html">MouseEvent</a>.
  467. </section>
  468. <h4><a class="xref" href="Terminal.Gui.TextAlignment.html">TextAlignment</a></h4>
  469. <section>
  470. Text alignment enumeration, controls how text is displayed.
  471. </section>
  472. <h3 id="delegates">Delegates
  473. </h3>
  474. <h4><a class="xref" href="Terminal.Gui.AspectGetterDelegate-1.html">AspectGetterDelegate&lt;T&gt;</a></h4>
  475. <section>
  476. Delegates of this type are used to fetch string representations of user&apos;s model objects
  477. </section>
  478. </article>
  479. </div>
  480. <div class="hidden-sm col-md-2" role="complementary">
  481. <div class="sideaffix">
  482. <div class="contribution">
  483. <ul class="nav">
  484. </ul>
  485. </div>
  486. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  487. <h5>In This Article</h5>
  488. <div></div>
  489. </nav>
  490. </div>
  491. </div>
  492. </div>
  493. </div>
  494. <footer>
  495. <div class="grad-bottom"></div>
  496. <div class="footer">
  497. <div class="container">
  498. <span class="pull-right">
  499. <a href="#top">Back to top</a>
  500. </span>
  501. <span>Generated by <strong>DocFX</strong></span>
  502. </div>
  503. </div>
  504. </footer>
  505. </div>
  506. <script type="text/javascript" src="../../styles/docfx.vendor.js"></script>
  507. <script type="text/javascript" src="../../styles/docfx.js"></script>
  508. <script type="text/javascript" src="../../styles/main.js"></script>
  509. </body>
  510. </html>