CreateCustomPropertyCollectionSourceEventArgs.Mode Property
Specifies the mode of operation for the custom Collection Source.
Namespace: DevExpress.ExpressApp
Assembly: DevExpress.ExpressApp.v24.2.dll
NuGet Package: DevExpress.ExpressApp
#Declaration
public CollectionSourceMode Mode { get; }
#Property Value
Type | Description |
---|---|
Collection |
A Collection |
Available values:
Name | Description |
---|---|
Normal | A collection of objects of the specified type is created by the Collection |
Proxy | Two collections are created for a Collection Source. The first one is an original collection created by the Object Space. The second one is a intermediate proxy collection. The proxy collection represents the original collection’s wrapper, because it implements several interfaces that are required in different built-in features. When filtering is applied to the collection that a Collection Source represents, the criteria are not directly applied to the original collection, instead they are applied to the proxy collection. So, in this mode, if you iterate over the collection represented by the Collection |