Xceed Toolkit Plus for WPF v5.0 Documentation
Xceed.Wpf.DataGrid Assembly / Xceed.Wpf.DataGrid Namespace / DataGridItemsHost Class / OnContainersRemoved Method
A list of the containers that will no longer be used/recycled and that can be removed from the items host.


In This Topic
    OnContainersRemoved Method (DataGridItemsHost)
    In This Topic
    Indicates that containers in the CustomItemContainerGenerator will no longer be used/recycled and can be removed from the items host.
    Syntax
    'Declaration
     
    Protected MustOverride Sub OnContainersRemoved( _
       ByVal removedContainers As IList(Of DependencyObject) _
    ) 
    'Usage
     
    Dim instance As DataGridItemsHost
    Dim removedContainers As IList(Of DependencyObject)
     
    instance.OnContainersRemoved(removedContainers)
    protected abstract void OnContainersRemoved( 
       IList<DependencyObject> removedContainers
    )

    Parameters

    removedContainers
    A list of the containers that will no longer be used/recycled and that can be removed from the items host.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also