共用方式為


VirtualizingPanel.SetCacheLengthUnit 方法

定義

設定 CacheLengthUnit 附加屬性。

public:
 static void SetCacheLengthUnit(System::Windows::DependencyObject ^ element, System::Windows::Controls::VirtualizationCacheLengthUnit value);
public static void SetCacheLengthUnit (System.Windows.DependencyObject element, System.Windows.Controls.VirtualizationCacheLengthUnit value);
static member SetCacheLengthUnit : System.Windows.DependencyObject * System.Windows.Controls.VirtualizationCacheLengthUnit -> unit
Public Shared Sub SetCacheLengthUnit (element As DependencyObject, value As VirtualizationCacheLengthUnit)

參數

element
DependencyObject

要設定屬性的物件。

value
VirtualizationCacheLengthUnit

CacheLength 屬性所使用的單位類型。

適用於