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.v24.1.UI.dll
NuGet Package: DevExpress.DataAccess.UI
Declaration
[DefaultValue(true)]
[DXCategory("Appearance")]
public bool SortFilterColumns { get; set; }
Property Value
Type | Default | Description |
---|---|---|
Boolean | true | 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).