Search Results for

    Show / Hide Table of Contents

    Class TextRegexProvider

    Regex Provider for TextValidateField.
    Inheritance
    System.Object
    TextRegexProvider
    Implements
    ITextValidateProvider
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Terminal.Gui.TextValidateProviders
    Assembly: Terminal.Gui.dll
    Syntax
    public class TextRegexProvider : ITextValidateProvider

    Constructors

    | Improve this Doc View Source

    TextRegexProvider(String)

    Empty Constructor.
    Declaration
    public TextRegexProvider(string pattern)
    Parameters
    Type Name Description
    System.String pattern

    Properties

    | Improve this Doc View Source

    DisplayText

    Declaration
    public ustring DisplayText { get; }
    Property Value
    Type Description
    NStack.ustring
    | Improve this Doc View Source

    Fixed

    Declaration
    public bool Fixed { get; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    IsValid

    Declaration
    public bool IsValid { get; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Pattern

    Regex pattern property.
    Declaration
    public ustring Pattern { get; set; }
    Property Value
    Type Description
    NStack.ustring
    | Improve this Doc View Source

    Text

    Declaration
    public ustring Text { get; set; }
    Property Value
    Type Description
    NStack.ustring
    | Improve this Doc View Source

    ValidateOnInput

    When true, validates with the regex pattern on each input, preventing the input if it's not valid.
    Declaration
    public bool ValidateOnInput { get; set; }
    Property Value
    Type Description
    System.Boolean

    Methods

    | Improve this Doc View Source

    Cursor(Int32)

    Declaration
    public int Cursor(int pos)
    Parameters
    Type Name Description
    System.Int32 pos
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    CursorEnd()

    Declaration
    public int CursorEnd()
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    CursorLeft(Int32)

    Declaration
    public int CursorLeft(int pos)
    Parameters
    Type Name Description
    System.Int32 pos
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    CursorRight(Int32)

    Declaration
    public int CursorRight(int pos)
    Parameters
    Type Name Description
    System.Int32 pos
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    CursorStart()

    Declaration
    public int CursorStart()
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    Delete(Int32)

    Declaration
    public bool Delete(int pos)
    Parameters
    Type Name Description
    System.Int32 pos
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    InsertAt(Char, Int32)

    Declaration
    public bool InsertAt(char ch, int pos)
    Parameters
    Type Name Description
    System.Char ch
    System.Int32 pos
    Returns
    Type Description
    System.Boolean

    Implements

    ITextValidateProvider
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX