Terminal.Gui.FileDialog.html 35 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861
  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 FileDialog
  8. </title>
  9. <meta name="viewport" content="width=device-width">
  10. <meta name="title" content="Class FileDialog
  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.FileDialog">
  73. <h1 id="Terminal_Gui_FileDialog" data-uid="Terminal.Gui.FileDialog" class="text-break">Class FileDialog
  74. </h1>
  75. <div class="markdown level0 summary">
  76. 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>
  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"><a class="xref" href="Terminal.Gui.Toplevel.html">Toplevel</a></div>
  85. <div class="level4"><a class="xref" href="Terminal.Gui.Window.html">Window</a></div>
  86. <div class="level5"><a class="xref" href="Terminal.Gui.Dialog.html">Dialog</a></div>
  87. <div class="level6"><span class="xref">FileDialog</span></div>
  88. <div class="level7"><a class="xref" href="Terminal.Gui.OpenDialog.html">OpenDialog</a></div>
  89. <div class="level7"><a class="xref" href="Terminal.Gui.SaveDialog.html">SaveDialog</a></div>
  90. </div>
  91. <div classs="implements">
  92. <h5>Implements</h5>
  93. <div><span class="xref">System.IDisposable</span></div>
  94. <div><span class="xref">System.ComponentModel.ISupportInitializeNotification</span></div>
  95. <div><span class="xref">System.ComponentModel.ISupportInitialize</span></div>
  96. </div>
  97. <div class="inheritedMembers">
  98. <h5>Inherited Members</h5>
  99. <div>
  100. <a class="xref" href="Terminal.Gui.Dialog.html#Terminal_Gui_Dialog_AddButton_Terminal_Gui_Button_">Dialog.AddButton(Button)</a>
  101. </div>
  102. <div>
  103. <a class="xref" href="Terminal.Gui.Dialog.html#Terminal_Gui_Dialog_ProcessKey_Terminal_Gui_KeyEvent_">Dialog.ProcessKey(KeyEvent)</a>
  104. </div>
  105. <div>
  106. <a class="xref" href="Terminal.Gui.Window.html#Terminal_Gui_Window_Title">Window.Title</a>
  107. </div>
  108. <div>
  109. <a class="xref" href="Terminal.Gui.Window.html#Terminal_Gui_Window_Add_Terminal_Gui_View_">Window.Add(View)</a>
  110. </div>
  111. <div>
  112. <a class="xref" href="Terminal.Gui.Window.html#Terminal_Gui_Window_Remove_Terminal_Gui_View_">Window.Remove(View)</a>
  113. </div>
  114. <div>
  115. <a class="xref" href="Terminal.Gui.Window.html#Terminal_Gui_Window_RemoveAll">Window.RemoveAll()</a>
  116. </div>
  117. <div>
  118. <a class="xref" href="Terminal.Gui.Window.html#Terminal_Gui_Window_Redraw_Terminal_Gui_Rect_">Window.Redraw(Rect)</a>
  119. </div>
  120. <div>
  121. <a class="xref" href="Terminal.Gui.Window.html#Terminal_Gui_Window_MouseEvent_Terminal_Gui_MouseEvent_">Window.MouseEvent(MouseEvent)</a>
  122. </div>
  123. <div>
  124. <a class="xref" href="Terminal.Gui.Window.html#Terminal_Gui_Window_Text">Window.Text</a>
  125. </div>
  126. <div>
  127. <a class="xref" href="Terminal.Gui.Window.html#Terminal_Gui_Window_TextAlignment">Window.TextAlignment</a>
  128. </div>
  129. <div>
  130. <a class="xref" href="Terminal.Gui.Toplevel.html#Terminal_Gui_Toplevel_Running">Toplevel.Running</a>
  131. </div>
  132. <div>
  133. <a class="xref" href="Terminal.Gui.Toplevel.html#Terminal_Gui_Toplevel_Loaded">Toplevel.Loaded</a>
  134. </div>
  135. <div>
  136. <a class="xref" href="Terminal.Gui.Toplevel.html#Terminal_Gui_Toplevel_Ready">Toplevel.Ready</a>
  137. </div>
  138. <div>
  139. <a class="xref" href="Terminal.Gui.Toplevel.html#Terminal_Gui_Toplevel_Unloaded">Toplevel.Unloaded</a>
  140. </div>
  141. <div>
  142. <a class="xref" href="Terminal.Gui.Toplevel.html#Terminal_Gui_Toplevel_Create">Toplevel.Create()</a>
  143. </div>
  144. <div>
  145. <a class="xref" href="Terminal.Gui.Toplevel.html#Terminal_Gui_Toplevel_CanFocus">Toplevel.CanFocus</a>
  146. </div>
  147. <div>
  148. <a class="xref" href="Terminal.Gui.Toplevel.html#Terminal_Gui_Toplevel_Modal">Toplevel.Modal</a>
  149. </div>
  150. <div>
  151. <a class="xref" href="Terminal.Gui.Toplevel.html#Terminal_Gui_Toplevel_MenuBar">Toplevel.MenuBar</a>
  152. </div>
  153. <div>
  154. <a class="xref" href="Terminal.Gui.Toplevel.html#Terminal_Gui_Toplevel_StatusBar">Toplevel.StatusBar</a>
  155. </div>
  156. <div>
  157. <a class="xref" href="Terminal.Gui.Toplevel.html#Terminal_Gui_Toplevel_OnKeyDown_Terminal_Gui_KeyEvent_">Toplevel.OnKeyDown(KeyEvent)</a>
  158. </div>
  159. <div>
  160. <a class="xref" href="Terminal.Gui.Toplevel.html#Terminal_Gui_Toplevel_OnKeyUp_Terminal_Gui_KeyEvent_">Toplevel.OnKeyUp(KeyEvent)</a>
  161. </div>
  162. <div>
  163. <a class="xref" href="Terminal.Gui.Toplevel.html#Terminal_Gui_Toplevel_ProcessColdKey_Terminal_Gui_KeyEvent_">Toplevel.ProcessColdKey(KeyEvent)</a>
  164. </div>
  165. <div>
  166. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Added">View.Added</a>
  167. </div>
  168. <div>
  169. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Removed">View.Removed</a>
  170. </div>
  171. <div>
  172. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Enter">View.Enter</a>
  173. </div>
  174. <div>
  175. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Leave">View.Leave</a>
  176. </div>
  177. <div>
  178. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_MouseEnter">View.MouseEnter</a>
  179. </div>
  180. <div>
  181. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_MouseLeave">View.MouseLeave</a>
  182. </div>
  183. <div>
  184. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_MouseClick">View.MouseClick</a>
  185. </div>
  186. <div>
  187. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_HotKey">View.HotKey</a>
  188. </div>
  189. <div>
  190. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_HotKeySpecifier">View.HotKeySpecifier</a>
  191. </div>
  192. <div>
  193. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Shortcut">View.Shortcut</a>
  194. </div>
  195. <div>
  196. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ShortcutTag">View.ShortcutTag</a>
  197. </div>
  198. <div>
  199. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ShortcutAction">View.ShortcutAction</a>
  200. </div>
  201. <div>
  202. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Data">View.Data</a>
  203. </div>
  204. <div>
  205. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Driver">View.Driver</a>
  206. </div>
  207. <div>
  208. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Subviews">View.Subviews</a>
  209. </div>
  210. <div>
  211. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TabIndexes">View.TabIndexes</a>
  212. </div>
  213. <div>
  214. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TabIndex">View.TabIndex</a>
  215. </div>
  216. <div>
  217. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TabStop">View.TabStop</a>
  218. </div>
  219. <div>
  220. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Id">View.Id</a>
  221. </div>
  222. <div>
  223. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_IsCurrentTop">View.IsCurrentTop</a>
  224. </div>
  225. <div>
  226. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_WantMousePositionReports">View.WantMousePositionReports</a>
  227. </div>
  228. <div>
  229. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_WantContinuousButtonPressed">View.WantContinuousButtonPressed</a>
  230. </div>
  231. <div>
  232. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Frame">View.Frame</a>
  233. </div>
  234. <div>
  235. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutStyle">View.LayoutStyle</a>
  236. </div>
  237. <div>
  238. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Bounds">View.Bounds</a>
  239. </div>
  240. <div>
  241. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_X">View.X</a>
  242. </div>
  243. <div>
  244. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Y">View.Y</a>
  245. </div>
  246. <div>
  247. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Width">View.Width</a>
  248. </div>
  249. <div>
  250. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Height">View.Height</a>
  251. </div>
  252. <div>
  253. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SuperView">View.SuperView</a>
  254. </div>
  255. <div>
  256. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetNeedsDisplay">View.SetNeedsDisplay()</a>
  257. </div>
  258. <div>
  259. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearLayoutNeeded">View.ClearLayoutNeeded()</a>
  260. </div>
  261. <div>
  262. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetNeedsDisplay_Terminal_Gui_Rect_">View.SetNeedsDisplay(Rect)</a>
  263. </div>
  264. <div>
  265. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetChildNeedsDisplay">View.SetChildNeedsDisplay()</a>
  266. </div>
  267. <div>
  268. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Add_Terminal_Gui_View___">View.Add(View[])</a>
  269. </div>
  270. <div>
  271. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_BringSubviewToFront_Terminal_Gui_View_">View.BringSubviewToFront(View)</a>
  272. </div>
  273. <div>
  274. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SendSubviewToBack_Terminal_Gui_View_">View.SendSubviewToBack(View)</a>
  275. </div>
  276. <div>
  277. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SendSubviewBackwards_Terminal_Gui_View_">View.SendSubviewBackwards(View)</a>
  278. </div>
  279. <div>
  280. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_BringSubviewForward_Terminal_Gui_View_">View.BringSubviewForward(View)</a>
  281. </div>
  282. <div>
  283. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Clear">View.Clear()</a>
  284. </div>
  285. <div>
  286. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Clear_Terminal_Gui_Rect_">View.Clear(Rect)</a>
  287. </div>
  288. <div>
  289. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ScreenToView_System_Int32_System_Int32_">View.ScreenToView(Int32, Int32)</a>
  290. </div>
  291. <div>
  292. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClipToBounds">View.ClipToBounds()</a>
  293. </div>
  294. <div>
  295. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetClip_Terminal_Gui_Rect_">View.SetClip(Rect)</a>
  296. </div>
  297. <div>
  298. <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>
  299. </div>
  300. <div>
  301. <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>
  302. </div>
  303. <div>
  304. <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>
  305. </div>
  306. <div>
  307. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Move_System_Int32_System_Int32_">View.Move(Int32, Int32)</a>
  308. </div>
  309. <div>
  310. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_PositionCursor">View.PositionCursor()</a>
  311. </div>
  312. <div>
  313. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_HasFocus">View.HasFocus</a>
  314. </div>
  315. <div>
  316. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnAdded_Terminal_Gui_View_">View.OnAdded(View)</a>
  317. </div>
  318. <div>
  319. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnRemoved_Terminal_Gui_View_">View.OnRemoved(View)</a>
  320. </div>
  321. <div>
  322. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnEnter_Terminal_Gui_View_">View.OnEnter(View)</a>
  323. </div>
  324. <div>
  325. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnLeave_Terminal_Gui_View_">View.OnLeave(View)</a>
  326. </div>
  327. <div>
  328. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Focused">View.Focused</a>
  329. </div>
  330. <div>
  331. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_MostFocused">View.MostFocused</a>
  332. </div>
  333. <div>
  334. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ColorScheme">View.ColorScheme</a>
  335. </div>
  336. <div>
  337. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_AddRune_System_Int32_System_Int32_System_Rune_">View.AddRune(Int32, Int32, Rune)</a>
  338. </div>
  339. <div>
  340. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearNeedsDisplay">View.ClearNeedsDisplay()</a>
  341. </div>
  342. <div>
  343. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_DrawContent">View.DrawContent</a>
  344. </div>
  345. <div>
  346. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnDrawContent_Terminal_Gui_Rect_">View.OnDrawContent(Rect)</a>
  347. </div>
  348. <div>
  349. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetFocus">View.SetFocus()</a>
  350. </div>
  351. <div>
  352. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_KeyPress">View.KeyPress</a>
  353. </div>
  354. <div>
  355. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ProcessHotKey_Terminal_Gui_KeyEvent_">View.ProcessHotKey(KeyEvent)</a>
  356. </div>
  357. <div>
  358. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_KeyDown">View.KeyDown</a>
  359. </div>
  360. <div>
  361. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_KeyUp">View.KeyUp</a>
  362. </div>
  363. <div>
  364. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_EnsureFocus">View.EnsureFocus()</a>
  365. </div>
  366. <div>
  367. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusFirst">View.FocusFirst()</a>
  368. </div>
  369. <div>
  370. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusLast">View.FocusLast()</a>
  371. </div>
  372. <div>
  373. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusPrev">View.FocusPrev()</a>
  374. </div>
  375. <div>
  376. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusNext">View.FocusNext()</a>
  377. </div>
  378. <div>
  379. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutStarted">View.LayoutStarted</a>
  380. </div>
  381. <div>
  382. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutComplete">View.LayoutComplete</a>
  383. </div>
  384. <div>
  385. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Initialized">View.Initialized</a>
  386. </div>
  387. <div>
  388. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutSubviews">View.LayoutSubviews()</a>
  389. </div>
  390. <div>
  391. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_AutoSize">View.AutoSize</a>
  392. </div>
  393. <div>
  394. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_IsInitialized">View.IsInitialized</a>
  395. </div>
  396. <div>
  397. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ToString">View.ToString()</a>
  398. </div>
  399. <div>
  400. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseEnter_Terminal_Gui_MouseEvent_">View.OnMouseEnter(MouseEvent)</a>
  401. </div>
  402. <div>
  403. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseLeave_Terminal_Gui_MouseEvent_">View.OnMouseLeave(MouseEvent)</a>
  404. </div>
  405. <div>
  406. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseEvent_Terminal_Gui_MouseEvent_">View.OnMouseEvent(MouseEvent)</a>
  407. </div>
  408. <div>
  409. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseClick_Terminal_Gui_View_MouseEventArgs_">View.OnMouseClick(View.MouseEventArgs)</a>
  410. </div>
  411. <div>
  412. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Dispose_System_Boolean_">View.Dispose(Boolean)</a>
  413. </div>
  414. <div>
  415. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_BeginInit">View.BeginInit()</a>
  416. </div>
  417. <div>
  418. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_EndInit">View.EndInit()</a>
  419. </div>
  420. <div>
  421. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Visible">View.Visible</a>
  422. </div>
  423. <div>
  424. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetWidth_System_Int32_System_Int32__">View.SetWidth(Int32, Int32)</a>
  425. </div>
  426. <div>
  427. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetHeight_System_Int32_System_Int32__">View.SetHeight(Int32, Int32)</a>
  428. </div>
  429. <div>
  430. <a class="xref" href="Terminal.Gui.Responder.html#Terminal_Gui_Responder_Dispose">Responder.Dispose()</a>
  431. </div>
  432. <div>
  433. <span class="xref">System.Object.Equals(System.Object)</span>
  434. </div>
  435. <div>
  436. <span class="xref">System.Object.Equals(System.Object, System.Object)</span>
  437. </div>
  438. <div>
  439. <span class="xref">System.Object.GetHashCode()</span>
  440. </div>
  441. <div>
  442. <span class="xref">System.Object.GetType()</span>
  443. </div>
  444. <div>
  445. <span class="xref">System.Object.MemberwiseClone()</span>
  446. </div>
  447. <div>
  448. <span class="xref">System.Object.ReferenceEquals(System.Object, System.Object)</span>
  449. </div>
  450. </div>
  451. <h6><strong>Namespace</strong>: <a class="xref" href="Terminal.Gui.html">Terminal.Gui</a></h6>
  452. <h6><strong>Assembly</strong>: Terminal.Gui.dll</h6>
  453. <h5 id="Terminal_Gui_FileDialog_syntax">Syntax</h5>
  454. <div class="codewrapper">
  455. <pre><code class="lang-csharp hljs">public class FileDialog : Dialog, IDisposable, ISupportInitializeNotification, ISupportInitialize</code></pre>
  456. </div>
  457. <h3 id="constructors">Constructors
  458. </h3>
  459. <a id="Terminal_Gui_FileDialog__ctor_" data-uid="Terminal.Gui.FileDialog.#ctor*"></a>
  460. <h4 id="Terminal_Gui_FileDialog__ctor" data-uid="Terminal.Gui.FileDialog.#ctor">FileDialog()</h4>
  461. <div class="markdown level1 summary">
  462. Initializes a new <a class="xref" href="Terminal.Gui.FileDialog.html">FileDialog</a>.
  463. </div>
  464. <div class="markdown level1 conceptual"></div>
  465. <h5 class="decalaration">Declaration</h5>
  466. <div class="codewrapper">
  467. <pre><code class="lang-csharp hljs">public FileDialog()</code></pre>
  468. </div>
  469. <a id="Terminal_Gui_FileDialog__ctor_" data-uid="Terminal.Gui.FileDialog.#ctor*"></a>
  470. <h4 id="Terminal_Gui_FileDialog__ctor_NStack_ustring_NStack_ustring_NStack_ustring_NStack_ustring_" data-uid="Terminal.Gui.FileDialog.#ctor(NStack.ustring,NStack.ustring,NStack.ustring,NStack.ustring)">FileDialog(ustring, ustring, ustring, ustring)</h4>
  471. <div class="markdown level1 summary">
  472. Initializes a new instance of <a class="xref" href="Terminal.Gui.FileDialog.html">FileDialog</a>
  473. </div>
  474. <div class="markdown level1 conceptual"></div>
  475. <h5 class="decalaration">Declaration</h5>
  476. <div class="codewrapper">
  477. <pre><code class="lang-csharp hljs">public FileDialog(ustring title, ustring prompt, ustring nameFieldLabel, ustring message)</code></pre>
  478. </div>
  479. <h5 class="parameters">Parameters</h5>
  480. <table class="table table-bordered table-striped table-condensed">
  481. <thead>
  482. <tr>
  483. <th>Type</th>
  484. <th>Name</th>
  485. <th>Description</th>
  486. </tr>
  487. </thead>
  488. <tbody>
  489. <tr>
  490. <td><span class="xref">NStack.ustring</span></td>
  491. <td><span class="parametername">title</span></td>
  492. <td>The title.</td>
  493. </tr>
  494. <tr>
  495. <td><span class="xref">NStack.ustring</span></td>
  496. <td><span class="parametername">prompt</span></td>
  497. <td>The prompt.</td>
  498. </tr>
  499. <tr>
  500. <td><span class="xref">NStack.ustring</span></td>
  501. <td><span class="parametername">nameFieldLabel</span></td>
  502. <td>The name field label.</td>
  503. </tr>
  504. <tr>
  505. <td><span class="xref">NStack.ustring</span></td>
  506. <td><span class="parametername">message</span></td>
  507. <td>The message.</td>
  508. </tr>
  509. </tbody>
  510. </table>
  511. <h3 id="properties">Properties
  512. </h3>
  513. <a id="Terminal_Gui_FileDialog_AllowedFileTypes_" data-uid="Terminal.Gui.FileDialog.AllowedFileTypes*"></a>
  514. <h4 id="Terminal_Gui_FileDialog_AllowedFileTypes" data-uid="Terminal.Gui.FileDialog.AllowedFileTypes">AllowedFileTypes</h4>
  515. <div class="markdown level1 summary">
  516. The array of filename extensions allowed, or null if all file extensions are allowed.
  517. </div>
  518. <div class="markdown level1 conceptual"></div>
  519. <h5 class="decalaration">Declaration</h5>
  520. <div class="codewrapper">
  521. <pre><code class="lang-csharp hljs">public string[] AllowedFileTypes { get; set; }</code></pre>
  522. </div>
  523. <h5 class="propertyValue">Property Value</h5>
  524. <table class="table table-bordered table-striped table-condensed">
  525. <thead>
  526. <tr>
  527. <th>Type</th>
  528. <th>Description</th>
  529. </tr>
  530. </thead>
  531. <tbody>
  532. <tr>
  533. <td><span class="xref">System.String</span>[]</td>
  534. <td>The allowed file types.</td>
  535. </tr>
  536. </tbody>
  537. </table>
  538. <a id="Terminal_Gui_FileDialog_AllowsOtherFileTypes_" data-uid="Terminal.Gui.FileDialog.AllowsOtherFileTypes*"></a>
  539. <h4 id="Terminal_Gui_FileDialog_AllowsOtherFileTypes" data-uid="Terminal.Gui.FileDialog.AllowsOtherFileTypes">AllowsOtherFileTypes</h4>
  540. <div class="markdown level1 summary">
  541. Gets or sets a value indicating whether this <a class="xref" href="Terminal.Gui.FileDialog.html">FileDialog</a> allows the file to be saved with a different extension
  542. </div>
  543. <div class="markdown level1 conceptual"></div>
  544. <h5 class="decalaration">Declaration</h5>
  545. <div class="codewrapper">
  546. <pre><code class="lang-csharp hljs">public bool AllowsOtherFileTypes { get; set; }</code></pre>
  547. </div>
  548. <h5 class="propertyValue">Property Value</h5>
  549. <table class="table table-bordered table-striped table-condensed">
  550. <thead>
  551. <tr>
  552. <th>Type</th>
  553. <th>Description</th>
  554. </tr>
  555. </thead>
  556. <tbody>
  557. <tr>
  558. <td><span class="xref">System.Boolean</span></td>
  559. <td><code>true</code> if allows other file types; otherwise, <code>false</code>.</td>
  560. </tr>
  561. </tbody>
  562. </table>
  563. <a id="Terminal_Gui_FileDialog_Canceled_" data-uid="Terminal.Gui.FileDialog.Canceled*"></a>
  564. <h4 id="Terminal_Gui_FileDialog_Canceled" data-uid="Terminal.Gui.FileDialog.Canceled">Canceled</h4>
  565. <div class="markdown level1 summary">
  566. Check if the dialog was or not canceled.
  567. </div>
  568. <div class="markdown level1 conceptual"></div>
  569. <h5 class="decalaration">Declaration</h5>
  570. <div class="codewrapper">
  571. <pre><code class="lang-csharp hljs">public bool Canceled { get; }</code></pre>
  572. </div>
  573. <h5 class="propertyValue">Property Value</h5>
  574. <table class="table table-bordered table-striped table-condensed">
  575. <thead>
  576. <tr>
  577. <th>Type</th>
  578. <th>Description</th>
  579. </tr>
  580. </thead>
  581. <tbody>
  582. <tr>
  583. <td><span class="xref">System.Boolean</span></td>
  584. <td></td>
  585. </tr>
  586. </tbody>
  587. </table>
  588. <a id="Terminal_Gui_FileDialog_CanCreateDirectories_" data-uid="Terminal.Gui.FileDialog.CanCreateDirectories*"></a>
  589. <h4 id="Terminal_Gui_FileDialog_CanCreateDirectories" data-uid="Terminal.Gui.FileDialog.CanCreateDirectories">CanCreateDirectories</h4>
  590. <div class="markdown level1 summary">
  591. Gets or sets a value indicating whether this <a class="xref" href="Terminal.Gui.FileDialog.html">FileDialog</a> can create directories.
  592. </div>
  593. <div class="markdown level1 conceptual"></div>
  594. <h5 class="decalaration">Declaration</h5>
  595. <div class="codewrapper">
  596. <pre><code class="lang-csharp hljs">public bool CanCreateDirectories { get; set; }</code></pre>
  597. </div>
  598. <h5 class="propertyValue">Property Value</h5>
  599. <table class="table table-bordered table-striped table-condensed">
  600. <thead>
  601. <tr>
  602. <th>Type</th>
  603. <th>Description</th>
  604. </tr>
  605. </thead>
  606. <tbody>
  607. <tr>
  608. <td><span class="xref">System.Boolean</span></td>
  609. <td><code>true</code> if can create directories; otherwise, <code>false</code>.</td>
  610. </tr>
  611. </tbody>
  612. </table>
  613. <a id="Terminal_Gui_FileDialog_DirectoryPath_" data-uid="Terminal.Gui.FileDialog.DirectoryPath*"></a>
  614. <h4 id="Terminal_Gui_FileDialog_DirectoryPath" data-uid="Terminal.Gui.FileDialog.DirectoryPath">DirectoryPath</h4>
  615. <div class="markdown level1 summary">
  616. Gets or sets the directory path for this panel
  617. </div>
  618. <div class="markdown level1 conceptual"></div>
  619. <h5 class="decalaration">Declaration</h5>
  620. <div class="codewrapper">
  621. <pre><code class="lang-csharp hljs">public ustring DirectoryPath { get; set; }</code></pre>
  622. </div>
  623. <h5 class="propertyValue">Property Value</h5>
  624. <table class="table table-bordered table-striped table-condensed">
  625. <thead>
  626. <tr>
  627. <th>Type</th>
  628. <th>Description</th>
  629. </tr>
  630. </thead>
  631. <tbody>
  632. <tr>
  633. <td><span class="xref">NStack.ustring</span></td>
  634. <td>The directory path.</td>
  635. </tr>
  636. </tbody>
  637. </table>
  638. <a id="Terminal_Gui_FileDialog_FilePath_" data-uid="Terminal.Gui.FileDialog.FilePath*"></a>
  639. <h4 id="Terminal_Gui_FileDialog_FilePath" data-uid="Terminal.Gui.FileDialog.FilePath">FilePath</h4>
  640. <div class="markdown level1 summary">
  641. The File path that is currently shown on the panel
  642. </div>
  643. <div class="markdown level1 conceptual"></div>
  644. <h5 class="decalaration">Declaration</h5>
  645. <div class="codewrapper">
  646. <pre><code class="lang-csharp hljs">public ustring FilePath { get; set; }</code></pre>
  647. </div>
  648. <h5 class="propertyValue">Property Value</h5>
  649. <table class="table table-bordered table-striped table-condensed">
  650. <thead>
  651. <tr>
  652. <th>Type</th>
  653. <th>Description</th>
  654. </tr>
  655. </thead>
  656. <tbody>
  657. <tr>
  658. <td><span class="xref">NStack.ustring</span></td>
  659. <td>The absolute file path for the file path entered.</td>
  660. </tr>
  661. </tbody>
  662. </table>
  663. <a id="Terminal_Gui_FileDialog_IsExtensionHidden_" data-uid="Terminal.Gui.FileDialog.IsExtensionHidden*"></a>
  664. <h4 id="Terminal_Gui_FileDialog_IsExtensionHidden" data-uid="Terminal.Gui.FileDialog.IsExtensionHidden">IsExtensionHidden</h4>
  665. <div class="markdown level1 summary">
  666. Gets or sets a value indicating whether this <a class="xref" href="Terminal.Gui.FileDialog.html">FileDialog</a> is extension hidden.
  667. </div>
  668. <div class="markdown level1 conceptual"></div>
  669. <h5 class="decalaration">Declaration</h5>
  670. <div class="codewrapper">
  671. <pre><code class="lang-csharp hljs">public bool IsExtensionHidden { get; set; }</code></pre>
  672. </div>
  673. <h5 class="propertyValue">Property Value</h5>
  674. <table class="table table-bordered table-striped table-condensed">
  675. <thead>
  676. <tr>
  677. <th>Type</th>
  678. <th>Description</th>
  679. </tr>
  680. </thead>
  681. <tbody>
  682. <tr>
  683. <td><span class="xref">System.Boolean</span></td>
  684. <td><code>true</code> if is extension hidden; otherwise, <code>false</code>.</td>
  685. </tr>
  686. </tbody>
  687. </table>
  688. <a id="Terminal_Gui_FileDialog_Message_" data-uid="Terminal.Gui.FileDialog.Message*"></a>
  689. <h4 id="Terminal_Gui_FileDialog_Message" data-uid="Terminal.Gui.FileDialog.Message">Message</h4>
  690. <div class="markdown level1 summary">
  691. Gets or sets the message displayed to the user, defaults to nothing
  692. </div>
  693. <div class="markdown level1 conceptual"></div>
  694. <h5 class="decalaration">Declaration</h5>
  695. <div class="codewrapper">
  696. <pre><code class="lang-csharp hljs">public ustring Message { get; set; }</code></pre>
  697. </div>
  698. <h5 class="propertyValue">Property Value</h5>
  699. <table class="table table-bordered table-striped table-condensed">
  700. <thead>
  701. <tr>
  702. <th>Type</th>
  703. <th>Description</th>
  704. </tr>
  705. </thead>
  706. <tbody>
  707. <tr>
  708. <td><span class="xref">NStack.ustring</span></td>
  709. <td>The message.</td>
  710. </tr>
  711. </tbody>
  712. </table>
  713. <a id="Terminal_Gui_FileDialog_NameFieldLabel_" data-uid="Terminal.Gui.FileDialog.NameFieldLabel*"></a>
  714. <h4 id="Terminal_Gui_FileDialog_NameFieldLabel" data-uid="Terminal.Gui.FileDialog.NameFieldLabel">NameFieldLabel</h4>
  715. <div class="markdown level1 summary">
  716. Gets or sets the name field label.
  717. </div>
  718. <div class="markdown level1 conceptual"></div>
  719. <h5 class="decalaration">Declaration</h5>
  720. <div class="codewrapper">
  721. <pre><code class="lang-csharp hljs">public ustring NameFieldLabel { get; set; }</code></pre>
  722. </div>
  723. <h5 class="propertyValue">Property Value</h5>
  724. <table class="table table-bordered table-striped table-condensed">
  725. <thead>
  726. <tr>
  727. <th>Type</th>
  728. <th>Description</th>
  729. </tr>
  730. </thead>
  731. <tbody>
  732. <tr>
  733. <td><span class="xref">NStack.ustring</span></td>
  734. <td>The name field label.</td>
  735. </tr>
  736. </tbody>
  737. </table>
  738. <a id="Terminal_Gui_FileDialog_Prompt_" data-uid="Terminal.Gui.FileDialog.Prompt*"></a>
  739. <h4 id="Terminal_Gui_FileDialog_Prompt" data-uid="Terminal.Gui.FileDialog.Prompt">Prompt</h4>
  740. <div class="markdown level1 summary">
  741. Gets or sets the prompt label for the <a class="xref" href="Terminal.Gui.Button.html">Button</a> displayed to the user
  742. </div>
  743. <div class="markdown level1 conceptual"></div>
  744. <h5 class="decalaration">Declaration</h5>
  745. <div class="codewrapper">
  746. <pre><code class="lang-csharp hljs">public ustring Prompt { get; set; }</code></pre>
  747. </div>
  748. <h5 class="propertyValue">Property Value</h5>
  749. <table class="table table-bordered table-striped table-condensed">
  750. <thead>
  751. <tr>
  752. <th>Type</th>
  753. <th>Description</th>
  754. </tr>
  755. </thead>
  756. <tbody>
  757. <tr>
  758. <td><span class="xref">NStack.ustring</span></td>
  759. <td>The prompt.</td>
  760. </tr>
  761. </tbody>
  762. </table>
  763. <h3 id="methods">Methods
  764. </h3>
  765. <a id="Terminal_Gui_FileDialog_WillPresent_" data-uid="Terminal.Gui.FileDialog.WillPresent*"></a>
  766. <h4 id="Terminal_Gui_FileDialog_WillPresent" data-uid="Terminal.Gui.FileDialog.WillPresent">WillPresent()</h4>
  767. <div class="markdown level1 summary">
  768. Invoked by <a class="xref" href="Terminal.Gui.Application.html#Terminal_Gui_Application_Begin_Terminal_Gui_Toplevel_">Begin(Toplevel)</a> as part of the <a class="xref" href="Terminal.Gui.Application.html#Terminal_Gui_Application_Run_Terminal_Gui_Toplevel_System_Func_System_Exception_System_Boolean__">Run(Toplevel, Func&lt;Exception, Boolean&gt;)</a> after
  769. the views have been laid out, and before the views are drawn for the first time.
  770. </div>
  771. <div class="markdown level1 conceptual"></div>
  772. <h5 class="decalaration">Declaration</h5>
  773. <div class="codewrapper">
  774. <pre><code class="lang-csharp hljs">public override void WillPresent()</code></pre>
  775. </div>
  776. <h5 class="overrides">Overrides</h5>
  777. <div><a class="xref" href="Terminal.Gui.Toplevel.html#Terminal_Gui_Toplevel_WillPresent">Toplevel.WillPresent()</a></div>
  778. <h3 id="implements">Implements</h3>
  779. <div>
  780. <span class="xref">System.IDisposable</span>
  781. </div>
  782. <div>
  783. <span class="xref">System.ComponentModel.ISupportInitializeNotification</span>
  784. </div>
  785. <div>
  786. <span class="xref">System.ComponentModel.ISupportInitialize</span>
  787. </div>
  788. </article>
  789. </div>
  790. <div class="hidden-sm col-md-2" role="complementary">
  791. <div class="sideaffix">
  792. <div class="contribution">
  793. <ul class="nav">
  794. </ul>
  795. </div>
  796. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  797. <h5>In This Article</h5>
  798. <div></div>
  799. </nav>
  800. </div>
  801. </div>
  802. </div>
  803. </div>
  804. <footer>
  805. <div class="grad-bottom"></div>
  806. <div class="footer">
  807. <div class="container">
  808. <span class="pull-right">
  809. <a href="#top">Back to top</a>
  810. </span>
  811. <span>Generated by <strong>DocFX</strong></span>
  812. </div>
  813. </div>
  814. </footer>
  815. </div>
  816. <script type="text/javascript" src="../../styles/docfx.vendor.js"></script>
  817. <script type="text/javascript" src="../../styles/docfx.js"></script>
  818. <script type="text/javascript" src="../../styles/main.js"></script>
  819. </body>
  820. </html>