Class LengthLimitingTextInputFormatter | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class LengthLimitingTextInputFormatter

    Inheritance
    System.Object
    TextInputFormatter
    LengthLimitingTextInputFormatter
    Namespace: Unity.UIWidgets.service
    Syntax
    public class LengthLimitingTextInputFormatter : TextInputFormatter

    Constructors

    LengthLimitingTextInputFormatter(Nullable<Int32>)

    Declaration
    public LengthLimitingTextInputFormatter(int? maxLength)
    Parameters
    Type Name Description
    System.Nullable<System.Int32> maxLength

    Fields

    maxLength

    Declaration
    public readonly int? maxLength
    Field Value
    Type Description
    System.Nullable<System.Int32>

    Methods

    formatEditUpdate(TextEditingValue, TextEditingValue)

    Declaration
    public override TextEditingValue formatEditUpdate(TextEditingValue oldValue, TextEditingValue newValue)
    Parameters
    Type Name Description
    TextEditingValue oldValue
    TextEditingValue newValue
    Returns
    Type Description
    TextEditingValue
    Overrides
    TextInputFormatter.formatEditUpdate(TextEditingValue, TextEditingValue)
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023