Поделиться через


PagedCollectionView.EditItem Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Begins an edit transaction on the specified item.

Namespace:  System.Windows.Data
Assembly:  System.Windows.Data (in System.Windows.Data.dll)

Syntax

'Declaration
Public Sub EditItem ( _
    item As Object _
)
public void EditItem(
    Object item
)

Parameters

Implements

IEditableCollectionView.EditItem(Object)

Remarks

After calling EditItem and changing the item as needed, you should call either CommitEdit or CancelEdit to complete the transaction. Calling EditItem before a previous add or edit transaction has been committed or canceled will cause the previous transaction to be committed. Any filtering, sorting, or grouping that is applied to the view is applied to the edited item when CommitEdit 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.