Struct InputFilter

    Definition

    Namespace:
    Tizen.NUI.Text
    Assembly:
    Tizen.NUI.dll

    A struct to pass data of InputFilter PropertyMap.

    public struct InputFilter : IEquatable<InputFilter>
    Implements
    System.IEquatable<T><InputFilter>
    Remarks

    InputFilter filters input based on regular expressions.
    Users can set the Accepted or Rejected regular expression set, or both.
    If both are used, Rejected has higher priority.
    The character set must follow the regular expression rules.
    Behaviour can not be guaranteed for incorrect grammars.
    Refer the link below for detailed rules.
    The functions in std::regex library use the ECMAScript grammar:
    http://cplusplus.com/reference/regex/ECMAScript/
    The InputFilter struct is used as an argument to SetInputFilter and GetInputFilter methods.
    See SetInputFilter(InputFilter), GetInputFilter(), SetInputFilter(InputFilter) and GetInputFilter().

    Properties

    View Source

    Accepted

    A regular expression in the set of characters to be accepted by the inputFilter.

    Declaration
    public string Accepted { readonly get; set; }
    Property Value
    Type Description
    string
    Remarks

    InputFilter filters input based on regular expressions.
    Users can set the Accepted or Rejected regular expression set, or both.
    If both are used, Rejected has higher priority.
    The character set must follow the regular expression rules.
    Behaviour can not be guaranteed for incorrect grammars.
    Refer the link below for detailed rules.
    The functions in std::regex library use the ECMAScript grammar:
    http://cplusplus.com/reference/regex/ECMAScript/
    The InputFilter struct is used as an argument to SetInputFilter and GetInputFilter methods.
    See SetInputFilter(InputFilter), GetInputFilter(), SetInputFilter(InputFilter) and GetInputFilter().

    View Source

    Rejected

    A regular expression in the set of characters to be rejected by the inputFilter.

    Declaration
    public string Rejected { readonly get; set; }
    Property Value
    Type Description
    string
    Remarks

    InputFilter filters input based on regular expressions.
    Users can set the Accepted or Rejected regular expression set, or both.
    If both are used, Rejected has higher priority.
    The character set must follow the regular expression rules.
    Behaviour can not be guaranteed for incorrect grammars.
    Refer the link below for detailed rules.
    The functions in std::regex library use the ECMAScript grammar:
    http://cplusplus.com/reference/regex/ECMAScript/
    The InputFilter struct is used as an argument to SetInputFilter and GetInputFilter methods.
    See SetInputFilter(InputFilter), GetInputFilter(), SetInputFilter(InputFilter) and GetInputFilter().

    Implements

    System.IEquatable<T>
    • View Source
    Back to top Copyright © 2016-2024 Samsung
    Generated by DocFX