Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CacheAfterViewport Property
Collapse the table of content
Expand the table of content

VirtualizationCacheLength.CacheAfterViewport Property

.NET Framework 4.6 and 4.5

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

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

public double CacheAfterViewport { 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

Supported in: 4.6, 4.5
© 2015 Microsoft