VirtualizingPanel.GetCacheLengthUnit(DependencyObject) 方法

定义

获取 CacheLengthUnit 属性的值。

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

参数

element
DependencyObject

要从中获取 CacheLengthUnit 附加属性的元素。

返回

CacheLength 属性使用的单元类型。

注解

属性的 CacheLengthUnit 默认值为 Page

适用于