Back to Devexpress

XPBindingSource.BindingBehavior Property

xpo-devexpress-dot-xpo-dot-xpbindingsource-c68eb58a.md

latest1.8 KB
Original Source

XPBindingSource.BindingBehavior Property

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

Namespace : DevExpress.Xpo

Assembly : DevExpress.Xpo.v25.2.dll

NuGet Package : DevExpress.Xpo

Declaration

csharp
[DefaultValue(CollectionBindingBehavior.AllowNew | CollectionBindingBehavior.AllowRemove)]
public CollectionBindingBehavior BindingBehavior { get; set; }
vb
<DefaultValue(CollectionBindingBehavior.AllowNew Or CollectionBindingBehavior.AllowRemove)>
Public Property BindingBehavior As CollectionBindingBehavior

Property Value

TypeDefaultDescription
CollectionBindingBehaviorAllowNewAllowRemove

A CollectionBindingBehavior value that defines how the bound control interacts with the data source.

|

Available values:

NameDescription
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

XPBindingSource Class

XPBindingSource Members

DevExpress.Xpo Namespace