XRDesignFieldList.ShowComplexProperties Property

Specifies the order in which complex properties are shown in the Field List.

Namespace: DevExpress.XtraReports.UserDesigner

Assembly: DevExpress.XtraReports.v18.1.Extensions.dll

Syntax

public ShowComplexProperties ShowComplexProperties { get; set; }

Returns

Type Description
ShowComplexProperties

A ShowComplexProperties enumeration value.

Use the ShowComplexProperties and XRDesignFieldList.SortOrder properties to order nodes in a Field List.

Examples

This code illustrates how you can access the properties of the XRDesignFieldList class to customize the Field List.

using System;
using System.Windows.Forms;
using DevExpress.XtraBars.Docking;
using DevExpress.XtraReports.UserDesigner;
// ...

private void button1_Click(object sender, EventArgs e) {
    // Create an End-User Designer form.
    XRDesignForm designForm = new XRDesignForm();

    // Customize the Field List panel.
    FieldListDockPanel fieldList =
        (FieldListDockPanel)designForm.DesignDockManager[DesignDockPanelType.FieldList];
    fieldList.ShowNodeToolTips = false;
    fieldList.ShowParametersNode = false;

    // Access the properties of the XRDesignFieldList class.
    FieldListDockPanel fieldList = (FieldListDockPanel)designForm.DesignDockManager[DesignDockPanelType.FieldList];
    XRDesignFieldList myFieldList = (XRDesignFieldList)fieldList.DesignControl;
    myFieldList.SortOrder = SortOrder.Descending;
    myFieldList.ShowComplexProperties = DevExpress.XtraReports.Design.ShowComplexProperties.Last;

    // Open a new blank report.
    designForm.OpenReport(new XtraReport1());

    // Show the End-User Designer form.
    designForm.ShowDialog();
}