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.
Assembly: System.Windows (in System.Windows.dll)
Parameters
- o
- Type: System.Windows.DependencyObject
The object being virtualized.
Return Value
Type: System.Booleantrue if the VirtualizingStackPanel is virtualizing its content; otherwise false.
| Exception | Condition |
|---|---|
| ArgumentNullException | o is Nothing. |
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.