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 属性使用的单元类型。

适用于