Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 1.23 KB

virtualizingstackpanel_getisvirtualizing_481559423.md

File metadata and controls

27 lines (19 loc) · 1.23 KB
-api-id -api-type
M:Microsoft.UI.Xaml.Controls.VirtualizingStackPanel.GetIsVirtualizing(Microsoft.UI.Xaml.DependencyObject)
winrt method

Microsoft.UI.Xaml.Controls.VirtualizingStackPanel.GetIsVirtualizing

-description

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.

-parameters

-param o

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

-returns

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.

-examples

-see-also