Back to Devexpress

ListBoxEdit.AllowCollectionView Property

wpf-devexpress-dot-xpf-dot-editors-dot-listboxedit-a0c667f0.md

latest1.6 KB
Original Source

ListBoxEdit.AllowCollectionView Property

Gets or sets whether to allow process collection views. This is a dependency property.

Namespace : DevExpress.Xpf.Editors

Assembly : DevExpress.Xpf.Core.v25.2.dll

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public bool AllowCollectionView { get; set; }
vb
Public Property AllowCollectionView As Boolean

Property Value

TypeDescription
Boolean

true to allow processing collection views; otherwise, false.

|

Remarks

The ListBoxEdit includes support for ICollectionViews – allowing you to manipulate the current record, and define rules for filtering, sorting and grouping.

If the AllowCollectionView property is set to false and an ICollectionView is used as a data source, the ListBoxEdit transforms the ICollectionView to a plain list, internally. In this instance, rules defined for filtering, grouping and sorting in the ICollectionView are ignored.

See Also

ListBoxEdit Class

ListBoxEdit Members

DevExpress.Xpf.Editors Namespace