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

    Class TextSelectionOverlay

    Inheritance
    Object
    TextSelectionOverlay
    Namespace: Unity.UIWidgets.widgets
    Syntax
    public class TextSelectionOverlay

    Constructors

    TextSelectionOverlay(TextEditingValue, BuildContext, Widget, LayerLink, RenderEditable, TextSelectionControls, TextSelectionDelegate, DragStartBehavior)

    Declaration
    public TextSelectionOverlay(TextEditingValue value = null, BuildContext context = null, Widget debugRequiredFor = null, LayerLink layerLink = null, RenderEditable renderObject = null, TextSelectionControls selectionControls = null, TextSelectionDelegate selectionDelegate = null, DragStartBehavior dragStartBehavior = DragStartBehavior.start)
    Parameters
    Type Name Description
    TextEditingValue value
    BuildContext context
    Widget debugRequiredFor
    LayerLink layerLink
    RenderEditable renderObject
    TextSelectionControls selectionControls
    TextSelectionDelegate selectionDelegate
    DragStartBehavior dragStartBehavior

    Fields

    context

    Declaration
    public readonly BuildContext context
    Field Value
    Type Description
    BuildContext

    debugRequiredFor

    Declaration
    public readonly Widget debugRequiredFor
    Field Value
    Type Description
    Widget

    dragStartBehavior

    Declaration
    public readonly DragStartBehavior dragStartBehavior
    Field Value
    Type Description
    DragStartBehavior

    fadeDuration

    Declaration
    public static readonly TimeSpan fadeDuration
    Field Value
    Type Description
    TimeSpan

    layerLink

    Declaration
    public readonly LayerLink layerLink
    Field Value
    Type Description
    LayerLink

    renderObject

    Declaration
    public readonly RenderEditable renderObject
    Field Value
    Type Description
    RenderEditable

    selectionControls

    Declaration
    public readonly TextSelectionControls selectionControls
    Field Value
    Type Description
    TextSelectionControls

    selectionDelegate

    Declaration
    public readonly TextSelectionDelegate selectionDelegate
    Field Value
    Type Description
    TextSelectionDelegate

    Properties

    handlesAreVisible

    Declaration
    public bool handlesAreVisible { get; }
    Property Value
    Type Description
    Boolean

    toolbarIsVisible

    Declaration
    public bool toolbarIsVisible { get; }
    Property Value
    Type Description
    Boolean

    Methods

    dispose()

    Declaration
    public void dispose()

    hide()

    Declaration
    public void hide()

    showHandles()

    Declaration
    public void showHandles()

    showToolbar()

    Declaration
    public void showToolbar()

    update(TextEditingValue)

    Declaration
    public void update(TextEditingValue newValue)
    Parameters
    Type Name Description
    TextEditingValue newValue

    updateForScroll()

    Declaration
    public void updateForScroll()
    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