ObservableBindingListTAllowNew Property

Gets or sets whether new items can be added to the list by the AddNew method.
If the underlying list implements IBindingList and its AllowNew returns , then this property returns also . Otherwise, the default value is if the wrapped list is not read-only and T is a value type or has a parameterless constructor; otherwise, .

Definition

Namespace: KGySoft.ComponentModel
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 9.0.0
C#
public virtual bool AllowNew { get; set; }

Property Value

Boolean

Implements

IBindingListAllowNew

See Also