ListCollectionView.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)

abstract CanAddNew : bool with get
override CanAddNew : bool with get

Property Value

Type: System.Boolean

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

The ListCollectionView can create a new item for the collection if there is no edit transaction occurring, if the collection is not a fixed size, and if the ListCollectionView can create an object of the correct type.

.NET Framework
Available since 3.0
Return to top
Show: