VirtualizationCacheLength.CacheBeforeViewport Property

.NET Framework (current version)
 

Gets the size of the cache after the viewport when the VirtualizingPanel is virtualizing.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

public double CacheBeforeViewport { get; }

Property Value

Type: System.Double

The size of the cache after the viewport when the VirtualizingPanel is virtualizing.

In this context, "virtualize" refers to a technique by which a subset of user interface (UI) elements are generated from a larger number of data items based on which items are visible on the screen. Use a cache to avoid generating UI elements as they’re scrolled into view.

.NET Framework
Available since 4.5
Return to top
Show: