Skip to main content
.NET Framework 4.5.2+

XafApplication.DefaultCollectionSourceMode Property

Specifies the default mode of operation for Collection Sources created by the XafApplication.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.1.dll

NuGet Package: DevExpress.ExpressApp

Declaration

[DefaultValue(CollectionSourceMode.Proxy)]
public CollectionSourceMode DefaultCollectionSourceMode { get; set; }

Property Value

Type Default Description
CollectionSourceMode Proxy

A CollectionSourceMode enumeration value specifying the default mode of operation for Collection Sources. By default, the CollectionSourceMode.Proxy value is set.

Remarks

This property is used in the XafApplication.CreateCollectionSource and XafApplication.CreatePropertyCollectionSource methods. Note that it is overridden by the CollectionSourceModeAttribute.Mode parameter value of the CollectionSourceModeAttribute, if this attribute is applied to the collection property for whose List View a Collection Source is currently created.

For detailed information on Collection Sources, refer to the CollectionSourceBase class description.

See Also