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

    Class TrackingScrollController

    Inheritance
    Object
    ChangeNotifier
    ScrollController
    TrackingScrollController
    Inherited Members
    ScrollController.keepScrollOffset
    ScrollController.debugLabel
    ScrollController.positions
    ScrollController.hasClients
    ScrollController.position
    ScrollController.offset
    ScrollController.animateTo(Single, TimeSpan, Curve)
    ScrollController.jumpTo(Single)
    ScrollController.createScrollPosition(ScrollPhysics, ScrollContext, ScrollPosition)
    ScrollController.ToString()
    ScrollController.debugFillDescription(List<String>)
    ChangeNotifier.hasListeners
    ChangeNotifier.addListener(VoidCallback)
    ChangeNotifier.removeListener(VoidCallback)
    ChangeNotifier.notifyListeners()
    Namespace: Unity.UIWidgets.widgets
    Syntax
    public class TrackingScrollController : ScrollController, Listenable

    Constructors

    TrackingScrollController(Single, Boolean, String)

    Declaration
    public TrackingScrollController(float initialScrollOffset = 0F, bool keepScrollOffset = true, string debugLabel = null)
    Parameters
    Type Name Description
    Single initialScrollOffset
    Boolean keepScrollOffset
    String debugLabel

    Properties

    initialScrollOffset

    Declaration
    public override float initialScrollOffset { get; }
    Property Value
    Type Description
    Single
    Overrides
    ScrollController.initialScrollOffset

    mostRecentlyUpdatedPosition

    Declaration
    public ScrollPosition mostRecentlyUpdatedPosition { get; }
    Property Value
    Type Description
    ScrollPosition

    Methods

    attach(ScrollPosition)

    Declaration
    public override void attach(ScrollPosition position)
    Parameters
    Type Name Description
    ScrollPosition position
    Overrides
    ScrollController.attach(ScrollPosition)

    detach(ScrollPosition)

    Declaration
    public override void detach(ScrollPosition position)
    Parameters
    Type Name Description
    ScrollPosition position
    Overrides
    ScrollController.detach(ScrollPosition)

    dispose()

    Declaration
    public override void dispose()
    Overrides
    ScrollController.dispose()
    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