VirtualizationCacheLengthUnit Enumeration

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Specifies the type of unit that is used by the VirtualizingPanel.CacheLength attached property.

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

public enum VirtualizationCacheLengthUnit

Member nameDescription
Item

The VirtualizingPanel.CacheLength is measured in terms of the items that are displayed in the panel.

Page

The VirtualizingPanel.CacheLength is measured in terms of a page, which is equal to the size of the panel's viewport.

Pixel

The VirtualizingPanel.CacheLength is measured in terms of device-independent units (1/96th inch per unit).

Use the VirtualizingPanel.CacheLengthUnit attached property to specify the units of the VirtualizingPanel.CacheLength.

.NET Framework
Available since 4.5
Return to top
Show: