共用方式為


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 附加屬性的項目。

傳回

VirtualizationCacheLength

VirtualizingPanel 虛擬化時,檢視區前後的快取大小。

適用於