XPBindingSource.BindingBehavior Property
Defines operations the bound control can perform with the data source.
Namespace: DevExpress.Xpo
Assembly: DevExpress.Xpo.v19.2.dll
Declaration
[DefaultValue(CollectionBindingBehavior.AllowNew | CollectionBindingBehavior.AllowRemove)]
public CollectionBindingBehavior BindingBehavior { get; set; }
<DefaultValue(CollectionBindingBehavior.AllowNew Or CollectionBindingBehavior.AllowRemove)>
Public Property BindingBehavior As CollectionBindingBehavior
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