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

    Class TabController

    Inheritance
    System.Object
    ChangeNotifier
    TabController
    Inherited Members
    ChangeNotifier.hasListeners
    ChangeNotifier.addListener(VoidCallback)
    ChangeNotifier.removeListener(VoidCallback)
    ChangeNotifier.notifyListeners()
    Namespace: Unity.UIWidgets.material
    Syntax
    public class TabController : ChangeNotifier, Listenable

    Constructors

    TabController(Int32, Nullable<Int32>, TickerProvider)

    Declaration
    public TabController(int initialIndex = 0, int? length = default(int? ), TickerProvider vsync = null)
    Parameters
    Type Name Description
    System.Int32 initialIndex
    System.Nullable<System.Int32> length
    TickerProvider vsync

    Fields

    length

    Declaration
    public readonly int length
    Field Value
    Type Description
    System.Int32

    Properties

    animation

    Declaration
    public Animation<float> animation { get; }
    Property Value
    Type Description
    Animation<System.Single>

    index

    Declaration
    public int index { get; set; }
    Property Value
    Type Description
    System.Int32

    indexIsChanging

    Declaration
    public bool indexIsChanging { get; }
    Property Value
    Type Description
    System.Boolean

    offset

    Declaration
    public float offset { get; set; }
    Property Value
    Type Description
    System.Single

    previousIndex

    Declaration
    public int previousIndex { get; }
    Property Value
    Type Description
    System.Int32

    Methods

    animateTo(Int32, Nullable<TimeSpan>, Curve)

    Declaration
    public void animateTo(int value, TimeSpan? duration = default(TimeSpan? ), Curve curve = null)
    Parameters
    Type Name Description
    System.Int32 value
    System.Nullable<System.TimeSpan> duration
    Curve curve

    dispose()

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