Table of Contents

Interface IEditableCollectionViewAddNewItem

Namespace
Alternet.UI
Assembly
Alternet.UI.dll

IAddNewItem is an interface that a collection view can implement to enable functionality for adding a user-supplied item to the underlying collection.

public interface IEditableCollectionViewAddNewItem : IEditableCollectionView

Properties

CanAddNewItem

Return true if the view supports AddNewItem(object).

Methods

AddNewItem(object)

Add a new item to the underlying collection. Returns the new item. After calling AddNewItem and changing the new item as desired, either CommitNew() or CancelNew() should be called to complete the transaction.