Windows Dev Center

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

VirtualizationCacheLengthUnit Enumeration

.NET Framework 4.6 and 4.5

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

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

'Declaration
Public Enumeration VirtualizationCacheLengthUnit
<object property="enumerationMemberName" .../>

Member nameDescription
ItemThe VirtualizingPanel.CacheLength is measured in terms of the items that are displayed in the panel.
PageThe VirtualizingPanel.CacheLength is measured in terms of a page, which is equal to the size of the panel's viewport.
PixelThe 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

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft