VirtualizingStackPanel.GetIsVirtualizing method

Applies to Windows and Windows Phone

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.

Syntax


public static bool GetIsVirtualizing(
  DependencyObject o
)

Parameters

o

Type: DependencyObject

The object item where you want to determine the current virtualization state.

Return value

Type: System.Boolean [.NET] | Platform::Boolean [C++]

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.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml.Controls
Windows::UI::Xaml::Controls [C++]

Metadata

Windows.winmd

See also

VirtualizingStackPanel

 

 

Show:
© 2014 Microsoft