GetCacheLengthUnit Method

VirtualizingPanel.GetCacheLengthUnit Method (DependencyObject)

.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


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
Available since 4.5
Return to top
© 2015 Microsoft