Skip to main content
.NET Framework 4.6.2+

XPBindingSource.BindingBehavior Property

Defines operations the bound control can perform with the data source.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v24.2.dll

NuGet Package: DevExpress.Xpo

#Declaration

[DefaultValue(CollectionBindingBehavior.AllowNew | CollectionBindingBehavior.AllowRemove)]
public CollectionBindingBehavior BindingBehavior { get; set; }

#Property Value

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