Skip to main content
A newer version of this page is available. .

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.v19.1.dll

Declaration

public bool AllowCollectionView { get; set; }

Property Value

Type Description
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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AllowCollectionView property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also