BindingListCollectionView::CanAddNew Property

 

Gets a value that indicates whether a new item can be added to the collection.

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

public:
property bool CanAddNew {
	virtual bool get() sealed;
}

Property Value

Type: System::Boolean

true if a new item can be added to the collection; otherwise, false.

The BindingListCollectionView can create a new item for the collection if there is not an edit transaction occurring, if the collection is not a fixed size, and if the collection is not read-only.

.NET Framework
Available since 3.0
Return to top
Show: