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

XRDesignFieldList.ShowComplexProperties Property

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

Namespace: DevExpress.XtraReports.UserDesigner

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

Declaration

[DefaultValue(ShowComplexProperties.First)]
public ShowComplexProperties ShowComplexProperties { get; set; }
<DefaultValue(ShowComplexProperties.First)>
Public Property ShowComplexProperties As ShowComplexProperties

Property Value

Type Default Description
ShowComplexProperties

First

A ShowComplexProperties enumeration value.

Remarks

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