Terminal.Gui.TextValidateProviders.ITextValidateProvider.html 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587
  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>Interface ITextValidateProvider
  8. </title>
  9. <meta name="viewport" content="width=device-width">
  10. <meta name="title" content="Interface ITextValidateProvider
  11. ">
  12. <meta name="generator" content="docfx 2.59.4.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. <link href="https://fonts.googleapis.com/css?family=Source Sans Pro" rel="stylesheet">
  18. <link href="https://fonts.googleapis.com/css?family=Source Code Pro" rel="stylesheet">
  19. <meta property="docfx:navrel" content="../../toc.html">
  20. <meta property="docfx:tocrel" content="toc.html">
  21. <meta property="docfx:rel" content="../../">
  22. </head> <body data-spy="scroll" data-target="#affix" data-offset="120">
  23. <div id="wrapper">
  24. <header>
  25. <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
  26. <div class="container">
  27. <div class="navbar-header">
  28. <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
  29. <span class="sr-only">Toggle navigation</span>
  30. <span class="icon-bar"></span>
  31. <span class="icon-bar"></span>
  32. <span class="icon-bar"></span>
  33. </button>
  34. <a class="navbar-brand" href="../../index.html">
  35. <img id="logo" class="svg" src="../../images/logo48.png" alt="">
  36. </a>
  37. </div>
  38. <div class="collapse navbar-collapse" id="navbar">
  39. <form class="navbar-form navbar-right" role="search" id="search">
  40. <div class="form-group">
  41. <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
  42. </div>
  43. </form>
  44. </div>
  45. </div>
  46. </nav>
  47. <div class="subnav navbar navbar-default">
  48. <div class="container hide-when-search" id="breadcrumb">
  49. <ul class="breadcrumb">
  50. <li></li>
  51. </ul>
  52. </div>
  53. </div>
  54. </header>
  55. <div class="container body-content">
  56. <div id="search-results">
  57. <div class="search-list">Search Results for <span></span></div>
  58. <div class="sr-items">
  59. <p><i class="glyphicon glyphicon-refresh index-loading"></i></p>
  60. </div>
  61. <ul id="pagination" data-first="First" data-prev="Previous" data-next="Next" data-last="Last"></ul>
  62. </div>
  63. </div>
  64. <div role="main" class="container body-content hide-when-search">
  65. <div class="sidenav hide-when-search">
  66. <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
  67. <div class="sidetoggle collapse" id="sidetoggle">
  68. <div id="sidetoc"></div>
  69. </div>
  70. </div>
  71. <div class="article row grid-right">
  72. <div class="col-md-10">
  73. <article class="content wrap" id="_content" data-uid="Terminal.Gui.TextValidateProviders.ITextValidateProvider">
  74. <h1 id="Terminal_Gui_TextValidateProviders_ITextValidateProvider" data-uid="Terminal.Gui.TextValidateProviders.ITextValidateProvider" class="text-break">Interface ITextValidateProvider
  75. </h1>
  76. <div class="markdown level0 summary">
  77. TextValidateField Providers Interface.
  78. All TextValidateField are created with a ITextValidateProvider.
  79. </div>
  80. <div class="markdown level0 conceptual"></div>
  81. <h6><strong>Namespace</strong>: <a class="xref" href="Terminal.Gui.TextValidateProviders.html">Terminal.Gui.TextValidateProviders</a></h6>
  82. <h6><strong>Assembly</strong>: Terminal.Gui.dll</h6>
  83. <h5 id="Terminal_Gui_TextValidateProviders_ITextValidateProvider_syntax">Syntax</h5>
  84. <div class="codewrapper">
  85. <pre><code class="lang-csharp hljs">public interface ITextValidateProvider</code></pre>
  86. </div>
  87. <h3 id="properties">Properties
  88. </h3>
  89. <span class="small pull-right mobile-hide">
  90. <span class="divider">|</span>
  91. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextValidateProviders_ITextValidateProvider_DisplayText.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextValidateProviders.ITextValidateProvider.DisplayText%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  92. </span>
  93. <span class="small pull-right mobile-hide">
  94. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextValidateField.cs/#L91">View Source</a>
  95. </span>
  96. <a id="Terminal_Gui_TextValidateProviders_ITextValidateProvider_DisplayText_" data-uid="Terminal.Gui.TextValidateProviders.ITextValidateProvider.DisplayText*"></a>
  97. <h4 id="Terminal_Gui_TextValidateProviders_ITextValidateProvider_DisplayText" data-uid="Terminal.Gui.TextValidateProviders.ITextValidateProvider.DisplayText">DisplayText</h4>
  98. <div class="markdown level1 summary">
  99. Gets the formatted string for display.
  100. </div>
  101. <div class="markdown level1 conceptual"></div>
  102. <h5 class="decalaration">Declaration</h5>
  103. <div class="codewrapper">
  104. <pre><code class="lang-csharp hljs">ustring DisplayText { get; }</code></pre>
  105. </div>
  106. <h5 class="propertyValue">Property Value</h5>
  107. <table class="table table-bordered table-striped table-condensed">
  108. <thead>
  109. <tr>
  110. <th>Type</th>
  111. <th>Description</th>
  112. </tr>
  113. </thead>
  114. <tbody>
  115. <tr>
  116. <td><span class="xref">NStack.ustring</span></td>
  117. <td></td>
  118. </tr>
  119. </tbody>
  120. </table>
  121. <span class="small pull-right mobile-hide">
  122. <span class="divider">|</span>
  123. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextValidateProviders_ITextValidateProvider_Fixed.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextValidateProviders.ITextValidateProvider.Fixed%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  124. </span>
  125. <span class="small pull-right mobile-hide">
  126. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextValidateField.cs/#L28">View Source</a>
  127. </span>
  128. <a id="Terminal_Gui_TextValidateProviders_ITextValidateProvider_Fixed_" data-uid="Terminal.Gui.TextValidateProviders.ITextValidateProvider.Fixed*"></a>
  129. <h4 id="Terminal_Gui_TextValidateProviders_ITextValidateProvider_Fixed" data-uid="Terminal.Gui.TextValidateProviders.ITextValidateProvider.Fixed">Fixed</h4>
  130. <div class="markdown level1 summary">
  131. Set that this provider uses a fixed width.
  132. e.g. Masked ones are fixed.
  133. </div>
  134. <div class="markdown level1 conceptual"></div>
  135. <h5 class="decalaration">Declaration</h5>
  136. <div class="codewrapper">
  137. <pre><code class="lang-csharp hljs">bool Fixed { get; }</code></pre>
  138. </div>
  139. <h5 class="propertyValue">Property Value</h5>
  140. <table class="table table-bordered table-striped table-condensed">
  141. <thead>
  142. <tr>
  143. <th>Type</th>
  144. <th>Description</th>
  145. </tr>
  146. </thead>
  147. <tbody>
  148. <tr>
  149. <td><span class="xref">System.Boolean</span></td>
  150. <td></td>
  151. </tr>
  152. </tbody>
  153. </table>
  154. <span class="small pull-right mobile-hide">
  155. <span class="divider">|</span>
  156. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextValidateProviders_ITextValidateProvider_IsValid.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextValidateProviders.ITextValidateProvider.IsValid%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  157. </span>
  158. <span class="small pull-right mobile-hide">
  159. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextValidateField.cs/#L81">View Source</a>
  160. </span>
  161. <a id="Terminal_Gui_TextValidateProviders_ITextValidateProvider_IsValid_" data-uid="Terminal.Gui.TextValidateProviders.ITextValidateProvider.IsValid*"></a>
  162. <h4 id="Terminal_Gui_TextValidateProviders_ITextValidateProvider_IsValid" data-uid="Terminal.Gui.TextValidateProviders.ITextValidateProvider.IsValid">IsValid</h4>
  163. <div class="markdown level1 summary">
  164. True if the input is valid, otherwise false.
  165. </div>
  166. <div class="markdown level1 conceptual"></div>
  167. <h5 class="decalaration">Declaration</h5>
  168. <div class="codewrapper">
  169. <pre><code class="lang-csharp hljs">bool IsValid { get; }</code></pre>
  170. </div>
  171. <h5 class="propertyValue">Property Value</h5>
  172. <table class="table table-bordered table-striped table-condensed">
  173. <thead>
  174. <tr>
  175. <th>Type</th>
  176. <th>Description</th>
  177. </tr>
  178. </thead>
  179. <tbody>
  180. <tr>
  181. <td><span class="xref">System.Boolean</span></td>
  182. <td></td>
  183. </tr>
  184. </tbody>
  185. </table>
  186. <span class="small pull-right mobile-hide">
  187. <span class="divider">|</span>
  188. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextValidateProviders_ITextValidateProvider_Text.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextValidateProviders.ITextValidateProvider.Text%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  189. </span>
  190. <span class="small pull-right mobile-hide">
  191. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextValidateField.cs/#L86">View Source</a>
  192. </span>
  193. <a id="Terminal_Gui_TextValidateProviders_ITextValidateProvider_Text_" data-uid="Terminal.Gui.TextValidateProviders.ITextValidateProvider.Text*"></a>
  194. <h4 id="Terminal_Gui_TextValidateProviders_ITextValidateProvider_Text" data-uid="Terminal.Gui.TextValidateProviders.ITextValidateProvider.Text">Text</h4>
  195. <div class="markdown level1 summary">
  196. Set the input text and get the current value.
  197. </div>
  198. <div class="markdown level1 conceptual"></div>
  199. <h5 class="decalaration">Declaration</h5>
  200. <div class="codewrapper">
  201. <pre><code class="lang-csharp hljs">ustring Text { get; set; }</code></pre>
  202. </div>
  203. <h5 class="propertyValue">Property Value</h5>
  204. <table class="table table-bordered table-striped table-condensed">
  205. <thead>
  206. <tr>
  207. <th>Type</th>
  208. <th>Description</th>
  209. </tr>
  210. </thead>
  211. <tbody>
  212. <tr>
  213. <td><span class="xref">NStack.ustring</span></td>
  214. <td></td>
  215. </tr>
  216. </tbody>
  217. </table>
  218. <h3 id="methods">Methods
  219. </h3>
  220. <span class="small pull-right mobile-hide">
  221. <span class="divider">|</span>
  222. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextValidateProviders_ITextValidateProvider_Cursor_System_Int32_.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextValidateProviders.ITextValidateProvider.Cursor(System.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  223. </span>
  224. <span class="small pull-right mobile-hide">
  225. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextValidateField.cs/#L35">View Source</a>
  226. </span>
  227. <a id="Terminal_Gui_TextValidateProviders_ITextValidateProvider_Cursor_" data-uid="Terminal.Gui.TextValidateProviders.ITextValidateProvider.Cursor*"></a>
  228. <h4 id="Terminal_Gui_TextValidateProviders_ITextValidateProvider_Cursor_System_Int32_" data-uid="Terminal.Gui.TextValidateProviders.ITextValidateProvider.Cursor(System.Int32)">Cursor(Int32)</h4>
  229. <div class="markdown level1 summary">
  230. Set Cursor position to <code data-dev-comment-type="paramref" class="paramref">pos</code>.
  231. </div>
  232. <div class="markdown level1 conceptual"></div>
  233. <h5 class="decalaration">Declaration</h5>
  234. <div class="codewrapper">
  235. <pre><code class="lang-csharp hljs">int Cursor(int pos)</code></pre>
  236. </div>
  237. <h5 class="parameters">Parameters</h5>
  238. <table class="table table-bordered table-striped table-condensed">
  239. <thead>
  240. <tr>
  241. <th>Type</th>
  242. <th>Name</th>
  243. <th>Description</th>
  244. </tr>
  245. </thead>
  246. <tbody>
  247. <tr>
  248. <td><span class="xref">System.Int32</span></td>
  249. <td><span class="parametername">pos</span></td>
  250. <td></td>
  251. </tr>
  252. </tbody>
  253. </table>
  254. <h5 class="returns">Returns</h5>
  255. <table class="table table-bordered table-striped table-condensed">
  256. <thead>
  257. <tr>
  258. <th>Type</th>
  259. <th>Description</th>
  260. </tr>
  261. </thead>
  262. <tbody>
  263. <tr>
  264. <td><span class="xref">System.Int32</span></td>
  265. <td>Return first valid position.</td>
  266. </tr>
  267. </tbody>
  268. </table>
  269. <span class="small pull-right mobile-hide">
  270. <span class="divider">|</span>
  271. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextValidateProviders_ITextValidateProvider_CursorEnd.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextValidateProviders.ITextValidateProvider.CursorEnd%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  272. </span>
  273. <span class="small pull-right mobile-hide">
  274. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextValidateField.cs/#L61">View Source</a>
  275. </span>
  276. <a id="Terminal_Gui_TextValidateProviders_ITextValidateProvider_CursorEnd_" data-uid="Terminal.Gui.TextValidateProviders.ITextValidateProvider.CursorEnd*"></a>
  277. <h4 id="Terminal_Gui_TextValidateProviders_ITextValidateProvider_CursorEnd" data-uid="Terminal.Gui.TextValidateProviders.ITextValidateProvider.CursorEnd">CursorEnd()</h4>
  278. <div class="markdown level1 summary">
  279. Find the last valid character position.
  280. </div>
  281. <div class="markdown level1 conceptual"></div>
  282. <h5 class="decalaration">Declaration</h5>
  283. <div class="codewrapper">
  284. <pre><code class="lang-csharp hljs">int CursorEnd()</code></pre>
  285. </div>
  286. <h5 class="returns">Returns</h5>
  287. <table class="table table-bordered table-striped table-condensed">
  288. <thead>
  289. <tr>
  290. <th>Type</th>
  291. <th>Description</th>
  292. </tr>
  293. </thead>
  294. <tbody>
  295. <tr>
  296. <td><span class="xref">System.Int32</span></td>
  297. <td>New cursor position.</td>
  298. </tr>
  299. </tbody>
  300. </table>
  301. <span class="small pull-right mobile-hide">
  302. <span class="divider">|</span>
  303. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextValidateProviders_ITextValidateProvider_CursorLeft_System_Int32_.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextValidateProviders.ITextValidateProvider.CursorLeft(System.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  304. </span>
  305. <span class="small pull-right mobile-hide">
  306. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextValidateField.cs/#L42">View Source</a>
  307. </span>
  308. <a id="Terminal_Gui_TextValidateProviders_ITextValidateProvider_CursorLeft_" data-uid="Terminal.Gui.TextValidateProviders.ITextValidateProvider.CursorLeft*"></a>
  309. <h4 id="Terminal_Gui_TextValidateProviders_ITextValidateProvider_CursorLeft_System_Int32_" data-uid="Terminal.Gui.TextValidateProviders.ITextValidateProvider.CursorLeft(System.Int32)">CursorLeft(Int32)</h4>
  310. <div class="markdown level1 summary">
  311. First valid position before <code data-dev-comment-type="paramref" class="paramref">pos</code>.
  312. </div>
  313. <div class="markdown level1 conceptual"></div>
  314. <h5 class="decalaration">Declaration</h5>
  315. <div class="codewrapper">
  316. <pre><code class="lang-csharp hljs">int CursorLeft(int pos)</code></pre>
  317. </div>
  318. <h5 class="parameters">Parameters</h5>
  319. <table class="table table-bordered table-striped table-condensed">
  320. <thead>
  321. <tr>
  322. <th>Type</th>
  323. <th>Name</th>
  324. <th>Description</th>
  325. </tr>
  326. </thead>
  327. <tbody>
  328. <tr>
  329. <td><span class="xref">System.Int32</span></td>
  330. <td><span class="parametername">pos</span></td>
  331. <td></td>
  332. </tr>
  333. </tbody>
  334. </table>
  335. <h5 class="returns">Returns</h5>
  336. <table class="table table-bordered table-striped table-condensed">
  337. <thead>
  338. <tr>
  339. <th>Type</th>
  340. <th>Description</th>
  341. </tr>
  342. </thead>
  343. <tbody>
  344. <tr>
  345. <td><span class="xref">System.Int32</span></td>
  346. <td>New cursor position if any, otherwise returns <code data-dev-comment-type="paramref" class="paramref">pos</code></td>
  347. </tr>
  348. </tbody>
  349. </table>
  350. <span class="small pull-right mobile-hide">
  351. <span class="divider">|</span>
  352. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextValidateProviders_ITextValidateProvider_CursorRight_System_Int32_.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextValidateProviders.ITextValidateProvider.CursorRight(System.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  353. </span>
  354. <span class="small pull-right mobile-hide">
  355. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextValidateField.cs/#L49">View Source</a>
  356. </span>
  357. <a id="Terminal_Gui_TextValidateProviders_ITextValidateProvider_CursorRight_" data-uid="Terminal.Gui.TextValidateProviders.ITextValidateProvider.CursorRight*"></a>
  358. <h4 id="Terminal_Gui_TextValidateProviders_ITextValidateProvider_CursorRight_System_Int32_" data-uid="Terminal.Gui.TextValidateProviders.ITextValidateProvider.CursorRight(System.Int32)">CursorRight(Int32)</h4>
  359. <div class="markdown level1 summary">
  360. First valid position after <code data-dev-comment-type="paramref" class="paramref">pos</code>.
  361. </div>
  362. <div class="markdown level1 conceptual"></div>
  363. <h5 class="decalaration">Declaration</h5>
  364. <div class="codewrapper">
  365. <pre><code class="lang-csharp hljs">int CursorRight(int pos)</code></pre>
  366. </div>
  367. <h5 class="parameters">Parameters</h5>
  368. <table class="table table-bordered table-striped table-condensed">
  369. <thead>
  370. <tr>
  371. <th>Type</th>
  372. <th>Name</th>
  373. <th>Description</th>
  374. </tr>
  375. </thead>
  376. <tbody>
  377. <tr>
  378. <td><span class="xref">System.Int32</span></td>
  379. <td><span class="parametername">pos</span></td>
  380. <td>Current position.</td>
  381. </tr>
  382. </tbody>
  383. </table>
  384. <h5 class="returns">Returns</h5>
  385. <table class="table table-bordered table-striped table-condensed">
  386. <thead>
  387. <tr>
  388. <th>Type</th>
  389. <th>Description</th>
  390. </tr>
  391. </thead>
  392. <tbody>
  393. <tr>
  394. <td><span class="xref">System.Int32</span></td>
  395. <td>New cursor position if any, otherwise returns <code data-dev-comment-type="paramref" class="paramref">pos</code></td>
  396. </tr>
  397. </tbody>
  398. </table>
  399. <span class="small pull-right mobile-hide">
  400. <span class="divider">|</span>
  401. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextValidateProviders_ITextValidateProvider_CursorStart.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextValidateProviders.ITextValidateProvider.CursorStart%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  402. </span>
  403. <span class="small pull-right mobile-hide">
  404. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextValidateField.cs/#L55">View Source</a>
  405. </span>
  406. <a id="Terminal_Gui_TextValidateProviders_ITextValidateProvider_CursorStart_" data-uid="Terminal.Gui.TextValidateProviders.ITextValidateProvider.CursorStart*"></a>
  407. <h4 id="Terminal_Gui_TextValidateProviders_ITextValidateProvider_CursorStart" data-uid="Terminal.Gui.TextValidateProviders.ITextValidateProvider.CursorStart">CursorStart()</h4>
  408. <div class="markdown level1 summary">
  409. Find the first valid character position.
  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">int CursorStart()</code></pre>
  415. </div>
  416. <h5 class="returns">Returns</h5>
  417. <table class="table table-bordered table-striped table-condensed">
  418. <thead>
  419. <tr>
  420. <th>Type</th>
  421. <th>Description</th>
  422. </tr>
  423. </thead>
  424. <tbody>
  425. <tr>
  426. <td><span class="xref">System.Int32</span></td>
  427. <td>New cursor position.</td>
  428. </tr>
  429. </tbody>
  430. </table>
  431. <span class="small pull-right mobile-hide">
  432. <span class="divider">|</span>
  433. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextValidateProviders_ITextValidateProvider_Delete_System_Int32_.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextValidateProviders.ITextValidateProvider.Delete(System.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  434. </span>
  435. <span class="small pull-right mobile-hide">
  436. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextValidateField.cs/#L68">View Source</a>
  437. </span>
  438. <a id="Terminal_Gui_TextValidateProviders_ITextValidateProvider_Delete_" data-uid="Terminal.Gui.TextValidateProviders.ITextValidateProvider.Delete*"></a>
  439. <h4 id="Terminal_Gui_TextValidateProviders_ITextValidateProvider_Delete_System_Int32_" data-uid="Terminal.Gui.TextValidateProviders.ITextValidateProvider.Delete(System.Int32)">Delete(Int32)</h4>
  440. <div class="markdown level1 summary">
  441. Deletes the current character in <code data-dev-comment-type="paramref" class="paramref">pos</code>.
  442. </div>
  443. <div class="markdown level1 conceptual"></div>
  444. <h5 class="decalaration">Declaration</h5>
  445. <div class="codewrapper">
  446. <pre><code class="lang-csharp hljs">bool Delete(int pos)</code></pre>
  447. </div>
  448. <h5 class="parameters">Parameters</h5>
  449. <table class="table table-bordered table-striped table-condensed">
  450. <thead>
  451. <tr>
  452. <th>Type</th>
  453. <th>Name</th>
  454. <th>Description</th>
  455. </tr>
  456. </thead>
  457. <tbody>
  458. <tr>
  459. <td><span class="xref">System.Int32</span></td>
  460. <td><span class="parametername">pos</span></td>
  461. <td></td>
  462. </tr>
  463. </tbody>
  464. </table>
  465. <h5 class="returns">Returns</h5>
  466. <table class="table table-bordered table-striped table-condensed">
  467. <thead>
  468. <tr>
  469. <th>Type</th>
  470. <th>Description</th>
  471. </tr>
  472. </thead>
  473. <tbody>
  474. <tr>
  475. <td><span class="xref">System.Boolean</span></td>
  476. <td>true if the character was successfully removed, otherwise false.</td>
  477. </tr>
  478. </tbody>
  479. </table>
  480. <span class="small pull-right mobile-hide">
  481. <span class="divider">|</span>
  482. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextValidateProviders_ITextValidateProvider_InsertAt_System_Char_System_Int32_.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextValidateProviders.ITextValidateProvider.InsertAt(System.Char%2CSystem.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  483. </span>
  484. <span class="small pull-right mobile-hide">
  485. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextValidateField.cs/#L76">View Source</a>
  486. </span>
  487. <a id="Terminal_Gui_TextValidateProviders_ITextValidateProvider_InsertAt_" data-uid="Terminal.Gui.TextValidateProviders.ITextValidateProvider.InsertAt*"></a>
  488. <h4 id="Terminal_Gui_TextValidateProviders_ITextValidateProvider_InsertAt_System_Char_System_Int32_" data-uid="Terminal.Gui.TextValidateProviders.ITextValidateProvider.InsertAt(System.Char,System.Int32)">InsertAt(Char, Int32)</h4>
  489. <div class="markdown level1 summary">
  490. Insert character <code data-dev-comment-type="paramref" class="paramref">ch</code> in position <code data-dev-comment-type="paramref" class="paramref">pos</code>.
  491. </div>
  492. <div class="markdown level1 conceptual"></div>
  493. <h5 class="decalaration">Declaration</h5>
  494. <div class="codewrapper">
  495. <pre><code class="lang-csharp hljs">bool InsertAt(char ch, int pos)</code></pre>
  496. </div>
  497. <h5 class="parameters">Parameters</h5>
  498. <table class="table table-bordered table-striped table-condensed">
  499. <thead>
  500. <tr>
  501. <th>Type</th>
  502. <th>Name</th>
  503. <th>Description</th>
  504. </tr>
  505. </thead>
  506. <tbody>
  507. <tr>
  508. <td><span class="xref">System.Char</span></td>
  509. <td><span class="parametername">ch</span></td>
  510. <td></td>
  511. </tr>
  512. <tr>
  513. <td><span class="xref">System.Int32</span></td>
  514. <td><span class="parametername">pos</span></td>
  515. <td></td>
  516. </tr>
  517. </tbody>
  518. </table>
  519. <h5 class="returns">Returns</h5>
  520. <table class="table table-bordered table-striped table-condensed">
  521. <thead>
  522. <tr>
  523. <th>Type</th>
  524. <th>Description</th>
  525. </tr>
  526. </thead>
  527. <tbody>
  528. <tr>
  529. <td><span class="xref">System.Boolean</span></td>
  530. <td>true if the character was successfully inserted, otherwise false.</td>
  531. </tr>
  532. </tbody>
  533. </table>
  534. </article>
  535. </div>
  536. <div class="hidden-sm col-md-2" role="complementary">
  537. <div class="sideaffix">
  538. <div class="contribution">
  539. <ul class="nav">
  540. <li>
  541. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextValidateProviders_ITextValidateProvider.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextValidateProviders.ITextValidateProvider%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" class="contribution-link">Improve this Doc</a>
  542. </li>
  543. <li>
  544. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextValidateField.cs/#L23" class="contribution-link">View Source</a>
  545. </li>
  546. </ul>
  547. </div>
  548. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  549. <h5>In This Article</h5>
  550. <div></div>
  551. </nav>
  552. </div>
  553. </div>
  554. </div>
  555. </div>
  556. <footer>
  557. <div class="grad-bottom"></div>
  558. <div class="footer">
  559. <div class="container">
  560. <span class="pull-right">
  561. <a href="#top">Back to top</a>
  562. </span>
  563. <span>Generated by <strong>DocFX</strong></span>
  564. </div>
  565. </div>
  566. </footer>
  567. </div>
  568. <script type="text/javascript" src="../../styles/docfx.vendor.js"></script>
  569. <script type="text/javascript" src="../../styles/docfx.js"></script>
  570. <script type="text/javascript" src="../../styles/main.js"></script>
  571. </body>
  572. </html>