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

XRDesignFieldList.SortOrder Property

Specifies the sorting order of the Field List nodes.

Namespace: DevExpress.XtraReports.UserDesigner

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


public SortOrder SortOrder { get; set; }
Public Property SortOrder As SortOrder

Property Value

Type Default Description


A SortOrder enumeration value.


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


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 =
    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.
See Also