共用方式為


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 屬性所使用的單位類型。

備註

屬性的預設值為 CacheLengthUnitPage

適用於