The requested page is not available for the requested platform. You are viewing the content for Default platform.

IComplexListEditor Interface

Declares members implemented by a List Editor to support receiving information on the application and Collection Source of the List View that uses the List Editor.

Namespace: DevExpress.ExpressApp.Editors

Assembly: DevExpress.ExpressApp.v19.1.dll


public interface IComplexListEditor
Public Interface IComplexListEditor


In certain scenarios, a List Editor may require access to the application or the Collection Source of the List View that uses the List Editor. To get this information, the List Editor can implement the IComplexListEditor interface. This interface exposes a single IComplexListEditor.Setup method that passes this information to the List Editor.

When implementing a custom List Editor, support this interface if the List Editor requires information on the application and Collection Source to function properly.

Here is an example of how to implement IComplexListEditor in a ListEditor descendant.

using DevExpress.ExpressApp;
using DevExpress.ExpressApp.Editors;
// ...
public class CustomListEditor : ListEditor, IComplexListView {
    private CollectionSourceBase collectionSource;
    private XafApplication application;
    #region IComplexListView Members
    public void Setup(CollectionSourceBase collectionSource, 
XafApplication application) {
        this.collectionSource = collectionSource;
        this.application = application;
    // Example:
    protected override object CreateControlsCore() {
        IList objectsCollection = collectionSource.List;
        // ...
See Also