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,
.
Namespace: KGySoft.ComponentModelAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 9.0.0
public virtual bool AllowNew { get; set; }
Public Overridable Property AllowNew As Boolean
Get
Set
public:
virtual property bool AllowNew {
bool get ();
void set (bool value);
}
abstract AllowNew : bool with get, set
override AllowNew : bool with get, set
BooleanIBindingListAllowNew