HypernovaDesktop Components · docs
Binarymission
WPF › Virtualizing Wrap Panel › VirtualizationScheme

VirtualizationScheme

enum.NET 6 / 8 / 10.NET Framework 4.8Binarymission.WPF.Controls.Panels

Lists what the panel does with the container of an item (the ListBoxItem, say) once the item has left the view. The data item itself is never touched.

public enum VirtualizationScheme

See also

Members at a glance

Members
AggressiveDisposeAndCollectionOnLeavingViewPortBoundsRemoves the containers of items that have left the view shortly after each layout pass, as VirtualizationScheme.DisposeOnLeavingViewPortBounds does, then forces a full garbage collection. The least memory, at a real cost in smoothness; for very heavy item templates only.
DisposeOnLeavingViewPortBoundsRemoves the containers of items that have left the view shortly after each layout pass; they are created again when the items come back. The selected item's container is kept.
LightWeightCacheKeeps every container once created. Scrolling back is fastest, and memory grows with how much of the list has been seen. The only scheme available while grouped.

Members

AggressiveDisposeAndCollectionOnLeavingViewPortBounds

Removes the containers of items that have left the view shortly after each layout pass, as VirtualizationScheme.DisposeOnLeavingViewPortBounds does, then forces a full garbage collection. The least memory, at a real cost in smoothness; for very heavy item templates only.

DisposeOnLeavingViewPortBounds

Removes the containers of items that have left the view shortly after each layout pass; they are created again when the items come back. The selected item's container is kept.

LightWeightCache

Keeps every container once created. Scrolling back is fastest, and memory grows with how much of the list has been seen. The only scheme available while grouped.