Terminal.Gui.TextValidateProviders.TextRegexProvider.html 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700
  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 TextRegexProvider
  8. </title>
  9. <meta name="viewport" content="width=device-width">
  10. <meta name="title" content="Class TextRegexProvider
  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.TextRegexProvider">
  74. <h1 id="Terminal_Gui_TextValidateProviders_TextRegexProvider" data-uid="Terminal.Gui.TextValidateProviders.TextRegexProvider" class="text-break">Class TextRegexProvider
  75. </h1>
  76. <div class="markdown level0 summary">
  77. Regex Provider for TextValidateField.
  78. </div>
  79. <div class="markdown level0 conceptual"></div>
  80. <div class="inheritance">
  81. <h5>Inheritance</h5>
  82. <div class="level0"><span class="xref">System.Object</span></div>
  83. <div class="level1"><span class="xref">TextRegexProvider</span></div>
  84. </div>
  85. <div class="implements">
  86. <h5>Implements</h5>
  87. <div><a class="xref" href="Terminal.Gui.TextValidateProviders.ITextValidateProvider.html">ITextValidateProvider</a></div>
  88. </div>
  89. <div class="inheritedMembers">
  90. <h5>Inherited Members</h5>
  91. <div>
  92. <span class="xref">System.Object.Equals(System.Object)</span>
  93. </div>
  94. <div>
  95. <span class="xref">System.Object.Equals(System.Object, System.Object)</span>
  96. </div>
  97. <div>
  98. <span class="xref">System.Object.GetHashCode()</span>
  99. </div>
  100. <div>
  101. <span class="xref">System.Object.GetType()</span>
  102. </div>
  103. <div>
  104. <span class="xref">System.Object.MemberwiseClone()</span>
  105. </div>
  106. <div>
  107. <span class="xref">System.Object.ReferenceEquals(System.Object, System.Object)</span>
  108. </div>
  109. <div>
  110. <span class="xref">System.Object.ToString()</span>
  111. </div>
  112. </div>
  113. <h6><strong>Namespace</strong>: <a class="xref" href="Terminal.Gui.TextValidateProviders.html">Terminal.Gui.TextValidateProviders</a></h6>
  114. <h6><strong>Assembly</strong>: Terminal.Gui.dll</h6>
  115. <h5 id="Terminal_Gui_TextValidateProviders_TextRegexProvider_syntax">Syntax</h5>
  116. <div class="codewrapper">
  117. <pre><code class="lang-csharp hljs">public class TextRegexProvider : ITextValidateProvider</code></pre>
  118. </div>
  119. <h3 id="constructors">Constructors
  120. </h3>
  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_TextRegexProvider__ctor_System_String_.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextValidateProviders.TextRegexProvider.%23ctor(System.String)%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/#L225">View Source</a>
  127. </span>
  128. <a id="Terminal_Gui_TextValidateProviders_TextRegexProvider__ctor_" data-uid="Terminal.Gui.TextValidateProviders.TextRegexProvider.#ctor*"></a>
  129. <h4 id="Terminal_Gui_TextValidateProviders_TextRegexProvider__ctor_System_String_" data-uid="Terminal.Gui.TextValidateProviders.TextRegexProvider.#ctor(System.String)">TextRegexProvider(String)</h4>
  130. <div class="markdown level1 summary">
  131. Empty Constructor.
  132. </div>
  133. <div class="markdown level1 conceptual"></div>
  134. <h5 class="decalaration">Declaration</h5>
  135. <div class="codewrapper">
  136. <pre><code class="lang-csharp hljs">public TextRegexProvider(string pattern)</code></pre>
  137. </div>
  138. <h5 class="parameters">Parameters</h5>
  139. <table class="table table-bordered table-striped table-condensed">
  140. <thead>
  141. <tr>
  142. <th>Type</th>
  143. <th>Name</th>
  144. <th>Description</th>
  145. </tr>
  146. </thead>
  147. <tbody>
  148. <tr>
  149. <td><span class="xref">System.String</span></td>
  150. <td><span class="parametername">pattern</span></td>
  151. <td></td>
  152. </tr>
  153. </tbody>
  154. </table>
  155. <h3 id="properties">Properties
  156. </h3>
  157. <span class="small pull-right mobile-hide">
  158. <span class="divider">|</span>
  159. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextValidateProviders_TextRegexProvider_DisplayText.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextValidateProviders.TextRegexProvider.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>
  160. </span>
  161. <span class="small pull-right mobile-hide">
  162. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextValidateField.cs/#L256">View Source</a>
  163. </span>
  164. <a id="Terminal_Gui_TextValidateProviders_TextRegexProvider_DisplayText_" data-uid="Terminal.Gui.TextValidateProviders.TextRegexProvider.DisplayText*"></a>
  165. <h4 id="Terminal_Gui_TextValidateProviders_TextRegexProvider_DisplayText" data-uid="Terminal.Gui.TextValidateProviders.TextRegexProvider.DisplayText">DisplayText</h4>
  166. <div class="markdown level1 summary"></div>
  167. <div class="markdown level1 conceptual"></div>
  168. <h5 class="decalaration">Declaration</h5>
  169. <div class="codewrapper">
  170. <pre><code class="lang-csharp hljs">public ustring DisplayText { get; }</code></pre>
  171. </div>
  172. <h5 class="propertyValue">Property Value</h5>
  173. <table class="table table-bordered table-striped table-condensed">
  174. <thead>
  175. <tr>
  176. <th>Type</th>
  177. <th>Description</th>
  178. </tr>
  179. </thead>
  180. <tbody>
  181. <tr>
  182. <td><span class="xref">NStack.ustring</span></td>
  183. <td></td>
  184. </tr>
  185. </tbody>
  186. </table>
  187. <span class="small pull-right mobile-hide">
  188. <span class="divider">|</span>
  189. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextValidateProviders_TextRegexProvider_Fixed.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextValidateProviders.TextRegexProvider.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>
  190. </span>
  191. <span class="small pull-right mobile-hide">
  192. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextValidateField.cs/#L266">View Source</a>
  193. </span>
  194. <a id="Terminal_Gui_TextValidateProviders_TextRegexProvider_Fixed_" data-uid="Terminal.Gui.TextValidateProviders.TextRegexProvider.Fixed*"></a>
  195. <h4 id="Terminal_Gui_TextValidateProviders_TextRegexProvider_Fixed" data-uid="Terminal.Gui.TextValidateProviders.TextRegexProvider.Fixed">Fixed</h4>
  196. <div class="markdown level1 summary"></div>
  197. <div class="markdown level1 conceptual"></div>
  198. <h5 class="decalaration">Declaration</h5>
  199. <div class="codewrapper">
  200. <pre><code class="lang-csharp hljs">public bool Fixed { get; }</code></pre>
  201. </div>
  202. <h5 class="propertyValue">Property Value</h5>
  203. <table class="table table-bordered table-striped table-condensed">
  204. <thead>
  205. <tr>
  206. <th>Type</th>
  207. <th>Description</th>
  208. </tr>
  209. </thead>
  210. <tbody>
  211. <tr>
  212. <td><span class="xref">System.Boolean</span></td>
  213. <td></td>
  214. </tr>
  215. </tbody>
  216. </table>
  217. <span class="small pull-right mobile-hide">
  218. <span class="divider">|</span>
  219. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextValidateProviders_TextRegexProvider_IsValid.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextValidateProviders.TextRegexProvider.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>
  220. </span>
  221. <span class="small pull-right mobile-hide">
  222. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextValidateField.cs/#L259">View Source</a>
  223. </span>
  224. <a id="Terminal_Gui_TextValidateProviders_TextRegexProvider_IsValid_" data-uid="Terminal.Gui.TextValidateProviders.TextRegexProvider.IsValid*"></a>
  225. <h4 id="Terminal_Gui_TextValidateProviders_TextRegexProvider_IsValid" data-uid="Terminal.Gui.TextValidateProviders.TextRegexProvider.IsValid">IsValid</h4>
  226. <div class="markdown level1 summary"></div>
  227. <div class="markdown level1 conceptual"></div>
  228. <h5 class="decalaration">Declaration</h5>
  229. <div class="codewrapper">
  230. <pre><code class="lang-csharp hljs">public bool IsValid { get; }</code></pre>
  231. </div>
  232. <h5 class="propertyValue">Property Value</h5>
  233. <table class="table table-bordered table-striped table-condensed">
  234. <thead>
  235. <tr>
  236. <th>Type</th>
  237. <th>Description</th>
  238. </tr>
  239. </thead>
  240. <tbody>
  241. <tr>
  242. <td><span class="xref">System.Boolean</span></td>
  243. <td></td>
  244. </tr>
  245. </tbody>
  246. </table>
  247. <span class="small pull-right mobile-hide">
  248. <span class="divider">|</span>
  249. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextValidateProviders_TextRegexProvider_Pattern.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextValidateProviders.TextRegexProvider.Pattern%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>
  250. </span>
  251. <span class="small pull-right mobile-hide">
  252. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextValidateField.cs/#L233">View Source</a>
  253. </span>
  254. <a id="Terminal_Gui_TextValidateProviders_TextRegexProvider_Pattern_" data-uid="Terminal.Gui.TextValidateProviders.TextRegexProvider.Pattern*"></a>
  255. <h4 id="Terminal_Gui_TextValidateProviders_TextRegexProvider_Pattern" data-uid="Terminal.Gui.TextValidateProviders.TextRegexProvider.Pattern">Pattern</h4>
  256. <div class="markdown level1 summary">
  257. Regex pattern property.
  258. </div>
  259. <div class="markdown level1 conceptual"></div>
  260. <h5 class="decalaration">Declaration</h5>
  261. <div class="codewrapper">
  262. <pre><code class="lang-csharp hljs">public ustring Pattern { get; set; }</code></pre>
  263. </div>
  264. <h5 class="propertyValue">Property Value</h5>
  265. <table class="table table-bordered table-striped table-condensed">
  266. <thead>
  267. <tr>
  268. <th>Type</th>
  269. <th>Description</th>
  270. </tr>
  271. </thead>
  272. <tbody>
  273. <tr>
  274. <td><span class="xref">NStack.ustring</span></td>
  275. <td></td>
  276. </tr>
  277. </tbody>
  278. </table>
  279. <span class="small pull-right mobile-hide">
  280. <span class="divider">|</span>
  281. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextValidateProviders_TextRegexProvider_Text.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextValidateProviders.TextRegexProvider.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>
  282. </span>
  283. <span class="small pull-right mobile-hide">
  284. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextValidateField.cs/#L245">View Source</a>
  285. </span>
  286. <a id="Terminal_Gui_TextValidateProviders_TextRegexProvider_Text_" data-uid="Terminal.Gui.TextValidateProviders.TextRegexProvider.Text*"></a>
  287. <h4 id="Terminal_Gui_TextValidateProviders_TextRegexProvider_Text" data-uid="Terminal.Gui.TextValidateProviders.TextRegexProvider.Text">Text</h4>
  288. <div class="markdown level1 summary"></div>
  289. <div class="markdown level1 conceptual"></div>
  290. <h5 class="decalaration">Declaration</h5>
  291. <div class="codewrapper">
  292. <pre><code class="lang-csharp hljs">public ustring Text { get; set; }</code></pre>
  293. </div>
  294. <h5 class="propertyValue">Property Value</h5>
  295. <table class="table table-bordered table-striped table-condensed">
  296. <thead>
  297. <tr>
  298. <th>Type</th>
  299. <th>Description</th>
  300. </tr>
  301. </thead>
  302. <tbody>
  303. <tr>
  304. <td><span class="xref">NStack.ustring</span></td>
  305. <td></td>
  306. </tr>
  307. </tbody>
  308. </table>
  309. <span class="small pull-right mobile-hide">
  310. <span class="divider">|</span>
  311. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextValidateProviders_TextRegexProvider_ValidateOnInput.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextValidateProviders.TextRegexProvider.ValidateOnInput%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>
  312. </span>
  313. <span class="small pull-right mobile-hide">
  314. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextValidateField.cs/#L271">View Source</a>
  315. </span>
  316. <a id="Terminal_Gui_TextValidateProviders_TextRegexProvider_ValidateOnInput_" data-uid="Terminal.Gui.TextValidateProviders.TextRegexProvider.ValidateOnInput*"></a>
  317. <h4 id="Terminal_Gui_TextValidateProviders_TextRegexProvider_ValidateOnInput" data-uid="Terminal.Gui.TextValidateProviders.TextRegexProvider.ValidateOnInput">ValidateOnInput</h4>
  318. <div class="markdown level1 summary">
  319. When true, validates with the regex pattern on each input, preventing the input if it&apos;s not valid.
  320. </div>
  321. <div class="markdown level1 conceptual"></div>
  322. <h5 class="decalaration">Declaration</h5>
  323. <div class="codewrapper">
  324. <pre><code class="lang-csharp hljs">public bool ValidateOnInput { get; set; }</code></pre>
  325. </div>
  326. <h5 class="propertyValue">Property Value</h5>
  327. <table class="table table-bordered table-striped table-condensed">
  328. <thead>
  329. <tr>
  330. <th>Type</th>
  331. <th>Description</th>
  332. </tr>
  333. </thead>
  334. <tbody>
  335. <tr>
  336. <td><span class="xref">System.Boolean</span></td>
  337. <td></td>
  338. </tr>
  339. </tbody>
  340. </table>
  341. <h3 id="methods">Methods
  342. </h3>
  343. <span class="small pull-right mobile-hide">
  344. <span class="divider">|</span>
  345. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextValidateProviders_TextRegexProvider_Cursor_System_Int32_.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextValidateProviders.TextRegexProvider.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>
  346. </span>
  347. <span class="small pull-right mobile-hide">
  348. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextValidateField.cs/#L281">View Source</a>
  349. </span>
  350. <a id="Terminal_Gui_TextValidateProviders_TextRegexProvider_Cursor_" data-uid="Terminal.Gui.TextValidateProviders.TextRegexProvider.Cursor*"></a>
  351. <h4 id="Terminal_Gui_TextValidateProviders_TextRegexProvider_Cursor_System_Int32_" data-uid="Terminal.Gui.TextValidateProviders.TextRegexProvider.Cursor(System.Int32)">Cursor(Int32)</h4>
  352. <div class="markdown level1 summary"></div>
  353. <div class="markdown level1 conceptual"></div>
  354. <h5 class="decalaration">Declaration</h5>
  355. <div class="codewrapper">
  356. <pre><code class="lang-csharp hljs">public int Cursor(int pos)</code></pre>
  357. </div>
  358. <h5 class="parameters">Parameters</h5>
  359. <table class="table table-bordered table-striped table-condensed">
  360. <thead>
  361. <tr>
  362. <th>Type</th>
  363. <th>Name</th>
  364. <th>Description</th>
  365. </tr>
  366. </thead>
  367. <tbody>
  368. <tr>
  369. <td><span class="xref">System.Int32</span></td>
  370. <td><span class="parametername">pos</span></td>
  371. <td></td>
  372. </tr>
  373. </tbody>
  374. </table>
  375. <h5 class="returns">Returns</h5>
  376. <table class="table table-bordered table-striped table-condensed">
  377. <thead>
  378. <tr>
  379. <th>Type</th>
  380. <th>Description</th>
  381. </tr>
  382. </thead>
  383. <tbody>
  384. <tr>
  385. <td><span class="xref">System.Int32</span></td>
  386. <td></td>
  387. </tr>
  388. </tbody>
  389. </table>
  390. <span class="small pull-right mobile-hide">
  391. <span class="divider">|</span>
  392. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextValidateProviders_TextRegexProvider_CursorEnd.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextValidateProviders.TextRegexProvider.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>
  393. </span>
  394. <span class="small pull-right mobile-hide">
  395. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextValidateField.cs/#L299">View Source</a>
  396. </span>
  397. <a id="Terminal_Gui_TextValidateProviders_TextRegexProvider_CursorEnd_" data-uid="Terminal.Gui.TextValidateProviders.TextRegexProvider.CursorEnd*"></a>
  398. <h4 id="Terminal_Gui_TextValidateProviders_TextRegexProvider_CursorEnd" data-uid="Terminal.Gui.TextValidateProviders.TextRegexProvider.CursorEnd">CursorEnd()</h4>
  399. <div class="markdown level1 summary"></div>
  400. <div class="markdown level1 conceptual"></div>
  401. <h5 class="decalaration">Declaration</h5>
  402. <div class="codewrapper">
  403. <pre><code class="lang-csharp hljs">public int CursorEnd()</code></pre>
  404. </div>
  405. <h5 class="returns">Returns</h5>
  406. <table class="table table-bordered table-striped table-condensed">
  407. <thead>
  408. <tr>
  409. <th>Type</th>
  410. <th>Description</th>
  411. </tr>
  412. </thead>
  413. <tbody>
  414. <tr>
  415. <td><span class="xref">System.Int32</span></td>
  416. <td></td>
  417. </tr>
  418. </tbody>
  419. </table>
  420. <span class="small pull-right mobile-hide">
  421. <span class="divider">|</span>
  422. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextValidateProviders_TextRegexProvider_CursorLeft_System_Int32_.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextValidateProviders.TextRegexProvider.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>
  423. </span>
  424. <span class="small pull-right mobile-hide">
  425. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextValidateField.cs/#L305">View Source</a>
  426. </span>
  427. <a id="Terminal_Gui_TextValidateProviders_TextRegexProvider_CursorLeft_" data-uid="Terminal.Gui.TextValidateProviders.TextRegexProvider.CursorLeft*"></a>
  428. <h4 id="Terminal_Gui_TextValidateProviders_TextRegexProvider_CursorLeft_System_Int32_" data-uid="Terminal.Gui.TextValidateProviders.TextRegexProvider.CursorLeft(System.Int32)">CursorLeft(Int32)</h4>
  429. <div class="markdown level1 summary"></div>
  430. <div class="markdown level1 conceptual"></div>
  431. <h5 class="decalaration">Declaration</h5>
  432. <div class="codewrapper">
  433. <pre><code class="lang-csharp hljs">public int CursorLeft(int pos)</code></pre>
  434. </div>
  435. <h5 class="parameters">Parameters</h5>
  436. <table class="table table-bordered table-striped table-condensed">
  437. <thead>
  438. <tr>
  439. <th>Type</th>
  440. <th>Name</th>
  441. <th>Description</th>
  442. </tr>
  443. </thead>
  444. <tbody>
  445. <tr>
  446. <td><span class="xref">System.Int32</span></td>
  447. <td><span class="parametername">pos</span></td>
  448. <td></td>
  449. </tr>
  450. </tbody>
  451. </table>
  452. <h5 class="returns">Returns</h5>
  453. <table class="table table-bordered table-striped table-condensed">
  454. <thead>
  455. <tr>
  456. <th>Type</th>
  457. <th>Description</th>
  458. </tr>
  459. </thead>
  460. <tbody>
  461. <tr>
  462. <td><span class="xref">System.Int32</span></td>
  463. <td></td>
  464. </tr>
  465. </tbody>
  466. </table>
  467. <span class="small pull-right mobile-hide">
  468. <span class="divider">|</span>
  469. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextValidateProviders_TextRegexProvider_CursorRight_System_Int32_.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextValidateProviders.TextRegexProvider.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>
  470. </span>
  471. <span class="small pull-right mobile-hide">
  472. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextValidateField.cs/#L314">View Source</a>
  473. </span>
  474. <a id="Terminal_Gui_TextValidateProviders_TextRegexProvider_CursorRight_" data-uid="Terminal.Gui.TextValidateProviders.TextRegexProvider.CursorRight*"></a>
  475. <h4 id="Terminal_Gui_TextValidateProviders_TextRegexProvider_CursorRight_System_Int32_" data-uid="Terminal.Gui.TextValidateProviders.TextRegexProvider.CursorRight(System.Int32)">CursorRight(Int32)</h4>
  476. <div class="markdown level1 summary"></div>
  477. <div class="markdown level1 conceptual"></div>
  478. <h5 class="decalaration">Declaration</h5>
  479. <div class="codewrapper">
  480. <pre><code class="lang-csharp hljs">public int CursorRight(int pos)</code></pre>
  481. </div>
  482. <h5 class="parameters">Parameters</h5>
  483. <table class="table table-bordered table-striped table-condensed">
  484. <thead>
  485. <tr>
  486. <th>Type</th>
  487. <th>Name</th>
  488. <th>Description</th>
  489. </tr>
  490. </thead>
  491. <tbody>
  492. <tr>
  493. <td><span class="xref">System.Int32</span></td>
  494. <td><span class="parametername">pos</span></td>
  495. <td></td>
  496. </tr>
  497. </tbody>
  498. </table>
  499. <h5 class="returns">Returns</h5>
  500. <table class="table table-bordered table-striped table-condensed">
  501. <thead>
  502. <tr>
  503. <th>Type</th>
  504. <th>Description</th>
  505. </tr>
  506. </thead>
  507. <tbody>
  508. <tr>
  509. <td><span class="xref">System.Int32</span></td>
  510. <td></td>
  511. </tr>
  512. </tbody>
  513. </table>
  514. <span class="small pull-right mobile-hide">
  515. <span class="divider">|</span>
  516. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextValidateProviders_TextRegexProvider_CursorStart.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextValidateProviders.TextRegexProvider.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>
  517. </span>
  518. <span class="small pull-right mobile-hide">
  519. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextValidateField.cs/#L293">View Source</a>
  520. </span>
  521. <a id="Terminal_Gui_TextValidateProviders_TextRegexProvider_CursorStart_" data-uid="Terminal.Gui.TextValidateProviders.TextRegexProvider.CursorStart*"></a>
  522. <h4 id="Terminal_Gui_TextValidateProviders_TextRegexProvider_CursorStart" data-uid="Terminal.Gui.TextValidateProviders.TextRegexProvider.CursorStart">CursorStart()</h4>
  523. <div class="markdown level1 summary"></div>
  524. <div class="markdown level1 conceptual"></div>
  525. <h5 class="decalaration">Declaration</h5>
  526. <div class="codewrapper">
  527. <pre><code class="lang-csharp hljs">public int CursorStart()</code></pre>
  528. </div>
  529. <h5 class="returns">Returns</h5>
  530. <table class="table table-bordered table-striped table-condensed">
  531. <thead>
  532. <tr>
  533. <th>Type</th>
  534. <th>Description</th>
  535. </tr>
  536. </thead>
  537. <tbody>
  538. <tr>
  539. <td><span class="xref">System.Int32</span></td>
  540. <td></td>
  541. </tr>
  542. </tbody>
  543. </table>
  544. <span class="small pull-right mobile-hide">
  545. <span class="divider">|</span>
  546. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextValidateProviders_TextRegexProvider_Delete_System_Int32_.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextValidateProviders.TextRegexProvider.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>
  547. </span>
  548. <span class="small pull-right mobile-hide">
  549. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextValidateField.cs/#L323">View Source</a>
  550. </span>
  551. <a id="Terminal_Gui_TextValidateProviders_TextRegexProvider_Delete_" data-uid="Terminal.Gui.TextValidateProviders.TextRegexProvider.Delete*"></a>
  552. <h4 id="Terminal_Gui_TextValidateProviders_TextRegexProvider_Delete_System_Int32_" data-uid="Terminal.Gui.TextValidateProviders.TextRegexProvider.Delete(System.Int32)">Delete(Int32)</h4>
  553. <div class="markdown level1 summary"></div>
  554. <div class="markdown level1 conceptual"></div>
  555. <h5 class="decalaration">Declaration</h5>
  556. <div class="codewrapper">
  557. <pre><code class="lang-csharp hljs">public bool Delete(int pos)</code></pre>
  558. </div>
  559. <h5 class="parameters">Parameters</h5>
  560. <table class="table table-bordered table-striped table-condensed">
  561. <thead>
  562. <tr>
  563. <th>Type</th>
  564. <th>Name</th>
  565. <th>Description</th>
  566. </tr>
  567. </thead>
  568. <tbody>
  569. <tr>
  570. <td><span class="xref">System.Int32</span></td>
  571. <td><span class="parametername">pos</span></td>
  572. <td></td>
  573. </tr>
  574. </tbody>
  575. </table>
  576. <h5 class="returns">Returns</h5>
  577. <table class="table table-bordered table-striped table-condensed">
  578. <thead>
  579. <tr>
  580. <th>Type</th>
  581. <th>Description</th>
  582. </tr>
  583. </thead>
  584. <tbody>
  585. <tr>
  586. <td><span class="xref">System.Boolean</span></td>
  587. <td></td>
  588. </tr>
  589. </tbody>
  590. </table>
  591. <span class="small pull-right mobile-hide">
  592. <span class="divider">|</span>
  593. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextValidateProviders_TextRegexProvider_InsertAt_System_Char_System_Int32_.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextValidateProviders.TextRegexProvider.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>
  594. </span>
  595. <span class="small pull-right mobile-hide">
  596. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextValidateField.cs/#L332">View Source</a>
  597. </span>
  598. <a id="Terminal_Gui_TextValidateProviders_TextRegexProvider_InsertAt_" data-uid="Terminal.Gui.TextValidateProviders.TextRegexProvider.InsertAt*"></a>
  599. <h4 id="Terminal_Gui_TextValidateProviders_TextRegexProvider_InsertAt_System_Char_System_Int32_" data-uid="Terminal.Gui.TextValidateProviders.TextRegexProvider.InsertAt(System.Char,System.Int32)">InsertAt(Char, Int32)</h4>
  600. <div class="markdown level1 summary"></div>
  601. <div class="markdown level1 conceptual"></div>
  602. <h5 class="decalaration">Declaration</h5>
  603. <div class="codewrapper">
  604. <pre><code class="lang-csharp hljs">public bool InsertAt(char ch, int pos)</code></pre>
  605. </div>
  606. <h5 class="parameters">Parameters</h5>
  607. <table class="table table-bordered table-striped table-condensed">
  608. <thead>
  609. <tr>
  610. <th>Type</th>
  611. <th>Name</th>
  612. <th>Description</th>
  613. </tr>
  614. </thead>
  615. <tbody>
  616. <tr>
  617. <td><span class="xref">System.Char</span></td>
  618. <td><span class="parametername">ch</span></td>
  619. <td></td>
  620. </tr>
  621. <tr>
  622. <td><span class="xref">System.Int32</span></td>
  623. <td><span class="parametername">pos</span></td>
  624. <td></td>
  625. </tr>
  626. </tbody>
  627. </table>
  628. <h5 class="returns">Returns</h5>
  629. <table class="table table-bordered table-striped table-condensed">
  630. <thead>
  631. <tr>
  632. <th>Type</th>
  633. <th>Description</th>
  634. </tr>
  635. </thead>
  636. <tbody>
  637. <tr>
  638. <td><span class="xref">System.Boolean</span></td>
  639. <td></td>
  640. </tr>
  641. </tbody>
  642. </table>
  643. <h3 id="implements">Implements</h3>
  644. <div>
  645. <a class="xref" href="Terminal.Gui.TextValidateProviders.ITextValidateProvider.html">ITextValidateProvider</a>
  646. </div>
  647. </article>
  648. </div>
  649. <div class="hidden-sm col-md-2" role="complementary">
  650. <div class="sideaffix">
  651. <div class="contribution">
  652. <ul class="nav">
  653. <li>
  654. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextValidateProviders_TextRegexProvider.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextValidateProviders.TextRegexProvider%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>
  655. </li>
  656. <li>
  657. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextValidateField.cs/#L217" class="contribution-link">View Source</a>
  658. </li>
  659. </ul>
  660. </div>
  661. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  662. <h5>In This Article</h5>
  663. <div></div>
  664. </nav>
  665. </div>
  666. </div>
  667. </div>
  668. </div>
  669. <footer>
  670. <div class="grad-bottom"></div>
  671. <div class="footer">
  672. <div class="container">
  673. <span class="pull-right">
  674. <a href="#top">Back to top</a>
  675. </span>
  676. <span>Generated by <strong>DocFX</strong></span>
  677. </div>
  678. </div>
  679. </footer>
  680. </div>
  681. <script type="text/javascript" src="../../styles/docfx.vendor.js"></script>
  682. <script type="text/javascript" src="../../styles/docfx.js"></script>
  683. <script type="text/javascript" src="../../styles/main.js"></script>
  684. </body>
  685. </html>