Back to Devexpress

FilterEditorControl.SortFilterColumns Property

windowsforms-devexpress-dot-dataaccess-dot-ui-dot-filtereditorcontrol-c2ed563a.md

latest2.1 KB
Original Source

FilterEditorControl.SortFilterColumns Property

Gets or sets whether or not the FilterEditorControl should sort its source control’s columns alphabetically in its menus.

Namespace : DevExpress.DataAccess.UI

Assembly : DevExpress.DataAccess.v25.2.UI.dll

NuGet Package : DevExpress.DataAccess.UI

Declaration

csharp
[DefaultValue(true)]
[DXCategory("Appearance")]
public bool SortFilterColumns { get; set; }
vb
<DXCategory("Appearance")>
<DefaultValue(True)>
Public Property SortFilterColumns As Boolean

Property Value

TypeDefaultDescription
Booleantrue

true if FilterEditorControl menus should display source control columns in an alphabetical order; otherwise, false.

|

Remarks

If the FilterEditorControl.FilterColumns collection is generated automatically from the source control, column order in this collection matches the source control columns’ order. Disable the SortFilterColumns setting to show columns in this exact order when users select columns in FilterEditorControl menus. Otherwise, columns are sorted alphabetically (the default behavior).

See Also

FilterColumns

FilterEditorControl Class

FilterEditorControl Members

DevExpress.DataAccess.UI Namespace