Windows Dev Center

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

VirtualizingStackPanel.GetVirtualizationMode Method

Returns the VirtualizingStackPanel.VirtualizationMode attached property for the specified object.

Namespace:  System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

public static VirtualizationMode GetVirtualizationMode(
	DependencyObject element
)

Parameters

element
Type: System.Windows.DependencyObject

The object from which the VirtualizingStackPanel.VirtualizationMode property is read.

Return Value

Type: System.Windows.Controls.VirtualizationMode
One of the enumeration values that specifies whether the object uses container recycling.

For more information about the VirtualizingStackPanel.VirtualizationMode property, see the VirtualizingStackPanel class.

.NET Framework

Supported in: 4, 3.5 SP1, 3.0 SP2

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft