編輯

共用方式為


VirtualizingPanel.SetVirtualizationMode Method

Definition

Sets the VirtualizationMode attached property on the specified object.

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)

Parameters

element
DependencyObject

The element on which to set the VirtualizationMode property.

value
VirtualizationMode

One of the enumeration values that specifies whether element uses container recycling.

Applies to