Logo FS-Skia-UI

CollectionModel Type

State of a virtualizing collection: scroll offset, viewport/row geometry, `SelectedKeys`, and the derived `VisibleRange` keyed by `ControlId`.

Record fields

Record Field Description

ControlId

Full Usage: ControlId

Field type: ControlId
Field type: ControlId

ItemCount

Full Usage: ItemCount

Field type: int
Field type: int

Overscan

Full Usage: Overscan

Field type: int

Feature 114 (Phase 6): extra logical rows realized on EACH side of the visible window (the overscan buffer). Default 0, which reproduces today's realized slice byte-identically (FR-006); a positive value is an opt-in that widens the realized window by up to 2 * Overscan real, edge-clamped adjacent rows (FR-007). Negative values are clamped to 0.

Field type: int

RecalculationThresholdMs

Full Usage: RecalculationThresholdMs

Field type: int
Field type: int

RowHeight

Full Usage: RowHeight

Field type: float
Field type: float

ScrollOffset

Full Usage: ScrollOffset

Field type: float
Field type: float

SelectedKeys

Full Usage: SelectedKeys

Field type: Set<string>
Field type: Set<string>

ViewportHeight

Full Usage: ViewportHeight

Field type: float
Field type: float

VisibleRange

Full Usage: VisibleRange

Field type: VisibleRange
Field type: VisibleRange

Type something to start searching.