Share via


VirtualizingStackPanel.GetVirtualizationMode(DependencyObject) Method

Definition

Gets the VirtualizingStackPanel.VirtualizationMode XAML attached property value for the specified target element.

public:
 static VirtualizationMode GetVirtualizationMode(DependencyObject ^ element);
 static VirtualizationMode GetVirtualizationMode(DependencyObject const& element);
public static VirtualizationMode GetVirtualizationMode(DependencyObject element);
function getVirtualizationMode(element)
Public Shared Function GetVirtualizationMode (element As DependencyObject) As VirtualizationMode

Parameters

element
DependencyObject

The object from which the VirtualizationMode is read.

Returns

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

Remarks

For more info, see the VirtualizingStackPanel.VirtualizationMode attached property.

Applies to

See also