VirtualizingPanel VirtualizingPanel VirtualizingPanel Class

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

Syntax

Declaration

public class VirtualizingPanelpublic class VirtualizingPanelPublic Class VirtualizingPanel

Inheritance Hierarchy

Inherited Members

Inherited properties

, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Tag
Tag
Tag
, , , , , , , , , , , , , , , , , , , , , , , , ,

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 summary

Gets a value that identifies the ItemContainerGenerator for this VirtualizingPanel.

Methods summary

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

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

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

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

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

Removes child elements from the Children collection.

Properties

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 voidprotected void AddInternalChild(UIElement child)

    Parameters

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

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

    protected virtual void BringIndexIntoView(Int32 index)protected virtual void BringIndexIntoView(Int32 index)Protected Overridable Function BringIndexIntoView(index As Int32) As voidprotected virtual void BringIndexIntoView(Int32 index)

    Parameters

    • index
      System.Int32
      System.Int32
      System.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(Int32 index, UIElement child)protected void InsertInternalChild(Int32 index, UIElement child)Protected Function InsertInternalChild(index As Int32, child As UIElement) As voidprotected void InsertInternalChild(Int32 index, UIElement child)

    Parameters

    • index
      System.Int32
      System.Int32
      System.Int32

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

    • child

      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 voidprotected virtual void OnClearChildren()
  • 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(Object sender, ItemsChangedEventArgs args)protected virtual void OnItemsChanged(Object sender, ItemsChangedEventArgs args)Protected Overridable Function OnItemsChanged(sender As Object, args As ItemsChangedEventArgs) As voidprotected virtual void OnItemsChanged(Object sender, ItemsChangedEventArgs args)

    Parameters

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

    Removes child elements from the Children collection.

    protected void RemoveInternalChildRange(Int32 index, Int32 range)protected void RemoveInternalChildRange(Int32 index, Int32 range)Protected Function RemoveInternalChildRange(index As Int32, range As Int32) As voidprotected void RemoveInternalChildRange(Int32 index, Int32 range)

    Parameters

    • index
      System.Int32
      System.Int32
      System.Int32

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

    • range
      System.Int32
      System.Int32
      System.Int32

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

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

Windows.Foundation.Metadata.ComposableAttribute
Windows.Foundation.Metadata.ContractVersionAttribute
Windows.Foundation.Metadata.MarshalingBehaviorAttribute
Windows.Foundation.Metadata.ThreadingAttribute
Windows.Foundation.Metadata.WebHostHiddenAttribute

Details

Assembly

Windows.UI.Xaml.Controls.dll