Redigera

Dela via


VirtualizingPanel.GetCacheLengthUnit(DependencyObject) Method

Definition

Gets the value of the CacheLengthUnit property.

public:
 static System::Windows::Controls::VirtualizationCacheLengthUnit GetCacheLengthUnit(System::Windows::DependencyObject ^ element);
public static System.Windows.Controls.VirtualizationCacheLengthUnit GetCacheLengthUnit (System.Windows.DependencyObject element);
static member GetCacheLengthUnit : System.Windows.DependencyObject -> System.Windows.Controls.VirtualizationCacheLengthUnit
Public Shared Function GetCacheLengthUnit (element As DependencyObject) As VirtualizationCacheLengthUnit

Parameters

element
DependencyObject

The element to get the CacheLengthUnit attached property from.

Returns

The type of unit that is used by the CacheLength property.

Remarks

The default is of the CacheLengthUnit property is Page.

Applies to