Skip to main content
A newer version of this page is available. .

FieldListOptions Class

Provides access to the Field List‘s options.

Namespace: DevExpress.Xpf.Reports.UserDesigner

Assembly: DevExpress.Xpf.ReportDesigner.v22.2.dll

NuGet Package: DevExpress.Wpf.Reporting

Declaration

public class FieldListOptions :
    DockPanelOptionsBase

The following members return FieldListOptions objects:

Remarks

Use the ReportDesigner.FieldListOptions property to access a FieldListOptions class instance.

This class provides the following options:

  • SortOrder - specifies the order to show properties (ascending, descending or without sorting);
  • ShowComplexProperties - specifies the order to show complex properties (at the top, at the bottom or with the default order that comes from a data source);
  • Visibility - specifies the Field List’s visibility state (visible, closed or auto-hidden).

The following code demonstrates how to specify these options:

<Window
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:dxrud="http://schemas.devexpress.com/winfx/2008/xaml/reports/userdesigner" 
        ... >
    <dxrud:ReportDesigner Name="designer"> 
        <dxrud:ReportDesigner.FieldListOptions>
            <dxrud:FieldListOptions SortOrder="Descending" ShowComplexProperties="Default" Visibility="Hidden"/>
        </dxrud:ReportDesigner.FieldListOptions>
    </dxrud:ReportDesigner>
</Window>

See Hide and Customize Dock Panels in the Report Designer for more information.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the FieldListOptions class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also