Class PaginationAttribute
Tag a list field or property to add pagination.
Inherited Members
Namespace: Unity.Properties.UI
Assembly: Unity.Properties.UI.dll
Syntax
public class PaginationAttribute : InspectorAttribute
Constructors
PaginationAttribute(params int[])
Constructs a new instance of PaginationAttribute with the specified pagination sizes.
Declaration
public PaginationAttribute(params int[] sizes)
Parameters
Type | Name | Description |
---|---|---|
int[] | 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 |
---|---|
bool |
Sizes
Returns the pagination sizes that should be displayed.
Declaration
public readonly int[] Sizes
Field Value
Type | Description |
---|---|
int[] |