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.

VirtualizingPanel.GetCacheLengthUnit Method

.NET Framework 4.6 and 4.5

Gets the value of the CacheLengthUnit property.

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

public static VirtualizationCacheLengthUnit GetCacheLengthUnit(
	DependencyObject element
)

Parameters

element
Type: System.Windows.DependencyObject

The element to get the CacheLengthUnit attached property from.

Return Value

Type: System.Windows.Controls.VirtualizationCacheLengthUnit
The type of unit that is used by the CacheLength property.

The default is of the CacheLengthUnit property is Page.

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft