ListCollectionView.CanAddNewItem Property

.NET Framework (current version)
 

Gets a value that indicates whether a specified object can be added to the collection.

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

public bool CanAddNewItem { get; }

Property Value

Type: System.Boolean

true if a specified object can be added to the collection; otherwise, false.

If the CanAddNewItem property is true, you can specify an object to add to the collection by calling the AddNewItem method. CanAddNewItem is false if items cannot be added to the collection.

.NET Framework
Available since 4.0
Return to top
Show: