语言

VirtualizingPanel.GetCacheLength(DependencyObject) 方法

定义

获取属性的值 CacheLength 。

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

参数

element
DependencyObject

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

返回

虚拟化时视区 VirtualizingPanel 前后缓存的大小。

适用于