Class TextEditingController | UIWidgets | 1.5.4-preview.12
docs.unity3d.com
    Show / Hide Table of Contents

    Class TextEditingController

    Inheritance
    Object
    ChangeNotifier
    ValueNotifier<TextEditingValue>
    TextEditingController
    Inherited Members
    ValueNotifier<TextEditingValue>.value
    ValueNotifier<TextEditingValue>.ToString()
    ChangeNotifier.hasListeners
    ChangeNotifier.addListener(VoidCallback)
    ChangeNotifier.removeListener(VoidCallback)
    ChangeNotifier.dispose()
    ChangeNotifier.notifyListeners()
    Namespace: Unity.UIWidgets.widgets
    Syntax
    public class TextEditingController : ValueNotifier<TextEditingValue>, ValueListenable<TextEditingValue>, Listenable

    Constructors

    TextEditingController(String)

    Declaration
    public TextEditingController(string text = null)
    Parameters
    Type Name Description
    String text

    Properties

    selection

    Declaration
    public TextSelection selection { get; set; }
    Property Value
    Type Description
    TextSelection

    text

    Declaration
    public string text { get; set; }
    Property Value
    Type Description
    String

    Methods

    clear()

    Declaration
    public void clear()

    clearComposing()

    Declaration
    public void clearComposing()

    fromValue(TextEditingValue)

    Declaration
    public static TextEditingController fromValue(TextEditingValue value)
    Parameters
    Type Name Description
    TextEditingValue value
    Returns
    Type Description
    TextEditingController
    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