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

ReportDesignerFieldListOptionsBehavior.PropertiesSortOrder Property

Specifies the sort order of complex properties in the Field List.

Namespace: DevExpress.Xpf.Reports.UserDesigner

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

Declaration

public ColumnSortOrder PropertiesSortOrder { get; set; }

Property Value

Type Description
ColumnSortOrder

A ColumnSortOrder enumeration value.

Available values:

Name Description
None

No sorting is applied to a column.

Ascending

Sorts the column in ascending order.

Descending

Sorts the columns in descending order.

Remarks

The PropertiesSortOrder setting allows you to define the sort order in which complex properties are shown in the Field List.

You can also use the ReportDesignerFieldListOptionsBehavior.ShowComplexProperties option to specify whether complex properties should be displayed at the top or bottom of the Field List or the default property order should be preserved.

The following code demonstrates how to set these properties.

<Window  
   xmlns:dxrud="http://schemas.devexpress.com/winfx/2008/xaml/reports/userdesigner"
   xmlns:dxmvvm="http://schemas.devexpress.com/winfx/2008/xaml/mvvm"
   ...

   <dxrud:ReportDesigner x:Name="reportDesigner">
       <dxmvvm:Interaction.Behaviors>
           <dxrud:ReportDesignerFieldListOptionsBehavior ShowComplexProperties="Default" PropertiesSortOrder="None" />
       </dxmvvm:Interaction.Behaviors>
   </dxrud:ReportDesigner>
</Window>
See Also