IBindingList.AllowNew Property

 
System_CAPS_noteNote

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

Gets whether you can add items to the list using AddNew.

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

bool AllowNew { get; }

Property Value

Type: System.Boolean

true if you can add items to the list using AddNew; otherwise, false.

If IList.IsFixedSize or IList.IsReadOnly is true, this property returns false.

.NET Framework
Available since 1.1
Return to top
Show: