Skip to main content
.NET 6.0+

CollectionSourceBase.SetAllowAdd(Boolean) Method

Sets the value that specifies whether it is possible to add objects to the Collection Source’s CollectionSourceBase.Collection or not.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.1.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public void SetAllowAdd(
    bool allowAdd
)

Parameters

Name Type Description
allowAdd Boolean

A Boolean value that specifies whether it is possible to add objects to the Collection Source’s collection or not. true if it is possible to add objects, otherwise false.

Remarks

This method is intended for internal use.

See Also