xpo-devexpress-dot-xpo-dot-xpbindingsource-c68eb58a.md
Defines operations the bound control can perform with the data source.
Namespace : DevExpress.Xpo
Assembly : DevExpress.Xpo.v25.2.dll
NuGet Package : DevExpress.Xpo
[DefaultValue(CollectionBindingBehavior.AllowNew | CollectionBindingBehavior.AllowRemove)]
public CollectionBindingBehavior BindingBehavior { get; set; }
<DefaultValue(CollectionBindingBehavior.AllowNew Or CollectionBindingBehavior.AllowRemove)>
Public Property BindingBehavior As CollectionBindingBehavior
| Type | Default | Description |
|---|---|---|
| CollectionBindingBehavior | AllowNew | AllowRemove |
A CollectionBindingBehavior value that defines how the bound control interacts with the data source.
|
Available values:
| Name | Description |
|---|---|
| AllowNone |
Specifies that items are not allowed to be added to or removed from a collection by a bound control.
| | AllowNew |
Specifies that new items can be added to a collection by a bound control.
| | AllowRemove |
Specifies that items can be removed from a collection by a bound control.
|
See Also