PagedCollectionView.CommitNew Method
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Ends the add transaction and saves the pending new item.
Namespace: System.Windows.Data
Assembly: System.Windows.Data (in System.Windows.Data.dll)
Syntax
'Declaration
Public Sub CommitNew
public void CommitNew()
Implements
Remarks
You start an add transaction by calling AddNew and end it by calling CommitNew or CancelNew.
CommitNew ends the add transaction and adds the new item to the underlying collection. Any filtering, sorting, or grouping that is applied to the view is applied to the new item when CommitNew is called.
Version Information
Silverlight
Supported in: 5, 4, 3
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.