Docs
Buscar na documentação
⌘K
PT
0.2.0-preview.61
Playground
GitHub
COMECE AQUI
Primeiros passos
ARQUITETURA
Visão geral da arquitetura
Componentes write-once
Superfície declarativa
Arquitetura de pacotes
Componentes
Estilo
Localização
Analytics e GTM
WRITE-ONCE
Motor Photon
Design System
Capacidades
Armazenamento
Formulários
Editor de código
Markdown
Mermaid
Renderização de Email
COMPILAÇÃO
Compilador
Recursos C# suportados
Resolução de tipos externos
Fluxo de build
Diagnósticos
RUNTIME
Runtime (TypeScript)
Performance
SERVIDOR
Integração com o servidor
Eventos do servidor
Assets
BunPackage
Segurança
ECOSSISTEMA
Image
Gráficos
Ícones
Lottie
DESENVOLVIMENTO
Editor visual
Depuração
Roadmap
Atualizar de versão
Docs
Navigation
Pagination
Ver código-fonte
1 min de leitura
Page-by-page traversal of a long result set, with truncated middles.
1
using
eQuantic
.
UI
.
Components
;
DEFAULT
Previous
1
2
3
…
12
Next
page 2 of 12
Usage
1
new
Pagination
{
PageCount
=
12
,
CurrentPage
=
_page
,
OnChanged
=
p
=>
SetState
(()
=>
_page
=
p
)
}
API
Prop
Type
Default
Description
PageCount
int
—
Total pages.
CurrentPage
int
—
Current page.
OnChanged
Action<int>?
null
Page handler.
States
State
Rendering
Current
Primary fill
Available
Ghost
Truncated
Ellipsis, non-interactive
At a bound
Previous or next disables
Accessibility
•
A
nav
named "Pagination"; the current page is marked as such and every control names its destination.
When to use
•
Result sets where position matters and people jump around.
Avoid
•
Feeds — those want infinite scroll with a real "load more".
NOTE
Every dimension resolves through
Sizing.*(SizeVariant)
and the token scales — never a literal. Source:
src/eQuantic.UI.Components/Pagination.cs
.
ANTERIOR
Breadcrumb
PRÓXIMA
PageIndicator
NESTA PÁGINA
Usage
API
States
Accessibility
When to use
Avoid