Skip to content
Version 2.32.0
↓ Get the launcher

VirtualListElement.RowRevision property

Optional per-row CONTENT revision (data index → a number the consumer changes whenever that row’s content changes in a way that can change its height — e.g. a chat message swapping to its translation, or a status line appearing under it). VariableHeight mode only. A row’s measured height is normally latched for good; when its revision differs from the one it was latched under, the list re-measures that one row IN PLACE (it stays on screen at its old height meanwhile — no blank, no park) and commits the new height once two consecutive readings agree, then re-flows the rows below (a bottom-pinned StickToBottom view stays pinned; otherwise the topmost visible row holds still). Return the same value (e.g. 0) for rows that never change. Independent of RowId (identity) — use both together. Default null = unchanged. An init property (binary-compatible).

public Func<int, long>? RowRevision { get; set; }