VirtualizingPanel.SetVirtualizationMode 方法

定义

在指定对象上设置 VirtualizationMode 附加属性。

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

参数

element
DependencyObject

要对其设置 VirtualizationMode 属性的元素。

value
VirtualizationMode

枚举值之一,指定 element 是否使用容器回收。

适用于