Class PaginationAttribute | Properties UI | 1.4.4-preview.1
docs.unity3d.com
    Show / Hide Table of Contents

    Class PaginationAttribute

    Tag a list field or property to add pagination.

    Inheritance
    Object
    Attribute
    PropertyAttribute
    InspectorAttribute
    PaginationAttribute
    Inherited Members
    PropertyAttribute.order
    Namespace: Unity.Properties.UI
    Syntax
    public class PaginationAttribute : InspectorAttribute, _Attribute

    Constructors

    PaginationAttribute(Int32[])

    Constructs a new instance of PaginationAttribute with the specified pagination sizes.

    Declaration
    public PaginationAttribute(params int[] sizes)
    Parameters
    Type Name Description
    Int32[] sizes

    The number of elements to be displayed when using pagination.

    Fields

    AutoHide

    Indicates if the pagination should be hidden when the list contains less elements than the minimal pagination size.

    Declaration
    public bool AutoHide
    Field Value
    Type Description
    Boolean

    Sizes

    Returns the pagination sizes that should be displayed.

    Declaration
    public readonly int[] Sizes
    Field Value
    Type Description
    Int32[]
    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