VirtualizationScheme
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
VirtualizationSchemeOption
Members at a glance
| 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. |
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.