Skip to main content

XRDesignFieldList.ShowComplexProperties Property

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

Namespace: DevExpress.XtraReports.UserDesigner

Assembly: DevExpress.XtraReports.v24.2.Extensions.dll

NuGet Package: DevExpress.Win.Reporting

Declaration

[DefaultValue(ShowComplexProperties.First)]
public ShowComplexProperties ShowComplexProperties { get; set; }

Property Value

Type Default Description
ShowComplexProperties First

A ShowComplexProperties enumeration value.

Available values:

Name Description
Default

The default order of showing complex properties in the Field List is preserved.

First

The complex properties are shown at the top of the Field List.

Last

The complex properties are shown at the bottom of the Field List.

Remarks

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

Example

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();
}
See Also