XafApplication.DefaultCollectionSourceMode Property

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

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v18.1.dll

Syntax

public CollectionSourceMode DefaultCollectionSourceMode { get; set; }

Returns

Type Description
CollectionSourceMode

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

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