Virtualizing​Panel Virtualizing​Panel Virtualizing​Panel Virtualizing​Panel Class

Definition

Provides a framework for Panel elements that virtualize their visual children.

public : class VirtualizingPanel : Panel, IVirtualizingPanel, IVirtualizingPanelOverrides, IVirtualizingPanelProtectedpublic class VirtualizingPanel : Panel, IVirtualizingPanel, IVirtualizingPanelOverrides, IVirtualizingPanelProtectedPublic Class VirtualizingPanel Inherits Panel Implements IVirtualizingPanel, IVirtualizingPanelOverrides, IVirtualizingPanelProtected// This API is not available in Javascript.
Inheritance
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Inherited Members

Inherited properties

Inherited events

Inherited methods

Remarks

VirtualizingPanel is not typically used as an object element in XAML. You typically use derived classes such as VirtualizingStackPanel.

VirtualizingPanel derived classes

VirtualizingPanel is the parent class for OrientedVirtualizingPanel.

Properties

ItemContainerGenerator ItemContainerGenerator ItemContainerGenerator ItemContainerGenerator

Gets a value that identifies the ItemContainerGenerator for this VirtualizingPanel.

public : ItemContainerGenerator ItemContainerGenerator { get; }public ItemContainerGenerator ItemContainerGenerator { get; }Public ReadOnly Property ItemContainerGenerator As ItemContainerGenerator// This API is not available in Javascript.

Methods

AddInternalChild(UIElement) AddInternalChild(UIElement) AddInternalChild(UIElement) AddInternalChild(UIElement)

Adds the specified UIElement to the Children collection of a VirtualizingPanel element.

protected : void AddInternalChild(UIElement child)protected void AddInternalChild(UIElement child)Protected Function AddInternalChild(child As UIElement) As void// This API is not available in Javascript.
Parameters
child
UIElement UIElement UIElement UIElement

The UIElement child to add to the collection.

BringIndexIntoView(Int32) BringIndexIntoView(Int32) BringIndexIntoView(Int32) BringIndexIntoView(Int32)

Generates the item at the specified index location and makes it visible.

protected : virtual void BringIndexIntoView(int index)protected virtual void BringIndexIntoView(Int32 index)Protected Overridable Function BringIndexIntoView(index As Int32) As void// This API is not available in Javascript.
Parameters
index
int Int32 Int32 Int32

The index position of the item that is generated and made visible.

InsertInternalChild(Int32, UIElement) InsertInternalChild(Int32, UIElement) InsertInternalChild(Int32, UIElement) InsertInternalChild(Int32, UIElement)

Adds the specified UIElement to the collection of a VirtualizingPanel element at the specified index position.

protected : void InsertInternalChild(int index, UIElement child)protected void InsertInternalChild(Int32 index, UIElement child)Protected Function InsertInternalChild(index As Int32, child As UIElement) As void// This API is not available in Javascript.
Parameters
index
int Int32 Int32 Int32

The index position within the collection at which the child element is inserted.

child
UIElement UIElement UIElement UIElement

The UIElement child to add to the collection.

OnClearChildren() OnClearChildren() OnClearChildren() OnClearChildren()

Called when the collection of child elements is cleared by the base Panel class.

protected : virtual void OnClearChildren()protected virtual void OnClearChildren()Protected Overridable Function OnClearChildren() As void// This API is not available in Javascript.

OnItemsChanged(Object, ItemsChangedEventArgs) OnItemsChanged(Object, ItemsChangedEventArgs) OnItemsChanged(Object, ItemsChangedEventArgs) OnItemsChanged(Object, ItemsChangedEventArgs)

Called when the Items collection that is associated with the ItemsControl for this Panel changes.

protected : virtual void OnItemsChanged(PlatForm::Object sender, ItemsChangedEventArgs args)protected virtual void OnItemsChanged(Object sender, ItemsChangedEventArgs args)Protected Overridable Function OnItemsChanged(sender As Object, args As ItemsChangedEventArgs) As void// This API is not available in Javascript.
Parameters
sender
PlatForm::Object Object Object Object

The Object that raised the event.

RemoveInternalChildRange(Int32, Int32) RemoveInternalChildRange(Int32, Int32) RemoveInternalChildRange(Int32, Int32) RemoveInternalChildRange(Int32, Int32)

Removes child elements from the Children collection.

protected : void RemoveInternalChildRange(int index, int range)protected void RemoveInternalChildRange(Int32 index, Int32 range)Protected Function RemoveInternalChildRange(index As Int32, range As Int32) As void// This API is not available in Javascript.
Parameters
index
int Int32 Int32 Int32

The beginning index position within the collection at which the first child element is removed.

range
int Int32 Int32 Int32

The total number of child elements to remove from the collection.

See Also