.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

XPBaseCollection.SelectDeleted Property

Gets or sets whether objects that are marked as deleted are retrieved by a collection from a data store.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v21.1.dll


public bool SelectDeleted { get; set; }

Property Value

Type Description

true if objects marked as deleted are loaded to the collection from a data store; otherwise, false.


Changing this property’s value clears the contents of the current collection. The collection will then be reloaded from a data store automatically when an attempt is made to access the collection’s contents.

See Also