編輯

共用方式為


VirtualizationCacheLength.CacheBeforeViewport Property

Definition

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

public:
 property double CacheBeforeViewport { double get(); };
public double CacheBeforeViewport { get; }
member this.CacheBeforeViewport : double
Public ReadOnly Property CacheBeforeViewport As Double

Property Value

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

Remarks

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.

Applies to