Contains values that specify which operations can be performed on a collection.
[Flags] public enum CollectionBindingBehavior
<Flags> Public Enum CollectionBindingBehavior
Specifies that new items can be added to a collection by a bound control.
Specifies that items are not allowed to be added to or removed from a collection by a bound control.
Specifies that items can be removed from a collection by a bound control.
A collection in XPO (the XPBaseCollection class descendant) implements the IBindingList interface, so it can be bound to a visual control (for instance, the XtraGrid). The control will interact with the XPCollection via this interface. Use the collection's XPBaseCollection.BindingBehavior property of the CollectionBindingBehavior class to specify which operations on the collection are enabled for the bound control.