Xceed DataGrid for WPF v7.3 Documentation
Xceed.Wpf.DataGrid Assembly / Xceed.Wpf.DataGrid Namespace / DataGridVirtualizingCollectionViewBase Class / CommitAll Method


In This Topic
    CommitAll Method
    In This Topic
    Raises the CommitItems event for each page with modified data even if those pages are not being released from memory.
    Syntax
    'Declaration
     
    Public Sub CommitAll() 
    'Usage
     
    Dim instance As DataGridVirtualizingCollectionViewBase
     
    instance.CommitAll()
    public void CommitAll()
    Remarks
    It is recommended to call the CommitAll method before the grid is unloaded so that any pending changes can be committed to the underlying data source.
    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