Table of Contents

Enum UpdateTargetTrigger

Namespace
Icy.Data.Bindings
Assembly
IcyUI.dll

Declares when a IBinding refreshes its target from its source, i.e. the opposite direction from UpdateSourceTrigger.

public enum UpdateTargetTrigger : byte
Extension Methods

Fields

EveryFrame = 1

Refreshes the target once per frame, regardless of whether the source raises change notifications.

Intended for game-loop-driven state that mutates every tick without going through INotifyPropertyChanged (e.g. plain fields on a simulation/ECS component). The refresh is driven by UpdateFrameBindings(), called once per frame from Render() — no per-property subscription is set up, so this mode has no reactive overhead beyond the one read-and-compare per frame.

Reactive = 0

Refreshes the target only when the source raises PropertyChanged.

This is the default and matches how most view-model-driven UI works. It does nothing for sources that don't implement INotifyPropertyChanged — such a source's value is read once, at bind time, and never refreshed again.