internal void OnCommitItems(CommitItemsEventArgs e)
 {
     if (this.CommitItems != null)
     {
         this.CommitItems(this, e);
     }
 }
        internal void OnCommitItems(AsyncCommitInfo asyncCommitInfo)
        {
            CommitItemsEventArgs e = new CommitItemsEventArgs(this, asyncCommitInfo);

            if (this.CommitItems != null)
            {
                this.CommitItems(this, e);
            }

            DataGridVirtualizingCollectionViewSourceBase source = this.ParentCollectionViewSourceBase as DataGridVirtualizingCollectionViewSourceBase;

            if (source != null)
            {
                source.OnCommitItems(e);
            }
        }