DocmentGroup reported an error when it clicked close

clipboard.png
when you click close, an error is reported.

Operation is not valid while ItemsSource is in use. Access and modify elements with LayoutGroup.ItemsSource instead.

xaml Code

<dxdo:DocumentGroup x:Name="UIDocmentGroup" DataContext="{Binding DocumentGroupVM}" ItemsSource="{Binding TabDatas}">
                                <dxdo:DocumentGroup.ItemCaptionTemplate>
                                    <DataTemplate>
                                        <TextBlock Text="{Binding Name}"></TextBlock>
                                    </DataTemplate>
                                </dxdo:DocumentGroup.ItemCaptionTemplate>
                                <dxdo:DocumentGroup.ItemContentTemplate>
                                    <DataTemplate>
                                        <my:CustomDocumentGroupItem ItemSource="{Binding}"></my:CustomDocumentGroupItem>
                                    </DataTemplate>
                                </dxdo:DocumentGroup.ItemContentTemplate>
                            </dxdo:DocumentGroup>

where the ItemsSource of DocumentGroup is bound to the object.

it is estimated that when the point is closed, the ui is deleted, but the bound collection is not deleted.

how to deal with this?

Mar.01,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3635c-4d693.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3635c-4d693.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?