ListCollectionView.CanAddNew Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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 bool CanAddNew { 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