VirtualizingStackPanel.GetIsVirtualizing(DependencyObject) 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.
Gets a value that determines whether an item is currently being virtualized as part of an items set where the ItemsPanel is templated with a VirtualizingStackPanel.
public:
static bool GetIsVirtualizing(DependencyObject ^ o);
static bool GetIsVirtualizing(DependencyObject const& o);
public static bool GetIsVirtualizing(DependencyObject o);
function getIsVirtualizing(o)
Public Shared Function GetIsVirtualizing (o As DependencyObject) As Boolean
Parameters
The object item where you want to determine the current virtualization state.
Returns
bool
true if the item specified by o is currently virtualizing its content; otherwise, false.
Remarks
VirtualizingStackPanel.IsVirtualizing uses the attached property model as a property store, but does not support a XAML usage. Instead, the property serves as a sentinel that any VirtualizingStackPanel child element can check to determine whether that child is currently being represented as virtualized. To find out if an item is being virtualized, call GetIsVirtualizing, passing the item as the input parameter.