Skip to content
Version 2.32.0
↓ Get the launcher

ConditionalElement.ContentRevision property

KeepAlive only: a cheap revision of the data the branch shows (any int that changes when that data changes — a hash of a few states, a counter). Bindings of a parked branch are paused, so data that changes while it is hidden (e.g. game HUD pieces that only exist in the world) would otherwise all be re-pulled — rows rebuilt, bubbles re-measured — in the frame it is shown again. With this, a parked branch whose revision moved is refreshed in the background (bindings on, off-screen, measures budgeted) while its window is on screen, and a re-warm after the window was hidden runs its bindings too. Polled about twice a second while parked. Framework 2.30.0. Null (default) = re-pulled on show, unchanged. An init property (binary-compatible).

public Func<int>? ContentRevision { get; set; }