GetIsVirtualizing Method

VirtualizingStackPanel.GetIsVirtualizing Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets a value that determines whether the VirtualizingStackPanel is virtualizing its content.

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

public static bool GetIsVirtualizing(
	DependencyObject o
)

Parameters

o
Type: System.Windows.DependencyObject
The object being virtualized.

Return Value

Type: System.Boolean
true if the VirtualizingStackPanel is virtualizing its content; otherwise false.

ExceptionCondition
ArgumentNullException

o is null.

This method supports the VirtualizingStackPanel.IsVirtualizing attached property.

The VirtualizingStackPanel.IsVirtualizing attached property is not settable in Windows Phone. Instead, virtualizing behavior is set based on whether the container is scroll-enabled, and the size of the data set.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2016 Microsoft