Xceed DataGrid for WPF v7.3 Documentation
Xceed.Wpf.DataGrid Assembly / Xceed.Wpf.DataGrid Namespace / AsyncCommitInfo Class
Members


In This Topic
    AsyncCommitInfo Class
    In This Topic
    Received in the CommitItems event to provide information on the virtualized items to allow those that have been modified to be committed to the underlying data source.
    Syntax
    'Declaration
     
    Public Class AsyncCommitInfo 
       Inherits AsyncQueryInfoBase
    'Usage
     
    Dim instance As AsyncCommitInfo
    public class AsyncCommitInfo : AsyncQueryInfoBase 
    Remarks
    The EndCommit method of the AsyncCommitInfo instance received in the event arguments of the CommitItems event must be called when the synchronous or asynchronous update operation is completed. Until all pending commit operations are completed, the collection view will prevent the QueryItems events from being raised; therefore, it is essential that the EndCommit method be called in order to continue fetching new items once edited items have been committed. 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.
    Inheritance Hierarchy

    System.Object
       Xceed.Wpf.DataGrid.AsyncQueryInfoBase
          Xceed.Wpf.DataGrid.AsyncCommitInfo

    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