VirtualizingStackPanel.SetVirtualizationMode Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the VirtualizingStackPanel.VirtualizationMode XAML attached property on the specified target element.
public:
static void SetVirtualizationMode(DependencyObject ^ element, VirtualizationMode value);
static void SetVirtualizationMode(DependencyObject const& element, VirtualizationMode const& value);
public static void SetVirtualizationMode(DependencyObject element, VirtualizationMode value);
function setVirtualizationMode(element, value)
Public Shared Sub SetVirtualizationMode (element As DependencyObject, value As VirtualizationMode)
Parameters
- element
- DependencyObject
The target element.
- value
- VirtualizationMode
One of the enumeration values that specifies whether element uses container recycling.
Remarks
For more info, see the VirtualizingStackPanel.VirtualizationMode attached property.